Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Issue 2105153002: Fix initialization ordering in GLES2CmdDecoder. (Closed)

Created:
4 years, 5 months ago by erikchen
Modified:
4 years, 5 months ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix initialization ordering in GLES2CmdDecoder. The ContextGroup must be initialized before feature flag checks will work correctly. BUG=602484 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/477e47082e76afca7c2e656a0714ee24e67fb702 Cr-Commit-Position: refs/heads/master@{#404019}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments from piman. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -29 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 chunks +17 lines, -18 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.h View 1 chunk +0 lines, -2 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 1 2 chunks +1 line, -8 lines 0 comments Download
M gpu/command_buffer/tests/gl_native_gmb_backbuffer_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
erikchen
piman: Please review.
4 years, 5 months ago (2016-06-28 22:34:26 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2105153002/1
4 years, 5 months ago (2016-06-28 22:36:45 UTC) #5
piman
https://codereview.chromium.org/2105153002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2105153002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode2991 gpu/command_buffer/service/gles2_cmd_decoder.cc:2991: group_ = NULL; // Must not destroy ContextGroup if ...
4 years, 5 months ago (2016-06-28 23:07:33 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 02:04:41 UTC) #8
erikchen
piman: PTAL https://codereview.chromium.org/2105153002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2105153002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode2991 gpu/command_buffer/service/gles2_cmd_decoder.cc:2991: group_ = NULL; // Must not destroy ...
4 years, 5 months ago (2016-07-06 21:32:10 UTC) #9
piman
lgtm
4 years, 5 months ago (2016-07-06 21:34:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2105153002/20001
4 years, 5 months ago (2016-07-06 21:37:34 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-07 00:39:23 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-07 00:39:24 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/477e47082e76afca7c2e656a0714ee24e67fb702 Cr-Commit-Position: refs/heads/master@{#404019}
4 years, 5 months ago (2016-07-07 00:42:22 UTC) #16
phoglund_chromium
4 years, 5 months ago (2016-07-07 09:23:30 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2126183002/ by phoglund@chromium.org.

The reason for reverting is: Appears to break GPU webkit tests on Mac and Linux.
This revert is a bit speculative since there are like 4 more gpu-related patches
in the blame list, but the error messages does mention gles2_cmd_decoder.cc, so
picking this patch as the first victim.
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.9/builds...
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20ASAN/b....

Powered by Google App Engine
This is Rietveld 408576698