Chromium Code Reviews
DescriptionImplement EGL context priority if supported, use in VrShell
On devices where the EGL context priority extension is supported,
make this available when creating GL contexts, and use it for VrShell's
VR compositing. The extension is documented here:
https://www.khronos.org/registry/EGL/extensions/IMG/EGL_IMG_context_priority.txt
If the extension is not supported, ignore the requested priority.
As a special case, assume the extension is present if other
VR-specific extensions are available. It was erroneously not reported
as present on Daydream devices even though it was implemented, see
https://github.com/googlevr/gvr-android-sdk/issues/330 .
(This functionality was previously implemented in http://crrev.com/2586803003
but was reverted due to synchronization issues with non-virtualized contexts.
In this new version, only VrShell's private native rendering context uses this
option, so WebGL can continue using virtualized contexts as before.)
BUG=725684
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2902863002
Cr-Commit-Position: refs/heads/master@{#474122}
Committed: https://chromium.googlesource.com/chromium/src/+/9f8c6768f7dff7a712449cc3b526ece8d3ad43a9
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||