-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1635 from Freescale/topic/upgrade-graphics
Upgrade graphics packages
- Loading branch information
Showing
16 changed files
with
95 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p1.0-aarch32.bb
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p1.0-aarch64.bb
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p1.2-aarch32.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require imx-gpu-viv-6.inc | ||
|
||
LIC_FILES_CHKSUM = "file://COPYING;md5=63a38e9f392d8813d6f1f4d0d6fbe657" | ||
|
||
IMX_SRCREV_ABBREV = "1e0c396" | ||
|
||
SRC_URI[md5sum] = "ac711ff819a31602021b7700b41c1ecc" | ||
SRC_URI[sha256sum] = "491ac012d691e27856769296e2334ad1b6f45e31ffe7313fcdb028c75b3b69ae" | ||
|
||
COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)" |
10 changes: 10 additions & 0 deletions
10
recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p1.2-aarch64.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require imx-gpu-viv-6.inc | ||
|
||
LIC_FILES_CHKSUM = "file://COPYING;md5=63a38e9f392d8813d6f1f4d0d6fbe657" | ||
|
||
IMX_SRCREV_ABBREV = "1e0c396" | ||
|
||
SRC_URI[md5sum] = "34b1a4de2fc9fba8b15fc1f204096603" | ||
SRC_URI[sha256sum] = "d5904cbbe33a3c1160e9cd15c44d78df25d0dbd7b251add796673af53d3046f6" | ||
|
||
COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
|
||
if type Xwayland >/dev/null 2>/dev/null; then | ||
mkdir -m 775 -p /tmp/.X11-unix | ||
chown root:video /tmp/.X11-unix | ||
mkdir -m 775 -p /tmp/.X11-unix | ||
chown root:video /tmp/.X11-unix | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...aphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
From c76f5d2c0a0dda534888025d7236465202884665 Mon Sep 17 00:00:00 2001 | ||
From: Xianzhong <[email protected]> | ||
Date: Thu, 5 Aug 2021 16:57:43 +0800 | ||
Subject: [PATCH] glamor: Fix fbo pixmap format with GL_BGRA_EXT | ||
|
||
Red and Blue channels are swizzled in GLES path, | ||
Fix color inverse problem with ximagesink command: | ||
gst-launch-1.0 videotestsrc pattern=6 num-buffers=1 ! video/x-raw,format=BGRx ! videoconvert ! ximagesink display=:0 -v | ||
|
||
This fix requires GL_EXT_texture_format_BGRA8888 extention, not applicable for upstream. | ||
|
||
Upstream-Status: Inappropriate | ||
|
||
Signed-off-by: Xianzhong <[email protected]> | ||
--- | ||
glamor/glamor.c | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
|
||
diff --git a/glamor/glamor.c b/glamor/glamor.c | ||
index 3450113e0..e327b9db8 100644 | ||
--- a/glamor/glamor.c | ||
+++ b/glamor/glamor.c | ||
@@ -574,10 +574,17 @@ glamor_setup_formats(ScreenPtr screen) | ||
|
||
if (glamor_priv->is_gles) { | ||
assert(X_BYTE_ORDER == X_LITTLE_ENDIAN); | ||
+#if GL_EXT_texture_format_BGRA8888 | ||
+ glamor_add_format(screen, 24, PICT_x8r8g8b8, | ||
+ GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE); | ||
+ glamor_add_format(screen, 32, PICT_a8r8g8b8, | ||
+ GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE); | ||
+#else | ||
glamor_add_format(screen, 24, PICT_x8b8g8r8, | ||
GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE); | ||
glamor_add_format(screen, 32, PICT_a8b8g8r8, | ||
GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE); | ||
+#endif | ||
} else { | ||
glamor_add_format(screen, 24, PICT_x8r8g8b8, | ||
GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV); | ||
-- | ||
2.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters