summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0001-Fixed-chromium-flicker-with-g2d-renderer.patch
diff options
context:
space:
mode:
authorChris Dimich <chris.dimich@boundarydevices.com>2023-01-09 10:52:50 -0800
committerChris Dimich <chris.dimich@boundarydevices.com>2023-01-09 10:52:50 -0800
commit23bdb51b7858db363e56f7748f5523d44f78ac98 (patch)
tree1b45857028a39ebbaf3c4fe3875441a5257af772 /dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0001-Fixed-chromium-flicker-with-g2d-renderer.patch
parent10c960f0eaa5fb774a676707c5148e29a6ae09b3 (diff)
downloadmeta-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/0001-Fixed-chromium-flicker-with-g2d-renderer.patch')
-rw-r--r--dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0001-Fixed-chromium-flicker-with-g2d-renderer.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0001-Fixed-chromium-flicker-with-g2d-renderer.patch b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0001-Fixed-chromium-flicker-with-g2d-renderer.patch
new file mode 100644
index 000000000..3aa41ecf9
--- /dev/null
+++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0001-Fixed-chromium-flicker-with-g2d-renderer.patch
@@ -0,0 +1,33 @@
1From 1c7fd64b69feb0ea14047ce1ed68138ccf33687e Mon Sep 17 00:00:00 2001
2From: Wujian sun <wujian.sun_1@nxp.com>
3Date: Mon, 5 Jul 2021 10:28:44 +0800
4Subject: [PATCH] Fixed chromium flicker with g2d-renderer
5
6chromium V89 reland linux_explicit_synchronization_protocol for
7in-fence feature caused the flicker.
8The rootcasue is that weston can not acquire fence fd.
9A workaround no checking supports_acquire_fence supported.
10
11Upstream-Status: Inappropriate [i.MX specific]
12Signed-off-by: Wujian sun <wujian.sun_1@nxp.com>
13---
14 ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc | 3 +--
15 1 file changed, 1 insertion(+), 2 deletions(-)
16
17diff --git a/ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc b/ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc
18index e7d3e7268a08..83c57fd65d72 100644
19--- a/ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc
20+++ b/ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc
21@@ -112,8 +112,7 @@ void GbmSurfacelessWayland::SwapBuffersAsync(
22
23 // If Wayland server supports linux_explicit_synchronization_protocol, fences
24 // should be shipped with buffers. Otherwise, we will wait for fences.
25- if (buffer_manager_->supports_acquire_fence() || !use_egl_fence_sync_ ||
26- !frame->schedule_planes_succeeded) {
27+ if (!use_egl_fence_sync_ || !frame->schedule_planes_succeeded) {
28 frame->ready = true;
29 MaybeSubmitFrames();
30 return;
31--
322.17.1
33