diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-24 20:25:27 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-24 20:29:57 +0000 |
commit | c6dc27562abbc8ca9e873ad502ca49ae010461d2 (patch) | |
tree | ebc797d70e40fccf5b790a570acadcd8e5e71454 /uxa/uxa-priv.h | |
parent | 5baa63c634990810a66c3150b4f2b76fcee2df38 (diff) |
uxa: Only recreate the glyph cache on *generational* updates
The screen resources are recreated when the screen is rotated as well,
without being finalized. In this case, we do not need to reconstuct the
cache (or if we did, we would need to tear it down first).
Reported-by: Till Matthiesen <entropy@everymail.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33412
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa/uxa-priv.h')
-rw-r--r-- | uxa/uxa-priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uxa/uxa-priv.h b/uxa/uxa-priv.h index 92536cc0..ac206af2 100644 --- a/uxa/uxa-priv.h +++ b/uxa/uxa-priv.h @@ -139,6 +139,7 @@ typedef struct { unsigned offScreenCounter; uxa_glyph_cache_t glyphCaches[UXA_NUM_GLYPH_CACHE_FORMATS]; + Bool glyph_cache_initialized; PicturePtr solid_clear, solid_black, solid_white; uxa_solid_cache_t solid_cache[UXA_NUM_SOLID_CACHE]; |