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

Issue 1136713003: Add ES3 commands GetVertexAttribI{u}iv to GPU command buffer. (Closed)

Created:
5 years, 7 months ago by Zhenyao Mo
Modified:
5 years, 7 months ago
Reviewers:
piman
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org, Ken Russell (switch to Gerrit), bajones, no sievers, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ES3 commands GetVertexAttribI{u}iv to GPU command buffer. BUG=429053 TEST=gpu_unittests R=piman@chromium.org Committed: https://crrev.com/5ee097e78c8c254607c02ee7614bba0abe41d956 Cr-Commit-Position: refs/heads/master@{#329892}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 3

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : switch to union #

Total comments: 1

Patch Set 6 : Use overloading functions instead of template #

Total comments: 1

Patch Set 7 : switch back to template #

Patch Set 8 : #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1029 lines, -271 lines) Patch
M gpu/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 7 8 1 chunk +18 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 2 chunks +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 chunk +22 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 3 chunks +64 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/vertex_array_object_manager.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 chunk +110 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 chunk +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 chunk +172 lines, -170 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M gpu/command_buffer/service/context_state.h View 1 2 3 4 5 6 7 1 chunk +49 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 2 3 4 5 6 2 chunks +130 lines, -1 line 0 comments Download
A gpu/command_buffer/service/context_state_unittest.cc View 1 2 3 4 1 chunk +86 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 9 chunks +51 lines, -51 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 chunk +68 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc View 1 2 chunks +26 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h View 2 chunks +36 lines, -33 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 chunk +33 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager.h View 1 4 chunks +17 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Zhenyao Mo
piman: please review. Others: FYI (feel free to review).
5 years, 7 months ago (2015-05-08 22:06:47 UTC) #1
Zhenyao Mo
https://codereview.chromium.org/1136713003/diff/20001/gpu/command_buffer/client/vertex_array_object_manager.cc File gpu/command_buffer/client/vertex_array_object_manager.cc (right): https://codereview.chromium.org/1136713003/diff/20001/gpu/command_buffer/client/vertex_array_object_manager.cc#newcode286 gpu/command_buffer/client/vertex_array_object_manager.cc:286: // TODO(zmo): cache this on the client side. Same ...
5 years, 7 months ago (2015-05-08 22:20:56 UTC) #2
piman
https://codereview.chromium.org/1136713003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1136713003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode7708 gpu/command_buffer/service/gles2_cmd_decoder.cc:7708: DoGetVertexAttribImpl<GLint>(index, pname, params); So, this is not quite right. ...
5 years, 7 months ago (2015-05-11 21:12:50 UTC) #3
Zhenyao Mo
piman: please take another look at patch set 3 (diff with patch set 2 is ...
5 years, 7 months ago (2015-05-12 23:57:45 UTC) #4
piman
lgtm https://codereview.chromium.org/1136713003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1136713003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode177 gpu/command_buffer/service/gles2_cmd_decoder.cc:177: Vec4f(Vec4 data) { nit: explicit https://codereview.chromium.org/1136713003/diff/60001/gpu/command_buffer/service/context_state.h File gpu/command_buffer/service/context_state.h ...
5 years, 7 months ago (2015-05-13 01:47:45 UTC) #5
Zhenyao Mo
piman: I switched to use union as you suggested, so there are some revisions (plus ...
5 years, 7 months ago (2015-05-13 16:52:25 UTC) #6
piman
https://codereview.chromium.org/1136713003/diff/100001/gpu/command_buffer/service/context_state.h File gpu/command_buffer/service/context_state.h (right): https://codereview.chromium.org/1136713003/diff/100001/gpu/command_buffer/service/context_state.h#newcode120 gpu/command_buffer/service/context_state.h:120: void GetValues(GLfloat* values) const; nit: we typically disallow overloading ...
5 years, 7 months ago (2015-05-13 19:33:27 UTC) #7
Zhenyao Mo
piman: revised using template. I think all bots compiled OK. please take another look.
5 years, 7 months ago (2015-05-14 00:22:53 UTC) #8
piman
lgtm
5 years, 7 months ago (2015-05-14 00:52:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1136713003/140001
5 years, 7 months ago (2015-05-14 03:47:04 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/63542)
5 years, 7 months ago (2015-05-14 03:56:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1136713003/140001
5 years, 7 months ago (2015-05-14 07:21:52 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/63567)
5 years, 7 months ago (2015-05-14 07:28:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1136713003/160001
5 years, 7 months ago (2015-05-14 18:06:43 UTC) #20
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-05-14 19:14:18 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 19:14:56 UTC) #22
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/5ee097e78c8c254607c02ee7614bba0abe41d956
Cr-Commit-Position: refs/heads/master@{#329892}

Powered by Google App Engine
This is Rietveld 408576698