DescriptionThis is an updated version of issue 2586803003 which was reverted.
I have removed the problematic "low priority" GL context setting and
made the change conditional on a new ""WebVR experimental rendering
optimizations" feature flag.
When enabled, it uses the own_offscreen_surface flag with WebGL contexts
when WebVR is enabled, to allow the surface to be swapped out with a
compatible one if used for VR presentation later. This must be done
before any WebVR API calls have been made, so it also needs to work
for non-WebVR WebGL canvas drawing.
The change includes support for canvas attributes such as "antialias".
The feature flag is intended to control features which are considered
experimental or risky, so that they can be manually enabled for initial
testing. It is also in preparation for a finch experiment for future
rollout.
BUG=655733
CQ_INCLUDE_TRYBOTS=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/2698573002
Cr-Commit-Position: refs/heads/master@{#451484}
Committed: https://chromium.googlesource.com/chromium/src/+/89ec62330efc014949d78367b94de89c4a7b5405
Patch Set 1 #
Total comments: 2
Patch Set 2 : Move flag to ENABLE_WEBVR conditional #Patch Set 3 : Expose the flag to WebKit also #
Total comments: 11
Patch Set 4 : Review comments, merge in crrev 2586803003 #
Total comments: 2
Patch Set 5 : Remove histogram for flag (this is no longer being added) #Patch Set 6 : Remove obsolete comment, reformat #
Total comments: 2
Patch Set 7 : Add missing alpha_size setting #
Total comments: 6
Patch Set 8 : remove GPU-level own_offscreen_surface attr, fix ctx restore, cleanups #Patch Set 9 : Remove redundant supportOwnOffscreenSurface ContextAttribute #
Total comments: 2
Patch Set 10 : Revert newline removal #Patch Set 11 : Add missing LoginCustomFlags histogram entry #
Total comments: 2
Patch Set 12 : Change flag status to "experimental" at jochen@'s request #Patch Set 13 : Rebase to ToT #Patch Set 14 : Rebase to ToT #Patch Set 15 : Rebase again. I'm pretty sure it wasn't me breaking iOS. #Patch Set 16 : Rebase and retry again #Messages
Total messages: 90 (46 generated)
|