Ignore:
Timestamp:
May 13, 2009, 8:40:48 AM (12 years ago)
Author:
Sam Hocevar
Message:

Set up the architecture for dirty rectangles.

Dirty rectangles are an upcoming optimisation that will tell the output
drivers which portion of the canvas has been really modified since the
last blit.

File:
1 edited

Legend:

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

    r2853 r3443  
    221221 *  @{ */
    222222#define CACA_MAGIC_FULLWIDTH 0x000ffffe /**< Used to indicate that the previous character was a fullwidth glyph. */
     223__extern int caca_get_dirty_rectangle(caca_canvas_t *, int *, int *,
     224                                      int *, int *);
     225__extern int caca_add_dirty_rectangle(caca_canvas_t *, int, int, int, int);
     226__extern int caca_set_dirty_rectangle(caca_canvas_t *, int, int, int, int);
    223227__extern int caca_gotoxy(caca_canvas_t *, int, int);
    224228__extern int caca_get_cursor_x(caca_canvas_t const *);
     
    233237__extern int caca_get_canvas_handle_y(caca_canvas_t const *);
    234238__extern int caca_blit(caca_canvas_t *, int, int, caca_canvas_t const *,
    235                         caca_canvas_t const *);
     239                       caca_canvas_t const *);
    236240__extern int caca_set_canvas_boundaries(caca_canvas_t *, int, int, int, int);
    237241/*  @} */
Note: See TracChangeset for help on using the changeset viewer.