egl/x11: implement ANGLE_sync_control_rate
Implement EGL_ANGLE_sync_control_rate for running Chromium Linux on Wayland with EGL backend. Chromium works with this patch using(with videos playing smoothly): /usr/bin/google-chrome-stable --use-gl=egl --enable-features=VaapiVideoDecoder --ignore-gpu-blocklist Closes #2930 Signed-off-by: KJ Liew <liewkj@yahoo.com> Signed-off-by: Térence Clastres <t.clastres@gmail.com> Signed-off-by: Satadru Pramanik <satadru@gmail.com> Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17815>
This commit is contained in:
@@ -2082,6 +2082,7 @@ if with_platform_x11
|
||||
dep_x11 = dependency('x11')
|
||||
dep_xext = dependency('xext')
|
||||
dep_xcb = dependency('xcb')
|
||||
dep_xcb_xrandr = dependency('xcb-randr')
|
||||
elif with_glx == 'dri'
|
||||
dep_x11 = dependency('x11')
|
||||
dep_xext = dependency('xext')
|
||||
|
||||
Reference in New Issue
Block a user