diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2012-06-21 19:27:07 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-18 11:23:52 -0800 |
commit | 7acbe895618837305cf4050731ccd1cd3bc11589 (patch) | |
tree | 7bdbb1b29d5c67d050306e2fcd779641f8c71a5c /glamor/glamor.c | |
parent | 1e4fc85a71cc6498a7e11872026062fceb5bbdf1 (diff) |
glamor_create_pixmap: Allocate glyphs pixmap in memory.
As we have glyphs atlas cache, we don't need to hold each
glyphs on GPU. And for the subsequent optimization, we need
to store the original glyphs pixmap on system memory.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'glamor/glamor.c')
-rw-r--r-- | glamor/glamor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glamor/glamor.c b/glamor/glamor.c index e4917836d..d087b8275 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -142,6 +142,7 @@ glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth, return NullPixmap; if ((usage == GLAMOR_CREATE_PIXMAP_CPU + || usage == CREATE_PIXMAP_USAGE_GLYPH_PICTURE || (w == 0 && h == 0) || !glamor_check_pixmap_fbo_depth(depth)) || (!GLAMOR_TEXTURED_LARGE_PIXMAP && |