Re-implement rendering to pixmaps (double-buffering) and caching decorations

This commit is contained in:
Michael Stapelberg
2011-03-20 14:07:16 +01:00
parent e835888a9e
commit b25477b15e
6 changed files with 135 additions and 95 deletions

View File

@ -135,15 +135,6 @@ void xcb_get_numlock_mask(xcb_connection_t *conn);
*/
void xcb_raise_window(xcb_connection_t *conn, xcb_window_t window);
/**
*
* Prepares the given Cached_Pixmap for usage (checks whether the size of the
* object this pixmap is related to (e.g. a window) has changed and re-creates
* the pixmap if so).
*
*/
void cached_pixmap_prepare(xcb_connection_t *conn, struct Cached_Pixmap *pixmap);
/**
* Calculate the width of the given text (16-bit characters, UCS) with given
* real length (amount of glyphs) using the given font.