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.
|
vor 16 Jahren |
Sam Hocevar
|
e2f3d648f9
|
Add explanatory comments to the dirty rectangle unit tests.
|
vor 16 Jahren |
Pascal Terjan
|
dd153de114
|
* Add some simple bench (part 2, add the interesting file)
|
vor 16 Jahren |
Pascal Terjan
|
6be6419849
|
* Add some simple bench
|
vor 16 Jahren |
Pascal Terjan
|
4bd79baf96
|
* Add dirty rectangles when moving cursor
|
vor 16 Jahren |
Pascal Terjan
|
7fb6d934fa
|
* Report failures in exit code in caca-test
|
vor 16 Jahren |
Pascal Terjan
|
aa2162ef57
|
* Also test blitting with mask
|
vor 16 Jahren |
Pascal Terjan
|
1f79729288
|
* When blitting, only add dirty rectangles on changed
lines, or on changed chars if we have a mask
|
vor 16 Jahren |
Sam Hocevar
|
99a266a83b
|
Fix caca_get_char() documentation, courtesy of Romain Bignon.
|
vor 16 Jahren |
Sam Hocevar
|
66eb57001e
|
Add a section at the beginning of the Ruby documentation to prevent doxygen
from generating a huge whatis entry.
|
vor 16 Jahren |
Pascal Terjan
|
3e1a1d2679
|
* Add rotated epsilon
|
vor 16 Jahren |
Pascal Terjan
|
0d271e9873
|
Add unit test for memory export/import with caca format
|
vor 16 Jahren |
Sam Hocevar
|
98366c7fae
|
Add more unit tests for the dirty rectangles.
|
vor 16 Jahren |
Sam Hocevar
|
d5d20aeafd
|
Add C++ warnings to the build process.
|
vor 16 Jahren |
Sam Hocevar
|
06ca07d381
|
Fix import/export related stuff I forgot to update in the Ruby and PHP bindings.
|
vor 16 Jahren |
Pascal Terjan
|
de5be87d0e
|
Don't redraw background for more than the dirty rectangle in x11 driver, we will not redraw foreground there
|
vor 16 Jahren |
Sam Hocevar
|
162613b630
|
caca_put_char(): only add a dirty rectangle if the paster character is
different from what was already there.
|
vor 16 Jahren |
Pascal Terjan
|
ac9b1074b4
|
Fix limits settings in area export
|
vor 16 Jahren |
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().
|
vor 16 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 16 Jahren |
Sam Hocevar
|
969e870fe4
|
Fix the old demo examples so that they don't refresh the screen twice
every frame, causing the mouse to flicker.
|
vor 16 Jahren |
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.
|
vor 16 Jahren |
Pascal Terjan
|
d1db2df568
|
Revert r3478
|
vor 16 Jahren |
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).
|
vor 16 Jahren |
Sam Hocevar
|
0c7fd89e3a
|
Add dirty rectangle support to the ncurses and VGA drivers.
|
vor 16 Jahren |
Sam Hocevar
|
42a5c2bf69
|
Increased the autorepeat delay in the ncurses and SLang drivers. Now that
we have dirty rectangles, fast autorepeat becomes perfectly usable.
|
vor 16 Jahren |
Sam Hocevar
|
17b840d8bc
|
Improve dirty rectangle handling in examples/input.c.
|
vor 16 Jahren |
Sam Hocevar
|
3338776b44
|
Fix a few DOS compilation warnings.
|
vor 16 Jahren |
Sam Hocevar
|
8283ca4323
|
Fix a ruby unit test that made wrong use of Caca::Display.driver_list.
|
vor 16 Jahren |
Sam Hocevar
|
9f726c1e83
|
Update the migration documentation to reflect old box drawing API changes.
|
vor 16 Jahren |
Sam Hocevar
|
143b3c925b
|
Fix the text input example now that the box drawing functions take a size
as argument.
|
vor 16 Jahren |
Sam Hocevar
|
222e165d21
|
Fix dirty rectangle handling in the X11 and SLang drivers.
|
vor 16 Jahren |
Pascal Terjan
|
33f2264bcd
|
Import/export dirty rectangles
|
vor 16 Jahren |
Sam Hocevar
|
0abc49e208
|
Minor optimisation in configure.ac.
|
vor 16 Jahren |
Sam Hocevar
|
22e5b5f4ec
|
cacaplay: rename "eof" to "has_eof" to prevent shadowing a mingw32 variable.
|
vor 16 Jahren |
Sam Hocevar
|
1fe8a8702a
|
A lot of documentation updates here and there, including bugfixes dating
back to the libcucul merge.
|
vor 16 Jahren |
Sam Hocevar
|
8d7a41354f
|
Update the Doxygen configuration file to version 1.5.9.
|
vor 16 Jahren |
Sam Hocevar
|
dd48fb62b3
|
Optimise the dirty rectangle handling by keeping track of the number of
currently dirty rectangles.
|
vor 16 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 16 Jahren |
Pascal Terjan
|
ee3018643d
|
Only redraw empty rectangles in slang driver
|
vor 16 Jahren |
Pascal Terjan
|
27fffbb33c
|
Fix empty dirty rectangles detection
|
vor 16 Jahren |
Pascal Terjan
|
44f5d172f0
|
* Only redraw dirty rectangle in x11 driver
|
vor 16 Jahren |
Sam Hocevar
|
70ee273ef7
|
Add a few svn:ignore properties for Visual Studio cruft.
|
vor 16 Jahren |
Sam Hocevar
|
b61b93ddd2
|
Added MSVC project files for most example programs.
|
vor 16 Jahren |
Sam Hocevar
|
1fe07f325e
|
Fixed libcaca and the Visual Studio solution so that it works
on Win64, including the .NET projects.
|
vor 16 Jahren |
Sam Hocevar
|
fc193a4b99
|
Fix a few implicit cast related warnings on VC++.
|
vor 16 Jahren |
Sam Hocevar
|
3b3bf0160d
|
Fix a few dirty rectangle bugs found with the unit tests. Let that be a
lesson to you: unit tests are good.
|
vor 16 Jahren |
Sam Hocevar
|
6065f2246f
|
Start writing unit tests for the dirty rectangle handling.
|
vor 16 Jahren |
Sam Hocevar
|
3a6f4323ec
|
Finish the dirty rectangle architecture. They are now reliable in the sense
that anything outside the dirty rectangle is guaranteed to be unchanged, but
we currently mark far too many cells as dirty. This must be optimised.
|
vor 16 Jahren |
Sam Hocevar
|
a69ddfcd10
|
Factor code from caca_draw_cp437_box() and caca_draw_thinbox_box().
|
vor 16 Jahren |