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

Issue 285703005: Return early after errors in glVertexAttribDivisor and glCopyTexImage2D implementations (Closed)

Created:
6 years, 7 months ago by Kimmo Kinnunen
Modified:
6 years, 7 months ago
Reviewers:
zmo, Zhenyao Mo, vmiura, piman
CC:
chromium-reviews, piman+watch_chromium.org, Vangelis Kokkevis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Return early after errors in glVertexAttribDivisor and glCopyTexImage2D implementations Command buffer command decoder is missing few early returns. Add early returns after error handling in glVertexAttribDivisorANGLE if no extension is present and glCopyTexImage2D if texture is immutable. BUG=373159 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272424

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 2 chunks +2 lines, -0 lines 2 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 2 2 chunks +48 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Kimmo Kinnunen
6 years, 7 months ago (2014-05-14 06:33:23 UTC) #1
vmiura
LGTM, thanks for this. Mind adding them to GLES2DecoderImpl::HandleLoseContextCHROMIUM() also? https://chromiumcodereview.appspot.com/285703005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://chromiumcodereview.appspot.com/285703005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9484 ...
6 years, 7 months ago (2014-05-21 04:56:57 UTC) #2
Kimmo Kinnunen
https://chromiumcodereview.appspot.com/285703005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://chromiumcodereview.appspot.com/285703005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9484 gpu/command_buffer/service/gles2_cmd_decoder.cc:9484: "glLoseContextCHROMIUM", current, "current"); On 2014/05/21 04:56:57, vmiura wrote: > ...
6 years, 7 months ago (2014-05-21 07:15:40 UTC) #3
zmo
LGTM Thanks for fixing this.
6 years, 7 months ago (2014-05-21 16:59:37 UTC) #4
piman
https://chromiumcodereview.appspot.com/285703005/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://chromiumcodereview.appspot.com/285703005/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9453 gpu/command_buffer/service/gles2_cmd_decoder.cc:9453: "glLoseContextCHROMIUM", current, "current"); return here too? https://chromiumcodereview.appspot.com/285703005/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9456 gpu/command_buffer/service/gles2_cmd_decoder.cc:9456: LOCAL_SET_GL_ERROR_INVALID_ENUM("glLoseContextCHROMIUM", ...
6 years, 7 months ago (2014-05-21 17:00:34 UTC) #5
zmo
On 2014/05/21 17:00:34, piman wrote: > https://chromiumcodereview.appspot.com/285703005/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://chromiumcodereview.appspot.com/285703005/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9453 > ...
6 years, 7 months ago (2014-05-21 17:01:40 UTC) #6
piman
On 2014/05/21 17:00:34, piman wrote: > https://chromiumcodereview.appspot.com/285703005/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://chromiumcodereview.appspot.com/285703005/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9453 > ...
6 years, 7 months ago (2014-05-21 17:01:56 UTC) #7
Kimmo Kinnunen
The CQ bit was checked by kkinnunen@nvidia.com
6 years, 7 months ago (2014-05-22 05:15:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkinnunen@nvidia.com/285703005/40001
6 years, 7 months ago (2014-05-22 05:18:24 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 14:34:33 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 14:36:36 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/9781)
6 years, 7 months ago (2014-05-22 14:36:37 UTC) #12
Kimmo Kinnunen
The CQ bit was checked by kkinnunen@nvidia.com
6 years, 7 months ago (2014-05-23 05:53:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkinnunen@nvidia.com/285703005/40001
6 years, 7 months ago (2014-05-23 05:54:48 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 07:08:04 UTC) #15
Message was sent while issue was closed.
Change committed as 272424

Powered by Google App Engine
This is Rietveld 408576698