Sam Hocevar
|
60b44cc5be
|
Show how we could optimise dirty rectangle handling in a box fill. Disabled
for now because it does not work with fullwidth characters.
|
15 years ago |
Sam Hocevar
|
f5598e7b4f
|
I forgot to initialise dirty_disabled in the canvas constructor.
|
15 years ago |
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 years ago |
Sam Hocevar
|
644ee4a78a
|
Coding style: remove tabs and trailing spaces.
|
15 years ago |
Sam Hocevar
|
4f7081153e
|
Do not add a dirty rectangle at the cursor's position. It's up to the
display driver to clean up its shit. Fixed X11 driver accordingly.
|
15 years ago |
Sam Hocevar
|
69d8bbeb08
|
More complex dirty rectangle merging strategy. It's a lot slower in some
cases, but that can be fixed.
|
15 years ago |
Sam Hocevar
|
33fd017a70
|
Add unit tests for efficient dirty rectangle merging.
|
15 years ago |
Sam Hocevar
|
ed360faabe
|
Add a comment to the ncurses driver to remember fix the GCC warning.
|
15 years ago |
Sam Hocevar
|
33d2bc2092
|
Update the Win32 and Win64 ports.
|
15 years ago |
Pascal Terjan
|
bd1c1cdda6
|
* Inform code reader that current algorithm is wrong
|
15 years ago |
Pascal Terjan
|
9af1ba41a3
|
* Align times on the right!
|
15 years ago |
Sam Hocevar
|
7b18489c6f
|
Use a dummy display to compute benchmark time to avoid relying on <time.h>.
|
15 years ago |
Sam Hocevar
|
b0a88ddd01
|
Do not smooth the render time; the calling application can do it.
|
15 years ago |
Sam Hocevar
|
6b22ab776c
|
Add a null driver that does absolutely nothing.
|
15 years ago |
Sam Hocevar
|
1d60711ac4
|
Mark the whole canvas as dirty when a dirty rectangle aware driver is
attached to it.
|
15 years ago |
Sam Hocevar
|
10719139e6
|
Store dirty rectangles in a structure list. For now there is still only
one dirty rectangle, but this is the first step to improvement.
|
15 years ago |
Sam Hocevar
|
e2f3d648f9
|
Add explanatory comments to the dirty rectangle unit tests.
|
15 years ago |
Pascal Terjan
|
dd153de114
|
* Add some simple bench (part 2, add the interesting file)
|
15 years ago |
Pascal Terjan
|
6be6419849
|
* Add some simple bench
|
15 years ago |
Pascal Terjan
|
4bd79baf96
|
* Add dirty rectangles when moving cursor
|
15 years ago |
Pascal Terjan
|
7fb6d934fa
|
* Report failures in exit code in caca-test
|
15 years ago |
Pascal Terjan
|
aa2162ef57
|
* Also test blitting with mask
|
15 years ago |
Pascal Terjan
|
1f79729288
|
* When blitting, only add dirty rectangles on changed
lines, or on changed chars if we have a mask
|
15 years ago |
Sam Hocevar
|
99a266a83b
|
Fix caca_get_char() documentation, courtesy of Romain Bignon.
|
15 years ago |
Sam Hocevar
|
66eb57001e
|
Add a section at the beginning of the Ruby documentation to prevent doxygen
from generating a huge whatis entry.
|
15 years ago |
Pascal Terjan
|
3e1a1d2679
|
* Add rotated epsilon
|
15 years ago |
Pascal Terjan
|
0d271e9873
|
Add unit test for memory export/import with caca format
|
15 years ago |
Sam Hocevar
|
98366c7fae
|
Add more unit tests for the dirty rectangles.
|
15 years ago |
Sam Hocevar
|
d5d20aeafd
|
Add C++ warnings to the build process.
|
15 years ago |
Sam Hocevar
|
06ca07d381
|
Fix import/export related stuff I forgot to update in the Ruby and PHP bindings.
|
15 years ago |
Pascal Terjan
|
de5be87d0e
|
Don't redraw background for more than the dirty rectangle in x11 driver, we will not redraw foreground there
|
15 years ago |
Sam Hocevar
|
162613b630
|
caca_put_char(): only add a dirty rectangle if the paster character is
different from what was already there.
|
15 years ago |
Pascal Terjan
|
ac9b1074b4
|
Fix limits settings in area export
|
15 years ago |
Sam Hocevar
|
d3ef2bbecd
|
Add caca_export_area_to_memory() to export only a selected part of the
current canvas. This is useful to export dirty rectangles. Accordingly,
add caca_import_area_from_memory() and caca_import_area_from_file().
|
15 years ago |
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 years ago |
Sam Hocevar
|
969e870fe4
|
Fix the old demo examples so that they don't refresh the screen twice
every frame, causing the mouse to flicker.
|
15 years ago |
Sam Hocevar
|
11428406c1
|
Split import.c and export.c to create a new text.c codec file in order
to keep source files under 1,000 lines of code.
|
15 years ago |
Pascal Terjan
|
d1db2df568
|
Revert r3478
|
15 years ago |
Sam Hocevar
|
95811ced2d
|
Manually fix Visual Studio files so that builds do not spew
their crap all over the place. There is still caca-sharp/obj
that it insists on creating (reported as Connect ID 301965).
|
15 years ago |
Sam Hocevar
|
0c7fd89e3a
|
Add dirty rectangle support to the ncurses and VGA drivers.
|
15 years ago |
Sam Hocevar
|
42a5c2bf69
|
Increased the autorepeat delay in the ncurses and SLang drivers. Now that
we have dirty rectangles, fast autorepeat becomes perfectly usable.
|
15 years ago |
Sam Hocevar
|
17b840d8bc
|
Improve dirty rectangle handling in examples/input.c.
|
15 years ago |
Sam Hocevar
|
3338776b44
|
Fix a few DOS compilation warnings.
|
15 years ago |
Sam Hocevar
|
8283ca4323
|
Fix a ruby unit test that made wrong use of Caca::Display.driver_list.
|
15 years ago |
Sam Hocevar
|
9f726c1e83
|
Update the migration documentation to reflect old box drawing API changes.
|
15 years ago |
Sam Hocevar
|
143b3c925b
|
Fix the text input example now that the box drawing functions take a size
as argument.
|
15 years ago |
Sam Hocevar
|
222e165d21
|
Fix dirty rectangle handling in the X11 and SLang drivers.
|
15 years ago |
Pascal Terjan
|
33f2264bcd
|
Import/export dirty rectangles
|
15 years ago |
Sam Hocevar
|
0abc49e208
|
Minor optimisation in configure.ac.
|
15 years ago |
Sam Hocevar
|
22e5b5f4ec
|
cacaplay: rename "eof" to "has_eof" to prevent shadowing a mingw32 variable.
|
15 years ago |