mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-02 21:40:10 +01:00
Call screen's method to create pixmap.
As we may need to fallback to DDX's rendering path during the glyphs, we have to call screen's create pixmap method to create pixmap. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
47e86eea56
commit
2d0ea392ec
1 changed files with 2 additions and 2 deletions
|
|
@ -172,7 +172,7 @@ glamor_realize_glyph_caches(ScreenPtr pScreen)
|
|||
goto bail;
|
||||
|
||||
/* Now allocate the pixmap and picture */
|
||||
pixmap = glamor_create_pixmap(pScreen,
|
||||
pixmap = pScreen->CreatePixmap(pScreen,
|
||||
CACHE_PICTURE_SIZE,
|
||||
CACHE_PICTURE_SIZE, depth,
|
||||
0);
|
||||
|
|
@ -628,7 +628,7 @@ glamor_glyphs_via_mask(CARD8 op,
|
|||
mask_format = a8Format;
|
||||
}
|
||||
|
||||
mask_pixmap = glamor_create_pixmap(screen, width, height,
|
||||
mask_pixmap = screen->CreatePixmap(screen, width, height,
|
||||
mask_format->depth,
|
||||
CREATE_PIXMAP_USAGE_SCRATCH);
|
||||
if (!mask_pixmap)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue