Description was changed from ========== Restore samplers' state across virtualized GL contexts. Tested with new ...
3 years, 8 months ago
(2017-04-25 22:25:15 UTC)
#1
Description was changed from
==========
Restore samplers' state across virtualized GL contexts.
Tested with new WebGL conformance test being added in
https://github.com/KhronosGroup/WebGL/pull/2383 .
BUG=713127
==========
to
==========
Restore samplers' state across virtualized GL contexts.
Tested with new WebGL conformance test being added in
https://github.com/KhronosGroup/WebGL/pull/2383 .
BUG=713127
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
==========
John: please review. Thanks. Others: FYI. Note: it didn't seem feasible to test this with ...
3 years, 8 months ago
(2017-04-25 22:34:01 UTC)
#3
John: please review. Thanks.
Others: FYI.
Note: it didn't seem feasible to test this with a unit test. The WebGL
conformance test I'm in the process of adding is tiny, and reproduces the bug
100% of the time.
Please feel free to push me to write more/better tests for this. I feel bad ...
3 years, 8 months ago
(2017-04-26 01:02:25 UTC)
#5
Please feel free to push me to write more/better tests for this. I feel bad that
I'm not adding some as part of this, but think that an entirely new unittest
which uses context_state and a mock GL is probably needed.
https://codereview.chromium.org/2837213003/diff/1/gpu/command_buffer/service/...
File gpu/command_buffer/service/context_state.cc (right):
https://codereview.chromium.org/2837213003/diff/1/gpu/command_buffer/service/...
gpu/command_buffer/service/context_state.cc:296: if (cur_id != prev_id) {
On 2017/04/25 22:47:07, jbauman wrote:
> "if (!prev_state || cur_id != prev_id) {"
>
> I think in theory a null prev_state means the previous state is unknown and
> everything has to be restored. That's what RestoreTextureUnitBindings is
doing,
> anyway.
Thank you for catching this. Done in current patch set.
Ken Russell (switch to Gerrit)
The CQ bit was checked by kbr@chromium.org to run a CQ dry run
3 years, 8 months ago
(2017-04-26 01:08:41 UTC)
#6
https://codereview.chromium.org/2837213003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc (right): https://codereview.chromium.org/2837213003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc#newcode142 gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc:142: TEST_P(GLES2DecoderRestoreStateTest, NullPreviousState) { Could you modify these these tests ...
3 years, 8 months ago
(2017-04-26 01:22:45 UTC)
#8
3 years, 8 months ago
(2017-04-26 21:36:35 UTC)
#11
Unit tests added. Please re-review. Thanks.
https://codereview.chromium.org/2837213003/diff/20001/gpu/command_buffer/serv...
File gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc
(right):
https://codereview.chromium.org/2837213003/diff/20001/gpu/command_buffer/serv...
gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc:142:
TEST_P(GLES2DecoderRestoreStateTest, NullPreviousState) {
On 2017/04/26 01:22:45, jbauman wrote:
> Could you modify these these tests to init the decoder with
> CONTEXT_TYPE_OPENGLES3? I think the mock should catch any new calls that are
> made.
Thanks for the suggestion. Rather than do this, I've added three new tests to
this file which explicitly test the restoration of samplers.
Ken Russell (switch to Gerrit)
The CQ bit was checked by kbr@chromium.org to run a CQ dry run
3 years, 8 months ago
(2017-04-26 21:36:54 UTC)
#12
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1493250342518400, "parent_rev": "250b06310437b1bddd49874ffc83048ecb26f74e", "commit_rev": "69c721ec714b0650dec773173ef4be5a25347a49"}
3 years, 8 months ago
(2017-04-26 23:58:54 UTC)
#20
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1493250342518400,
"parent_rev": "250b06310437b1bddd49874ffc83048ecb26f74e", "commit_rev":
"69c721ec714b0650dec773173ef4be5a25347a49"}
commit-bot: I haz the power
Description was changed from ========== Restore samplers' state across virtualized GL contexts. Tested with new ...
3 years, 8 months ago
(2017-04-26 23:59:01 UTC)
#21
Message was sent while issue was closed.
Description was changed from
==========
Restore samplers' state across virtualized GL contexts.
Tested with new WebGL conformance test being added in
https://github.com/KhronosGroup/WebGL/pull/2383 .
BUG=713127
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
==========
to
==========
Restore samplers' state across virtualized GL contexts.
Tested with new WebGL conformance test being added in
https://github.com/KhronosGroup/WebGL/pull/2383 .
BUG=713127
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/2837213003
Cr-Commit-Position: refs/heads/master@{#467520}
Committed:
https://chromium.googlesource.com/chromium/src/+/69c721ec714b0650dec773173ef4...
==========
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/69c721ec714b0650dec773173ef4be5a25347a49
3 years, 8 months ago
(2017-04-26 23:59:01 UTC)
#22
Issue 2837213003: Restore samplers' state across virtualized GL contexts.
(Closed)
Created 3 years, 8 months ago by Ken Russell (switch to Gerrit)
Modified 3 years, 8 months ago
Reviewers: jbauman
Base URL:
Comments: 4