diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-12-29 15:14:49 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-29 15:16:16 -0800 |
commit | 16462d0250073ad8ccb5985438abd2e2d1fafd5f (patch) | |
tree | 4c49582b022bb88329a12aff334c91b5fa23a8db /recipes-graphics | |
parent | 5d963d162ecc7ae377987fe4cc141667fdc8ab88 (diff) | |
download | meta-freescale-16462d0250073ad8ccb5985438abd2e2d1fafd5f.tar.gz |
xserver-xorg: Refresh the patch to match 21.1.9 version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch b/recipes-graphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch index d7166522..960bf3b5 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch +++ b/recipes-graphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch | |||
@@ -16,27 +16,23 @@ Signed-off-by: Xianzhong <xianzhong.li@nxp.com> | |||
16 | glamor/glamor.c | 7 +++++++ | 16 | glamor/glamor.c | 7 +++++++ |
17 | 1 file changed, 7 insertions(+) | 17 | 1 file changed, 7 insertions(+) |
18 | 18 | ||
19 | diff --git a/glamor/glamor.c b/glamor/glamor.c | ||
20 | index 3450113e0..e327b9db8 100644 | ||
21 | --- a/glamor/glamor.c | 19 | --- a/glamor/glamor.c |
22 | +++ b/glamor/glamor.c | 20 | +++ b/glamor/glamor.c |
23 | @@ -574,10 +574,17 @@ glamor_setup_formats(ScreenPtr screen) | 21 | @@ -586,10 +586,17 @@ glamor_setup_formats(ScreenPtr screen) |
24 | 22 | ||
25 | if (glamor_priv->is_gles) { | 23 | if (glamor_priv->is_gles) { |
26 | assert(X_BYTE_ORDER == X_LITTLE_ENDIAN); | 24 | assert(X_BYTE_ORDER == X_LITTLE_ENDIAN); |
27 | +#if GL_EXT_texture_format_BGRA8888 | 25 | +#if GL_EXT_texture_format_BGRA8888 |
28 | + glamor_add_format(screen, 24, PICT_x8r8g8b8, | 26 | + glamor_add_format(screen, 24, PICT_x8r8g8b8, |
29 | + GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE); | 27 | + GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE, TRUE); |
30 | + glamor_add_format(screen, 32, PICT_a8r8g8b8, | 28 | + glamor_add_format(screen, 32, PICT_a8r8g8b8, |
31 | + GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE); | 29 | + GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE, TRUE); |
32 | +#else | 30 | +#else |
33 | glamor_add_format(screen, 24, PICT_x8b8g8r8, | 31 | glamor_add_format(screen, 24, PICT_x8b8g8r8, |
34 | GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE); | 32 | GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, TRUE); |
35 | glamor_add_format(screen, 32, PICT_a8b8g8r8, | 33 | glamor_add_format(screen, 32, PICT_a8b8g8r8, |
36 | GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE); | 34 | GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, TRUE); |
37 | +#endif | 35 | +#endif |
38 | } else { | 36 | } else { |
39 | glamor_add_format(screen, 24, PICT_x8r8g8b8, | 37 | glamor_add_format(screen, 24, PICT_x8r8g8b8, |
40 | GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV); | 38 | GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, TRUE); |
41 | -- | ||
42 | 2.17.1 | ||