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

Issue 303543005: Fix a bug in gpu_unittests mock expectations for VAO. (Closed)

Created:
6 years, 7 months ago by Zhenyao Mo
Modified:
6 years, 6 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Visibility:
Public.

Description

Fix a bug in gpu_unittests mock expectations for VAO. I notcied this bug while trying to fix the WebGL VAO related regressions on Linux AMD. Before the generated ID is not set, so by default it's 0, which is wrong, because 0 is reserved to unbind instead of bind. Also, turn on VAO support for majority of tests as the emulated code path is more isolated and its tests are also more isolated. I feel it's better to test with VAO on by default. BUG=373974 TEST=gpu_unittests R=vmiura@chromium.org,kbr@chromium.org,piman@chromium.org,jbauman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273123

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -24 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 10 chunks +73 lines, -23 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Zhenyao Mo
Please review.
6 years, 7 months ago (2014-05-27 18:02:26 UTC) #1
Ken Russell (switch to Gerrit)
6 years, 7 months ago (2014-05-27 18:08:33 UTC) #2
Zhenyao Mo
6 years, 7 months ago (2014-05-27 18:09:19 UTC) #3
bajones
LGTM
6 years, 7 months ago (2014-05-27 18:10:56 UTC) #4
vmiura
https://codereview.chromium.org/303543005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): https://codereview.chromium.org/303543005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode73 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc:73: init.extensions = "GL_OES_vertex_array_object"; Many of the tests override this ...
6 years, 7 months ago (2014-05-27 18:18:07 UTC) #5
Ken Russell (switch to Gerrit)
LGTM - though I'm not an owner in this directory. https://codereview.chromium.org/303543005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): https://codereview.chromium.org/303543005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode74 ...
6 years, 7 months ago (2014-05-27 18:24:31 UTC) #6
Zhenyao Mo
vmiura: please take another look. https://codereview.chromium.org/303543005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): https://codereview.chromium.org/303543005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode73 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc:73: init.extensions = "GL_OES_vertex_array_object"; On ...
6 years, 6 months ago (2014-05-27 21:22:48 UTC) #7
vmiura
On 2014/05/27 21:22:48, Zhenyao Mo wrote: > vmiura: please take another look. > > https://codereview.chromium.org/303543005/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc ...
6 years, 6 months ago (2014-05-27 21:41:38 UTC) #8
Zhenyao Mo
The CQ bit was checked by zmo@chromium.org
6 years, 6 months ago (2014-05-27 21:48:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zmo@chromium.org/303543005/60001
6 years, 6 months ago (2014-05-27 21:49:59 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 01:05:33 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 02:59:06 UTC) #12
Message was sent while issue was closed.
Change committed as 273123

Powered by Google App Engine
This is Rietveld 408576698