Ignore:
Timestamp:
May 14, 2009, 2:18:23 AM (11 years ago)
Author:
Sam Hocevar
Message:

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.

File:
1 edited

Legend:

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

    r3406 r3448  
    5454        attrs++;
    5555    }
     56
     57    caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
    5658
    5759    return 0;
     
    114116    }
    115117
     118    caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     119
    116120    return 0;
    117121}
     
    158162            *ctop = flopchar(*ctop);
    159163    }
     164
     165    caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
    160166
    161167    return 0;
     
    216222    }
    217223
     224    caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     225
    218226    return 0;
    219227}
     
    333341    _caca_load_frame_info(cv);
    334342
     343    caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     344
    335345    return 0;
    336346}
     
    450460    _caca_load_frame_info(cv);
    451461
     462    caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     463
    452464    return 0;
    453465}
     
    541553    _caca_load_frame_info(cv);
    542554
     555    caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     556
    543557    return 0;
    544558}
     
    631645    /* Reset the current frame shortcuts */
    632646    _caca_load_frame_info(cv);
     647
     648    caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
    633649
    634650    return 0;
Note: See TracChangeset for help on using the changeset viewer.