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:
Enrico Weigelt, metux IT consult
2025-08-05 19:44:52 +02:00
committed by Enrico Weigelt
parent 314540a597
commit 7939ec278d
3 changed files with 3 additions and 3 deletions

View File

@@ -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:

View File

@@ -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;

View File

@@ -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;