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

Issue 1949303003: Improve indexed gl state related GL commands. (Closed)

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

Description

Improve indexed gl state related GL commands. 1) draw* calls check for transformfeedback states. 2) add auto-generated parameter validation for unsafe commands (and remove them from handwritten code) 3) Implement indexed UNIFORM_BUFFER bindings tracking and restoring in context switching 4) shadow GetIntegeri_v and GetInteger64i_v 5) Improve validation for FramebufferTextureLayer(). BUG=604436 TEST=gpu_unittests, webgl2_conformance R=piman@chromium.org,kbr@chromium.org 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/48ee6d3fd938f151f1d3f84c8e54738438c86de0 Cr-Commit-Position: refs/heads/master@{#392140}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : #

Patch Set 7 : fix a DCHECK failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+526 lines, -234 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 4 chunks +7 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/context_state.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 19 chunks +135 lines, -127 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 30 chunks +157 lines, -14 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 2 2 chunks +0 lines, -56 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_autogen.h View 1 1 chunk +1 line, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 2 chunks +20 lines, -23 lines 0 comments Download
M gpu/command_buffer/service/indexed_buffer_binding_host.h View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/indexed_buffer_binding_host.cc View 1 2 3 6 chunks +62 lines, -1 line 0 comments Download
M gpu/command_buffer/service/indexed_buffer_binding_host_unittest.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949303003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949303003/20001
4 years, 7 months ago (2016-05-05 01:14:58 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-05 02:42:44 UTC) #5
Zhenyao Mo
piman: PTAL kbr: FYI (and feel free to review)
4 years, 7 months ago (2016-05-05 21:14:07 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949303003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949303003/60001
4 years, 7 months ago (2016-05-05 21:14:22 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949303003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949303003/80001
4 years, 7 months ago (2016-05-05 21:25:37 UTC) #11
piman
lgtm https://codereview.chromium.org/1949303003/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1949303003/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode4813 gpu/command_buffer/service/gles2_cmd_decoder.cc:4813: DCHECK(bindings.get()); nit: DCHECK(bindings)
4 years, 7 months ago (2016-05-05 21:27:40 UTC) #12
Zhenyao Mo
https://codereview.chromium.org/1949303003/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1949303003/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode4813 gpu/command_buffer/service/gles2_cmd_decoder.cc:4813: DCHECK(bindings.get()); On 2016/05/05 21:27:39, piman wrote: > nit: DCHECK(bindings) ...
4 years, 7 months ago (2016-05-05 21:33:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949303003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949303003/100001
4 years, 7 months ago (2016-05-05 21:38:34 UTC) #16
Ken Russell (switch to Gerrit)
Excellent. lgtm too.
4 years, 7 months ago (2016-05-05 21:42:54 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_optional_gpu_tests_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_optional_gpu_tests_rel/builds/422)
4 years, 7 months ago (2016-05-06 00:08:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949303003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949303003/120001
4 years, 7 months ago (2016-05-06 19:27:52 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-06 20:33:38 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 20:35:45 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/48ee6d3fd938f151f1d3f84c8e54738438c86de0
Cr-Commit-Position: refs/heads/master@{#392140}

Powered by Google App Engine
This is Rietveld 408576698