Ignore:
Timestamp:
May 19, 2009, 2:51:55 AM (11 years ago)
Author:
Sam Hocevar
Message:

Optimise the dirty rectangle handling by keeping track of the number of
currently dirty rectangles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/canvas.c

    r3470 r3471  
    9494    caca_set_color_ansi(cv, CACA_DEFAULT, CACA_TRANSPARENT);
    9595
    96     cv->dirty_xmin = 0;
    97     cv->dirty_xmax = -1;
    98     cv->dirty_ymin = 0;
    99     cv->dirty_ymax = -1;
    100 
     96    cv->ndirty = 0;
    10197    cv->ff = NULL;
    10298
Note: See TracChangeset for help on using the changeset viewer.