Ignore:
Timestamp:
Jul 26, 2009, 9:17:35 PM (11 years ago)
Author:
Sam Hocevar
Message:

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.

File:
1 edited

Legend:

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

    r3494 r3583  
    157157    }
    158158
    159     caca_add_dirty_rect(cv, xmin, y, xmax - xmin + 1, 1);
     159    if(!cv->dirty_disabled)
     160        caca_add_dirty_rect(cv, xmin, y, xmax - xmin + 1, 1);
    160161
    161162    return 0;
Note: See TracChangeset for help on using the changeset viewer.