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 921023002: Add glGetActiveUniformsiv to GPU command buffer. (Closed)

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

Description

Add glGetActiveUniformsiv to GPU command buffer. To improve performance, again we try to fetch all the info once through an internal command glGetUniformsES3CHROMIUM. Basically it gets all the information that can be provided by glGetActiveUniformsiv except for those that can already be queried through glGetActiveUniform, which will be cached on the client side through internal command glGetProgramInfoCHROMIUM. BUG=429053 TEST=gpu_unittests R=piman@chromium.org NOTRY=true Committed: https://crrev.com/c7e7e13f022f30f6b3eefd919881cb57513dca40 Cr-Commit-Position: refs/heads/master@{#316666}

Patch Set 1 : Internal glGetUniformsES3CHROMIUM #

Patch Set 2 : temp #

Patch Set 3 : #

Patch Set 4 : adding tests #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1459 lines, -289 lines) Patch
M gpu/GLES2/gl2chromium_autogen.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 chunks +36 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 4 chunks +22 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 5 4 chunks +107 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 chunks +17 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/program_info_manager.h View 6 chunks +27 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/program_info_manager.cc View 1 2 7 chunks +172 lines, -1 line 0 comments Download
M gpu/command_buffer/client/program_info_manager_unittest.cc View 3 chunks +93 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format.h View 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 2 chunks +100 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 2 chunks +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 1 chunk +197 lines, -195 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_autogen.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 1 chunk +15 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 2 chunks +68 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 2 chunks +2 lines, -73 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h View 1 2 chunks +74 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 1 chunk +12 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc View 1 2 3 2 chunks +189 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_autogen.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 2 chunks +13 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/program_manager.h View 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 1 2 3 4 5 1 chunk +74 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/program_manager_unittest.cc View 1 chunk +96 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Zhenyao Mo
piman: please take a look. Others: FYI (feel free to review).
5 years, 10 months ago (2015-02-17 19:24:24 UTC) #7
piman
https://codereview.chromium.org/921023002/diff/170001/gpu/command_buffer/service/program_manager.cc File gpu/command_buffer/service/program_manager.cc (right): https://codereview.chromium.org/921023002/diff/170001/gpu/command_buffer/service/program_manager.cc#newcode1554 gpu/command_buffer/service/program_manager.cc:1554: if (count == 0) { Don't we need to ...
5 years, 10 months ago (2015-02-17 19:39:35 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/921023002/diff/170001/gpu/command_buffer/service/program_manager.cc File gpu/command_buffer/service/program_manager.cc (right): https://codereview.chromium.org/921023002/diff/170001/gpu/command_buffer/service/program_manager.cc#newcode1554 gpu/command_buffer/service/program_manager.cc:1554: if (count == 0) { On 2015/02/17 19:39:35, piman ...
5 years, 10 months ago (2015-02-17 19:59:42 UTC) #9
piman
OK, LGTM
5 years, 10 months ago (2015-02-17 20:29:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/921023002/210001
5 years, 10 months ago (2015-02-17 20:38:24 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_rel_tests_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_rel_tests_recipe/builds/2500)
5 years, 10 months ago (2015-02-17 21:47:58 UTC) #14
Zhenyao Mo
On 2015/02/17 21:47:58, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-02-17 22:03:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/921023002/210001
5 years, 10 months ago (2015-02-17 22:05:38 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:210001)
5 years, 10 months ago (2015-02-17 22:07:44 UTC) #18
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 22:08:18 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c7e7e13f022f30f6b3eefd919881cb57513dca40
Cr-Commit-Position: refs/heads/master@{#316666}

Powered by Google App Engine
This is Rietveld 408576698