diff options
author | Chris Dimich <chris.dimich@boundarydevices.com> | 2023-01-09 10:52:50 -0800 |
---|---|---|
committer | Chris Dimich <chris.dimich@boundarydevices.com> | 2023-01-09 10:52:50 -0800 |
commit | 23bdb51b7858db363e56f7748f5523d44f78ac98 (patch) | |
tree | 1b45857028a39ebbaf3c4fe3875441a5257af772 /dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0003-Disable-dri-for-imx-gpu.patch | |
parent | 10c960f0eaa5fb774a676707c5148e29a6ae09b3 (diff) | |
download | meta-freescale-23bdb51b7858db363e56f7748f5523d44f78ac98.tar.gz |
chromium-ozone-wayland: add bbappend and patches as per NXP 5.15.71_2.2.0 rel
Changes include:
- support on i.MX 8 series platform.
- 8MM/8MP/8MQ support h264/hevc/vp8/vp9 hardware decoding.
- 8QM/8QXP support h264/hevc/vp8 hardware decoding.
- support seek, playrate change and resolution change.
- support video acceleration for online media platform such as
Youtube, bilibili.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
Diffstat (limited to 'dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0003-Disable-dri-for-imx-gpu.patch')
-rw-r--r-- | dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0003-Disable-dri-for-imx-gpu.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0003-Disable-dri-for-imx-gpu.patch b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0003-Disable-dri-for-imx-gpu.patch new file mode 100644 index 00000000..73b917fb --- /dev/null +++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0003-Disable-dri-for-imx-gpu.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Index: chromium-96.0.4664.45/content/gpu/BUILD.gn | ||
2 | =================================================================== | ||
3 | --- chromium-96.0.4664.45.orig/content/gpu/BUILD.gn | ||
4 | +++ chromium-96.0.4664.45/content/gpu/BUILD.gn | ||
5 | @@ -7,6 +7,11 @@ import("//build/config/ui.gni") | ||
6 | import("//gpu/vulkan/features.gni") | ||
7 | import("//media/media_options.gni") | ||
8 | |||
9 | +declare_args() { | ||
10 | + # Checks if i.MX GPU is being used | ||
11 | + use_imxgpu = false | ||
12 | +} | ||
13 | + | ||
14 | # See //content/BUILD.gn for how this works. | ||
15 | group("gpu") { | ||
16 | visibility = [ "//content/*" ] # This is an internal content API. | ||
17 | @@ -136,7 +141,7 @@ target(link_target_type, "gpu_sources") | ||
18 | |||
19 | # Use DRI on desktop Linux builds. | ||
20 | if (current_cpu != "s390x" && current_cpu != "ppc64" && is_linux && | ||
21 | - (!is_chromecast || is_cast_desktop_build)) { | ||
22 | + (!is_chromecast || is_cast_desktop_build) && !use_imxgpu) { | ||
23 | configs += [ "//build/config/linux/dri" ] | ||
24 | } | ||
25 | } | ||