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

Issue 867123008: Add glGetFragDataLocation to gpu command buffer. (Closed)

Created:
5 years, 11 months ago by Zhenyao Mo
Modified:
5 years, 11 months ago
CC:
bajones, chromium-reviews, Ken Russell (switch to Gerrit), piman+watch_chromium.org, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add glGetFragDataLocation to gpu command buffer. BUG=429053 TEST=gpu_unittests R=sievers@chromium.org Committed: https://crrev.com/5393fb5df017dcf7ef8c8e2129b62c842556f525 Cr-Commit-Position: refs/heads/master@{#313201}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+517 lines, -213 lines) Patch
M gpu/GLES2/gl2chromium_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 2 chunks +11 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 2 chunks +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 chunk +29 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 13 chunks +24 lines, -23 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/program_info_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/program_info_manager.cc View 1 2 9 chunks +60 lines, -3 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 chunk +55 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 chunk +15 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 chunk +182 lines, -181 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 chunks +45 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 2 chunks +1 line, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc View 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Zhenyao Mo
sievers: please review. Otherse: FYI (feel free to review)
5 years, 11 months ago (2015-01-26 23:12:53 UTC) #5
Zhenyao Mo
Most of program info (like active attributes, active uniforms) are fetched from service side altogether. ...
5 years, 11 months ago (2015-01-26 23:17:09 UTC) #6
bajones
https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/client/program_info_manager.cc File gpu/command_buffer/client/program_info_manager.cc (right): https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/client/program_info_manager.cc#newcode241 gpu/command_buffer/client/program_info_manager.cc:241: // TODO(gman): Switch to a faster container. Does this ...
5 years, 11 months ago (2015-01-26 23:38:57 UTC) #8
Ken Russell (switch to Gerrit)
I'm not an OWNER, but LGTM overall. Couple of minor comments. https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h File gpu/command_buffer/client/gles2_implementation_unittest_autogen.h (right): ...
5 years, 11 months ago (2015-01-26 23:39:12 UTC) #10
Zhenyao Mo
https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h File gpu/command_buffer/client/gles2_implementation_unittest_autogen.h (right): https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h#newcode796 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h:796: // TODO: Implement unit test for GetFragDataLocation On 2015/01/26 ...
5 years, 11 months ago (2015-01-26 23:47:30 UTC) #11
no sievers
lgtm https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8146 gpu/command_buffer/service/gles2_cmd_decoder.cc:8146: if (!program) { Should this do LOCAL_SET_GL_ERROR(GL_INVALID_OPERATION, "glFragDataLocation", ...
5 years, 11 months ago (2015-01-27 00:17:20 UTC) #12
Zhenyao Mo
Thanks for the quick review turnaround. https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8146 gpu/command_buffer/service/gles2_cmd_decoder.cc:8146: if (!program) { ...
5 years, 11 months ago (2015-01-27 00:36:46 UTC) #13
Zhenyao Mo
https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/client/program_info_manager.cc File gpu/command_buffer/client/program_info_manager.cc (right): https://codereview.chromium.org/867123008/diff/100001/gpu/command_buffer/client/program_info_manager.cc#newcode242 gpu/command_buffer/client/program_info_manager.cc:242: typedef base::hash_map<GLuint, Program> ProgramInfoMap; On 2015/01/26 23:39:12, Ken Russell ...
5 years, 11 months ago (2015-01-27 00:48:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/867123008/120001
5 years, 11 months ago (2015-01-27 00:51:11 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:120001)
5 years, 11 months ago (2015-01-27 01:51:19 UTC) #17
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 01:53:07 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5393fb5df017dcf7ef8c8e2129b62c842556f525
Cr-Commit-Position: refs/heads/master@{#313201}

Powered by Google App Engine
This is Rietveld 408576698