DescriptionWebGL: Tidy up buffer allocation logic
This patch should not change any of the allocation format logic, it
just makes it more clear what it's doing. Rather than compute the
formats to use, compute the parameter "should we allocate an
alpha channel".
But, there is one bugfix where, if we fail to allocate a GLImage, we
we were not re-computing the color buffer parameters. Now we do.
BUG=711107
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;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/2820373003
Cr-Commit-Position: refs/heads/master@{#465898}
Committed: https://chromium.googlesource.com/chromium/src/+/2ecea20b01bdccc4f80893e5e14955bad1e9a554
Patch Set 1 #Patch Set 2 : WebGL: tidy buffer allocation logic #
Total comments: 1
Patch Set 3 : ... and fix the build #
Total comments: 5
Patch Set 4 : Incorporate review feedback #Patch Set 5 : No incidental bugfix #
Messages
Total messages: 29 (20 generated)
|