Skip to content
Commit 79d9eaaf authored by Geoff Lang's avatar Geoff Lang Committed by Chromium LUCI CQ
Browse files

Avoid R8 EGLImages on Mali GPUs with Android <= 9

R8 EGLImage siblings cannot be rendered to or have data uploaded
to them on some Mali devices. The validating command decoder works
around this limitation by directly sharing the source texture for
the EGLImage but the passthrough command decoder cannot because full
cross-context and cross-thread usage of the EGLImages is needed for
DrDC.

Instead, fall back to L8 textures for video decoding. The video
pipeline will still be entirely on the GPU but drivers may need to do
internal workarounds and emulation to support luminance textures.

Bug: chromium:1455752
Bug: chromium:1117370
Change-Id: Iec291e790062d686314959cafc5273c52599d98e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4784967


Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Reviewed-by: default avatarKen Buchanan <kenrb@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: default avatarVasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1184844}
parent e78be21c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment