|
|
DescriptionFix initialization of offscreen resources for command buffer.
GL default state must be set before the offscreen resources are created.
BUG=657912
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
Committed: https://crrev.com/a1fc3eb5ba1ec2502b0efc88f0a38c8fe35e6cb1
Cr-Commit-Position: refs/heads/master@{#426949}
Patch Set 1 #Patch Set 2 : Comments from piman. #Messages
Total messages: 18 (11 generated)
Description was changed from ========== Fix initialization of cached state in ContextState. The previous code assumed that glColorMask has already been set to GL_TRUE x 4. This is not necessarily the case. BUG=657912 ========== to ========== Fix initialization of cached state in ContextState. The previous code assumed that glColorMask has already been set to GL_TRUE x 4. This is not necessarily the case. BUG=657912 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 ==========
The CQ bit was checked by erikchen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
erikchen@chromium.org changed reviewers: + piman@chromium.org
piman: Please review.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Can we move state_.InitState(NULL); to before the offscreen framebuffer initialization instead, in GLES2DecoderImpl? That's what sets the color mask to the default value (GL_TRUE x 4).
piman: How does this look?
That works for me, LGTM.
Description was changed from ========== Fix initialization of cached state in ContextState. The previous code assumed that glColorMask has already been set to GL_TRUE x 4. This is not necessarily the case. BUG=657912 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 ========== to ========== Fix initialization of offscreen resources for command buffer. GL default state must be set before the offscreen resources are created. BUG=657912 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 ==========
Description was changed from ========== Fix initialization of offscreen resources for command buffer. GL default state must be set before the offscreen resources are created. BUG=657912 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 ========== to ========== Fix initialization of offscreen resources for command buffer. GL default state must be set before the offscreen resources are created. BUG=657912 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 ==========
The CQ bit was checked by erikchen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Fix initialization of offscreen resources for command buffer. GL default state must be set before the offscreen resources are created. BUG=657912 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 ========== to ========== Fix initialization of offscreen resources for command buffer. GL default state must be set before the offscreen resources are created. BUG=657912 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 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Fix initialization of offscreen resources for command buffer. GL default state must be set before the offscreen resources are created. BUG=657912 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 ========== to ========== Fix initialization of offscreen resources for command buffer. GL default state must be set before the offscreen resources are created. BUG=657912 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 Committed: https://crrev.com/a1fc3eb5ba1ec2502b0efc88f0a38c8fe35e6cb1 Cr-Commit-Position: refs/heads/master@{#426949} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/a1fc3eb5ba1ec2502b0efc88f0a38c8fe35e6cb1 Cr-Commit-Position: refs/heads/master@{#426949} |