Ignore:
Timestamp:
Jul 26, 2009, 6:20:31 PM (11 years ago)
Author:
Sam Hocevar
Message:

More complex dirty rectangle merging strategy. It's a lot slower in some
cases, but that can be fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca_internals.h

    r3570 r3580  
    2424#if !defined(_DOXYGEN_SKIP_ME)
    2525#   define EVENTBUF_LEN 10
    26 #   define MAX_DIRTY_COUNT 1
     26#   define MAX_DIRTY_COUNT 8
    2727#endif
    2828
     
    6464    struct
    6565    {
    66         int xmin, xmax, ymin, ymax;
     66        int xmin, ymin, xmax, ymax;
    6767    }
    68     dirty[MAX_DIRTY_COUNT];
     68    dirty[MAX_DIRTY_COUNT + 1];
    6969
    7070    /* Shortcut to the active frame information */
Note: See TracChangeset for help on using the changeset viewer.