mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
treewide: replace PICT_b8g8r8a8 by PIXMAN_b8g8r8a8
Try not to use old compat macros anymore, use the real ones instead. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
314540a597
commit
7939ec278d
@@ -51,7 +51,7 @@ exaCompositeFallbackPictDesc(PicturePtr pict, char *string, int n)
|
||||
case PIXMAN_x8r8g8b8:
|
||||
snprintf(format, 20, "XRGB8888");
|
||||
break;
|
||||
case PICT_b8g8r8a8:
|
||||
case PIXMAN_b8g8r8a8:
|
||||
snprintf(format, 20, "BGRA8888");
|
||||
break;
|
||||
case PICT_b8g8r8x8:
|
||||
|
||||
@@ -91,7 +91,7 @@ glamor_get_tex_format_type_from_pictformat(ScreenPtr pScreen,
|
||||
break;
|
||||
|
||||
case PICT_b8g8r8x8:
|
||||
case PICT_b8g8r8a8:
|
||||
case PIXMAN_b8g8r8a8:
|
||||
if (!glamor_priv->is_gles) {
|
||||
*tex_format = GL_BGRA;
|
||||
*tex_type = GL_UNSIGNED_INT_8_8_8_8;
|
||||
|
||||
@@ -184,7 +184,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
|
||||
formats[nformats].format = PIXMAN_x8r8g8b8;
|
||||
formats[nformats].depth = 32;
|
||||
nformats++;
|
||||
formats[nformats].format = PICT_b8g8r8a8;
|
||||
formats[nformats].format = PIXMAN_b8g8r8a8;
|
||||
formats[nformats].depth = 32;
|
||||
nformats++;
|
||||
formats[nformats].format = PICT_b8g8r8x8;
|
||||
|
||||
Reference in New Issue
Block a user