Pascal Terjan
52a0decd07
* Fix a segfault in rotate_180 on 0 sized canvas
pirms 15 gadiem
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.
pirms 15 gadiem
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
pirms 15 gadiem
Sam Hocevar
33fd017a70
Add unit tests for efficient dirty rectangle merging.
pirms 15 gadiem
Sam Hocevar
33d2bc2092
Update the Win32 and Win64 ports.
pirms 15 gadiem
Pascal Terjan
9af1ba41a3
* Align times on the right!
pirms 15 gadiem
Sam Hocevar
7b18489c6f
Use a dummy display to compute benchmark time to avoid relying on <time.h>.
pirms 15 gadiem
Sam Hocevar
e2f3d648f9
Add explanatory comments to the dirty rectangle unit tests.
pirms 15 gadiem
Pascal Terjan
dd153de114
* Add some simple bench (part 2, add the interesting file)
pirms 15 gadiem
Pascal Terjan
6be6419849
* Add some simple bench
pirms 15 gadiem
Pascal Terjan
7fb6d934fa
* Report failures in exit code in caca-test
pirms 15 gadiem
Pascal Terjan
aa2162ef57
* Also test blitting with mask
pirms 15 gadiem
Pascal Terjan
1f79729288
* When blitting, only add dirty rectangles on changed
lines, or on changed chars if we have a mask
pirms 15 gadiem
Pascal Terjan
0d271e9873
Add unit test for memory export/import with caca format
pirms 15 gadiem
Sam Hocevar
98366c7fae
Add more unit tests for the dirty rectangles.
pirms 15 gadiem
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.
pirms 15 gadiem
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.
pirms 15 gadiem
Sam Hocevar
6065f2246f
Start writing unit tests for the dirty rectangle handling.
pirms 15 gadiem
Sam Hocevar
4cda200b03
Continuing the libcucul-libcaca merge.
pirms 16 gadiem
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.
pirms 16 gadiem
Sam Hocevar
d202c8242f
* Started libcaca unit tests.
pirms 16 gadiem
Sam Hocevar
86d03eb137
* Use CppUnit for C and C++ unit tests. Sorry, Jylam.
pirms 16 gadiem
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.
pirms 16 gadiem
Sam Hocevar
ca559d93d8
* Created a tests/ directory for regression tests. Run with "make check".
* Added a first, simple test program.
pirms 17 gadiem