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