Pascal Terjan
52a0decd07
* Fix a segfault in rotate_180 on 0 sized canvas
15 anos atrás
Sam Hocevar
5269cad56c
Allow to temporarily disable dirty rectangle handling. This allows for huge
speedups when the calling application knows the dirty rectangle covered by
a complex operation.
15 anos atrás
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
15 anos atrás
Sam Hocevar
33fd017a70
Add unit tests for efficient dirty rectangle merging.
15 anos atrás
Sam Hocevar
33d2bc2092
Update the Win32 and Win64 ports.
15 anos atrás
Pascal Terjan
9af1ba41a3
* Align times on the right!
15 anos atrás
Sam Hocevar
7b18489c6f
Use a dummy display to compute benchmark time to avoid relying on <time.h>.
15 anos atrás
Sam Hocevar
e2f3d648f9
Add explanatory comments to the dirty rectangle unit tests.
15 anos atrás
Pascal Terjan
dd153de114
* Add some simple bench (part 2, add the interesting file)
15 anos atrás
Pascal Terjan
6be6419849
* Add some simple bench
15 anos atrás
Pascal Terjan
7fb6d934fa
* Report failures in exit code in caca-test
15 anos atrás
Pascal Terjan
aa2162ef57
* Also test blitting with mask
15 anos atrás
Pascal Terjan
1f79729288
* When blitting, only add dirty rectangles on changed
lines, or on changed chars if we have a mask
15 anos atrás
Pascal Terjan
0d271e9873
Add unit test for memory export/import with caca format
15 anos atrás
Sam Hocevar
98366c7fae
Add more unit tests for the dirty rectangles.
15 anos atrás
Sam Hocevar
ea99175a2f
Change the dirty rectangle API once again so that calling applications get
a more natural (x,y,w,h) 4-tuple to handle.
15 anos atrás
Sam Hocevar
a6b98c2518
Change the dirty rectangle API so that it can handle several rectangles. The
inner implementation still only handles one dirty rectangle, but this way
we can prepare supporting applictions for the future.
15 anos atrás
Sam Hocevar
6065f2246f
Start writing unit tests for the dirty rectangle handling.
15 anos atrás
Sam Hocevar
4cda200b03
Continuing the libcucul-libcaca merge.
16 anos atrás
Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
16 anos atrás
Sam Hocevar
d202c8242f
* Started libcaca unit tests.
16 anos atrás
Sam Hocevar
86d03eb137
* Use CppUnit for C and C++ unit tests. Sorry, Jylam.
16 anos atrás
Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
16 anos atrás
Sam Hocevar
ca559d93d8
* Created a tests/ directory for regression tests. Run with "make check".
* Added a first, simple test program.
17 anos atrás