create_pixmap: use texture for large glyphs.
As we only cache glyphs smaller than 64x64, we need to use texutre for the large glyphs. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
90dd6ddbab
commit
d5f03ba010
|
@ -142,7 +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
|
||||
|| (usage == CREATE_PIXMAP_USAGE_GLYPH_PICTURE && w <= 64 && h <= 64)
|
||||
|| (w == 0 && h == 0)
|
||||
|| !glamor_check_pixmap_fbo_depth(depth))
|
||||
|| (!GLAMOR_TEXTURED_LARGE_PIXMAP &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user