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

Issue 2399113003: Add gl tests to make sure when a buffer is unmapped, all access path generates an INVALID_OPERATION. (Closed)

Created:
4 years, 2 months ago by Zhenyao Mo
Modified:
4 years, 2 months ago
Reviewers:
vmiura
CC:
chromium-reviews, piman+watch_chromium.org, Ken Russell (switch to Gerrit), Corentin Wallez
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add gl tests to make sure when a buffer is unmapped, all access path generates an INVALID_OPERATION. BUG=429053 TEST=gl_tests R=vmiura@chromium.org CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/7e06f15b71f7194c3761bcd3e1677954e5a9cdc4 Cr-Commit-Position: refs/heads/master@{#424238}

Patch Set 1 #

Patch Set 2 : Add gl tests to make sure when a buffer is unmapped, all access path generates an INVALID_OPERATION. #

Patch Set 3 : format #

Total comments: 6

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+544 lines, -124 lines) Patch
M gpu/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 5 chunks +73 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 2 1 chunk +0 lines, -61 lines 0 comments Download
M gpu/command_buffer/service/program_manager.h View 1 2 2 chunks +10 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/program_manager_unittest.cc View 1 2 4 chunks +22 lines, -27 lines 0 comments Download
M gpu/command_buffer/service/transform_feedback_manager.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/transform_feedback_manager.cc View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
A gpu/command_buffer/tests/gl_map_buffer_range_unittest.cc View 1 2 3 1 chunk +409 lines, -0 lines 0 comments Download
M gpu/command_buffer/tests/gl_program_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_test_utils.h View 2 chunks +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/tests/gl_test_utils.cc View 1 2 2 chunks +17 lines, -7 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (18 generated)
Zhenyao Mo
vmiura: PTAL
4 years, 2 months ago (2016-10-07 21:02:28 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/2399113003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc (left): https://codereview.chromium.org/2399113003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc#oldcode1491 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc:1491: TEST_P(GLES3DecoderTest, TransformFeedbackStates) { Moving this to webgl2 conformance tests ...
4 years, 2 months ago (2016-10-07 21:04:42 UTC) #10
Zhenyao Mo
https://codereview.chromium.org/2399113003/diff/40001/gpu/command_buffer/service/program_manager.cc File gpu/command_buffer/service/program_manager.cc (right): https://codereview.chromium.org/2399113003/diff/40001/gpu/command_buffer/service/program_manager.cc#newcode697 gpu/command_buffer/service/program_manager.cc:697: effective_transform_feedback_varyings_ = transform_feedback_varyings_; This behavior will also be tested ...
4 years, 2 months ago (2016-10-07 21:05:36 UTC) #11
vmiura
LGTM % comments https://codereview.chromium.org/2399113003/diff/40001/gpu/command_buffer/service/program_manager.h File gpu/command_buffer/service/program_manager.h (right): https://codereview.chromium.org/2399113003/diff/40001/gpu/command_buffer/service/program_manager.h#newcode563 gpu/command_buffer/service/program_manager.h:563: GLenum effective_transform_feedback_buffer_mode_; Please initialize effective_transform_feedback_buffer_mode_ to ...
4 years, 2 months ago (2016-10-10 18:20:48 UTC) #14
Zhenyao Mo
https://codereview.chromium.org/2399113003/diff/40001/gpu/command_buffer/service/program_manager.h File gpu/command_buffer/service/program_manager.h (right): https://codereview.chromium.org/2399113003/diff/40001/gpu/command_buffer/service/program_manager.h#newcode563 gpu/command_buffer/service/program_manager.h:563: GLenum effective_transform_feedback_buffer_mode_; On 2016/10/10 18:20:48, vmiura wrote: > Please ...
4 years, 2 months ago (2016-10-10 21:02:07 UTC) #21
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/2399113003/60001
4 years, 2 months ago (2016-10-10 21:02:25 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-10 21:10:09 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/7e06f15b71f7194c3761bcd3e1677954e5a9cdc4 Cr-Commit-Position: refs/heads/master@{#424238}
4 years, 2 months ago (2016-10-10 21:12:50 UTC) #26
dgn
4 years, 2 months ago (2016-10-11 10:03:36 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2410023002/ by dgn@chromium.org.

The reason for reverting is: The new tests have been crashing since they landed.

BUG=654709.

Powered by Google App Engine
This is Rietveld 408576698