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

Issue 659903002: Add subscribeUniform extension pipeline (Closed)

Created:
6 years, 2 months ago by orglofch
Modified:
6 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, kalyank, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add subscribeUniform extension pipeline BUG=422978 Committed: https://crrev.com/80b40cc8eab5e6bef6221c0bc5c1d006059acd8f Cr-Commit-Position: refs/heads/master@{#303050} Committed: https://crrev.com/cad5a674fe07d08bb8a775da0cb2a555eb796e6e Cr-Commit-Position: refs/heads/master@{#303275}

Patch Set 1 #

Total comments: 16

Patch Set 2 : V2 API #

Total comments: 8

Patch Set 3 : piman@ review + merge uniform_subscription_manager with program_manager #

Total comments: 4

Patch Set 4 : V3 API #

Total comments: 19

Patch Set 5 : piman@ review 2 #

Patch Set 6 : doc update #

Patch Set 7 : fix map overwrite #

Patch Set 8 : fixed unitialized variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2132 lines, -38 lines) Patch
M gpu/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
A gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt View 1 2 3 4 5 1 chunk +113 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 2 chunks +63 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 2 chunks +52 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 2 3 5 chunks +7 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 5 6 7 5 chunks +52 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 3 1 chunk +114 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 3 1 chunk +102 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 1 chunk +281 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 1 chunk +105 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 3 1 chunk +25 lines, -18 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_autogen.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 2 3 3 chunks +25 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_group.h View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_group.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 15 chunks +212 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 2 3 1 chunk +140 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h View 1 2 3 2 chunks +25 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 2 3 4 chunks +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A gpu/command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc View 1 2 3 4 1 chunk +130 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_autogen.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 2 3 4 chunks +12 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/program_manager.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
A gpu/command_buffer/service/valuebuffer_manager.h View 1 2 3 4 1 chunk +123 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/valuebuffer_manager.cc View 1 2 3 4 5 6 1 chunk +117 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/valuebuffer_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +100 lines, -0 lines 0 comments Download
M gpu/command_buffer_service.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/common/gpu/webgraphicscontext3d_impl.h View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M webkit/common/gpu/webgraphicscontext3d_impl.cc View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (22 generated)
orglofch
ptal. Disclaimer: Some of this could potentially change. The change also isn't functional without the ...
6 years, 2 months ago (2014-10-16 02:26:32 UTC) #2
piman
I don't think we should rush into implementation until some of the questions in the ...
6 years, 2 months ago (2014-10-16 02:39:18 UTC) #3
orglofch
I suppose I should have clarified, I was initially looking for more of a high ...
6 years, 2 months ago (2014-10-21 04:19:38 UTC) #11
piman
This is making more sense I think. https://codereview.chromium.org/659903002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/659903002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10694 gpu/command_buffer/service/gles2_cmd_decoder.cc:10694: uniform_subscription_manager()->AddSubscription(target, name); ...
6 years, 2 months ago (2014-10-21 20:00:41 UTC) #12
orglofch
Come to think of it, now that we're doing per program uniforms this logic should ...
6 years, 2 months ago (2014-10-21 23:27:25 UTC) #13
piman
On Tue, Oct 21, 2014 at 4:27 PM, <orglofch@chromium.org> wrote: > Come to think of ...
6 years, 2 months ago (2014-10-21 23:38:16 UTC) #14
orglofch
https://codereview.chromium.org/659903002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/659903002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10694 gpu/command_buffer/service/gles2_cmd_decoder.cc:10694: uniform_subscription_manager()->AddSubscription(target, name); On 2014/10/21 20:00:40, piman (Very slow to ...
6 years, 2 months ago (2014-10-22 23:10:21 UTC) #16
piman
Ok. A couple of questions/comments. Also, can you add some unit tests? E.g. it would ...
6 years, 2 months ago (2014-10-23 02:30:48 UTC) #17
brianderson
https://codereview.chromium.org/659903002/diff/180001/gpu/command_buffer/service/program_manager.cc File gpu/command_buffer/service/program_manager.cc (right): https://codereview.chromium.org/659903002/diff/180001/gpu/command_buffer/service/program_manager.cc#newcode1380 gpu/command_buffer/service/program_manager.cc:1380: void ProgramManager::ActivateUniformSubscriptionState() { It looks like ProgramManager has a ...
6 years, 2 months ago (2014-10-24 00:28:34 UTC) #19
piman
On Thu, Oct 23, 2014 at 5:28 PM, <brianderson@chromium.org> wrote: > > https://codereview.chromium.org/659903002/diff/180001/gpu/ > command_buffer/service/program_manager.cc ...
6 years, 2 months ago (2014-10-24 00:39:59 UTC) #20
brianderson
On 2014/10/24 00:39:59, piman (Very slow to review) wrote: > On Thu, Oct 23, 2014 ...
6 years, 2 months ago (2014-10-24 01:21:18 UTC) #21
piman
On Thu, Oct 23, 2014 at 6:21 PM, <brianderson@chromium.org> wrote: > On 2014/10/24 00:39:59, piman ...
6 years, 2 months ago (2014-10-24 03:05:30 UTC) #22
orglofch
> // Create a buffer > glGenValueBuffers(1, &name); > glBindValueBuffer(GL_SUBSCRIBED_VALUES_BUFFER, name); > > // Subscribe ...
6 years, 1 month ago (2014-10-28 20:27:01 UTC) #23
piman
On Tue, Oct 28, 2014 at 1:27 PM, <orglofch@chromium.org> wrote: > // Create a buffer ...
6 years, 1 month ago (2014-10-28 20:42:40 UTC) #24
orglofch
V3 API, ptal. This patch has logic for loading as well since it isn't super ...
6 years, 1 month ago (2014-11-04 01:30:06 UTC) #32
piman
https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt (right): https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt#newcode43 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt:43: void glCreateValuebufferCHROMIUM() update to current implemenation? glGenValuebuffersCHROMIUM https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt#newcode49 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt:49: ...
6 years, 1 month ago (2014-11-04 02:38:22 UTC) #33
orglofch
https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt (right): https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt#newcode43 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt:43: void glCreateValuebufferCHROMIUM() On 2014/11/04 02:38:22, piman (Very slow to ...
6 years, 1 month ago (2014-11-04 19:53:29 UTC) #35
piman
https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt (right): https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt#newcode43 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt:43: void glCreateValuebufferCHROMIUM() On 2014/11/04 19:53:28, orglofch wrote: > On ...
6 years, 1 month ago (2014-11-04 21:10:07 UTC) #36
orglofch
https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt (right): https://codereview.chromium.org/659903002/diff/340001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt#newcode43 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt:43: void glCreateValuebufferCHROMIUM() On 2014/11/04 21:10:06, piman (Very slow to ...
6 years, 1 month ago (2014-11-04 21:28:33 UTC) #37
piman
lgtm
6 years, 1 month ago (2014-11-04 21:31:24 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659903002/460001
6 years, 1 month ago (2014-11-06 17:45:36 UTC) #42
commit-bot: I haz the power
Committed patchset #7 (id:460001)
6 years, 1 month ago (2014-11-06 18:36:18 UTC) #43
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/80b40cc8eab5e6bef6221c0bc5c1d006059acd8f Cr-Commit-Position: refs/heads/master@{#303050}
6 years, 1 month ago (2014-11-06 18:37:03 UTC) #44
orglofch
A revert of this CL (patchset #7 id:460001) has been created in https://codereview.chromium.org/706903004/ by orglofch@chromium.org. ...
6 years, 1 month ago (2014-11-06 21:56:45 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659903002/480001
6 years, 1 month ago (2014-11-07 18:29:41 UTC) #47
commit-bot: I haz the power
Committed patchset #8 (id:480001)
6 years, 1 month ago (2014-11-07 19:51:35 UTC) #48
commit-bot: I haz the power
6 years, 1 month ago (2014-11-07 19:52:18 UTC) #49
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cad5a674fe07d08bb8a775da0cb2a555eb796e6e
Cr-Commit-Position: refs/heads/master@{#303275}

Powered by Google App Engine
This is Rietveld 408576698