Chromium Code Reviews
DescriptionImplement our own GLThread for VR Shell.
aka most satisfying refactor of the week.
This CL gets rid of our glSurfaceView managed GL thread, and replaces it with a thread we control and can post tasks to.
It also refactors all of our code that runs on the GL thread into its own class, making our existing thread safety violations painfully obvious.
This breaks the unshipped menu mode - to be fixed in a followup CL, and disables some webVR buffer size manipulation, which might possibly regress some webVR experiences. This will also be fixed in a followup CL.
BUG=671302
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
# Skipping presubmit due to ScopedAllowIO use.
NOPRESUBMIT=true
Committed: https://crrev.com/0be372f1b41a7e7ad897743abd6b265da979a82e
Cr-Commit-Position: refs/heads/master@{#438256}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Style pass #
Total comments: 8
Patch Set 3 : Rebase + Fix thread teardown + Address comments #
Total comments: 2
Patch Set 4 : Address comment #
Total comments: 8
Patch Set 5 : Address bshe's comments #
Total comments: 6
Patch Set 6 : Update comment #Patch Set 7 : Minor cleanup #
Total comments: 12
Patch Set 8 : Address comments #
Total comments: 2
Patch Set 9 : Address comments #Patch Set 10 : rebase #Patch Set 11 : sigh #Messages
Total messages: 44 (17 generated)
|