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

Issue 2009073002: command_buffer: Guard on extension and profiles in the decoder (Closed)

Created:
4 years, 7 months ago by cwallez
Modified:
4 years, 7 months ago
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

command_buffer: Guard on extension and profiles in the decoder Previously the command buffer generator would only extension and profile guards for the context state implementation. This caused HandleHint to incorrectly call glHint with GL_GENERATE_MIPMAP_HINT on a core profile, resulting in an OpenGL error. BUG=614504 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/dc1c9eb2fa2588cbe5003251683f09f0c50226f4 Cr-Commit-Position: refs/heads/master@{#396093}

Patch Set 1 #

Patch Set 2 : Unittest + core profile mock expectations #

Total comments: 1

Patch Set 3 : Check for GL errors in the unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -80 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 5 chunks +62 lines, -58 lines 0 comments Download
M gpu/command_buffer/service/context_state_impl_autogen.h View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 chunk +6 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h View 1 2 chunks +9 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 chunks +34 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/test_helper.cc View 1 4 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
Corentin Wallez
PTAL, this fixes deqp/functional/gles3/integerstatequery.html on OSX.
4 years, 7 months ago (2016-05-24 21:34:35 UTC) #3
Ken Russell (switch to Gerrit)
Thanks for tracking down and fixing this. It looks good overall but I'm not an ...
4 years, 7 months ago (2016-05-24 21:52:25 UTC) #4
Zhenyao Mo
Thanks for tracking this down. The code looks good. Can you address kbr's comment about ...
4 years, 7 months ago (2016-05-24 22:02:32 UTC) #5
Zhenyao Mo
lgtm if all unit tests are passing
4 years, 7 months ago (2016-05-25 20:40:03 UTC) #6
Ken Russell (switch to Gerrit)
Note: cwallez@ and I talked offline about this and it seems very hard to add ...
4 years, 7 months ago (2016-05-25 20:43:56 UTC) #7
Corentin Wallez
On 2016/05/25 at 20:43:56, kbr wrote: > Note: cwallez@ and I talked offline about this ...
4 years, 7 months ago (2016-05-25 21:05:28 UTC) #8
Ken Russell (switch to Gerrit)
Great. Thanks for adding the test. LGTM again.
4 years, 7 months ago (2016-05-25 21:07:46 UTC) #9
Zhenyao Mo
lgtm with one suggestion (if bots are green) https://codereview.chromium.org/2009073002/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/2009073002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc#newcode463 gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc:463: EXPECT_EQ(error::kNoError, ...
4 years, 7 months ago (2016-05-25 21:42:38 UTC) #10
Corentin Wallez
On 2016/05/25 at 21:42:38, zmo wrote: > lgtm with one suggestion (if bots are green) ...
4 years, 7 months ago (2016-05-25 22:06:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009073002/40001
4 years, 7 months ago (2016-05-25 22:06:36 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_optional_gpu_tests_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_optional_gpu_tests_rel/builds/1335)
4 years, 7 months ago (2016-05-26 00:56:43 UTC) #16
Ken Russell (switch to Gerrit)
On 2016/05/26 00:56:43, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-26 01:32:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2009073002/40001
4 years, 7 months ago (2016-05-26 01:33:16 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-26 03:12:09 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 03:13:52 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dc1c9eb2fa2588cbe5003251683f09f0c50226f4
Cr-Commit-Position: refs/heads/master@{#396093}

Powered by Google App Engine
This is Rietveld 408576698