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

Issue 780133002: Add optimization for CHROMIUM_subscribe_uniform extension. (Closed)

Created:
6 years ago by orglofch
Modified:
6 years ago
Reviewers:
Tom Sepez, bajones, piman
CC:
brianderson, chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add optimization for CHROMIUM_subscribe_uniform extension. We only pass ValueState updates via IPC if the Gpu Service has signalled that a Valuebuffer is subscribed to the respective target. BUG=422978 Committed: https://crrev.com/9b3c1cb1d97de13944e5dd5d36af4aaca6ceebc3 Cr-Commit-Position: refs/heads/master@{#308389}

Patch Set 1 #

Total comments: 8

Patch Set 2 : tsepez@ review #

Total comments: 6

Patch Set 3 : piman@ review #

Total comments: 4

Patch Set 4 : piman@ review 2 #

Total comments: 4

Patch Set 5 : piman@ review 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -30 lines) Patch
M content/browser/gpu/gpu_process_host_ui_shim.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.cc View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 3 chunks +23 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 3 chunks +37 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 3 chunks +4 lines, -13 lines 0 comments Download
M content/common/gpu/gpu_channel.h View 1 2 5 chunks +10 lines, -1 line 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 2 5 chunks +17 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_group.h View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M gpu/command_buffer/service/context_group.cc View 3 chunks +6 lines, -1 line 0 comments Download
M gpu/command_buffer/service/context_group_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.h View 2 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 3 chunks +12 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/valuebuffer_manager.h View 4 chunks +49 lines, -1 line 0 comments Download
M gpu/command_buffer/service/valuebuffer_manager.cc View 4 chunks +64 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/valuebuffer_manager_unittest.cc View 4 chunks +40 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/gles2_conform_support/egl/display.cc View 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
orglofch
ptal.
6 years ago (2014-12-04 21:54:58 UTC) #2
Tom Sepez
Looks like some stray comments in the description above? Review URL: https://codereview.chromium.org/698053002 Cr-Commit-Position: refs/heads/master@{#302833}
6 years ago (2014-12-04 22:01:58 UTC) #3
Tom Sepez
Messages LGTM. https://codereview.chromium.org/780133002/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/780133002/diff/1/content/browser/gpu/gpu_process_host.cc#newcode367 content/browser/gpu/gpu_process_host.cc:367: BrowserThread::IO, FROM_HERE, nit: indentation. https://codereview.chromium.org/780133002/diff/1/content/browser/gpu/gpu_process_host.h File content/browser/gpu/gpu_process_host.h ...
6 years ago (2014-12-04 22:08:10 UTC) #4
bajones
gpu/command_buffer LGTM, with a couple of questions. https://codereview.chromium.org/780133002/diff/1/gpu/command_buffer/service/context_group_unittest.cc File gpu/command_buffer/service/context_group_unittest.cc (right): https://codereview.chromium.org/780133002/diff/1/gpu/command_buffer/service/context_group_unittest.cc#newcode14 gpu/command_buffer/service/context_group_unittest.cc:14: #include "gpu/command_buffer/service/valuebuffer_manager.h" ...
6 years ago (2014-12-04 23:23:14 UTC) #5
orglofch
https://codereview.chromium.org/780133002/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/780133002/diff/1/content/browser/gpu/gpu_process_host.cc#newcode367 content/browser/gpu/gpu_process_host.cc:367: BrowserThread::IO, FROM_HERE, On 2014/12/04 22:08:10, Tom Sepez wrote: > ...
6 years ago (2014-12-04 23:37:11 UTC) #6
piman
https://codereview.chromium.org/780133002/diff/20001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/780133002/diff/20001/content/browser/renderer_host/render_widget_host_impl.cc#newcode912 content/browser/renderer_host/render_widget_host_impl.cc:912: process_->GetID(), GL_MOUSE_POSITION_CHROMIUM, state); I was hoping we could filter ...
6 years ago (2014-12-05 21:04:36 UTC) #7
orglofch
https://codereview.chromium.org/780133002/diff/20001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/780133002/diff/20001/content/browser/renderer_host/render_widget_host_impl.cc#newcode912 content/browser/renderer_host/render_widget_host_impl.cc:912: process_->GetID(), GL_MOUSE_POSITION_CHROMIUM, state); On 2014/12/05 21:04:36, piman (Very slow ...
6 years ago (2014-12-06 21:49:04 UTC) #8
piman
https://codereview.chromium.org/780133002/diff/40001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/780133002/diff/40001/content/browser/renderer_host/render_widget_host_impl.cc#newcode2356 content/browser/renderer_host/render_widget_host_impl.cc:2356: if (subscription_set_.find(GL_MOUSE_POSITION_CHROMIUM) s/GL_MOUSE_POSITION_CHROMIUM/target/ in this method? https://codereview.chromium.org/780133002/diff/40001/content/browser/renderer_host/render_widget_host_impl.cc#newcode2362 content/browser/renderer_host/render_widget_host_impl.cc:2362: process_->GetID(), ...
6 years ago (2014-12-10 06:57:11 UTC) #9
orglofch
https://codereview.chromium.org/780133002/diff/40001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/780133002/diff/40001/content/browser/renderer_host/render_widget_host_impl.cc#newcode2356 content/browser/renderer_host/render_widget_host_impl.cc:2356: if (subscription_set_.find(GL_MOUSE_POSITION_CHROMIUM) On 2014/12/10 06:57:10, piman (Very slow to ...
6 years ago (2014-12-10 21:54:49 UTC) #12
piman
LGTM because I don't want to hold this up, but see comment https://codereview.chromium.org/780133002/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc ...
6 years ago (2014-12-12 01:47:38 UTC) #13
orglofch
https://codereview.chromium.org/780133002/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/780133002/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc#newcode904 content/browser/renderer_host/render_widget_host_impl.cc:904: process_->SendUpdateValueState(GL_MOUSE_POSITION_CHROMIUM, state); On 2014/12/12 01:47:38, piman (Very slow to ...
6 years ago (2014-12-12 02:17:58 UTC) #14
piman
https://codereview.chromium.org/780133002/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/780133002/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc#newcode904 content/browser/renderer_host/render_widget_host_impl.cc:904: process_->SendUpdateValueState(GL_MOUSE_POSITION_CHROMIUM, state); On 2014/12/12 02:17:58, orglofch wrote: > On ...
6 years ago (2014-12-12 02:41:40 UTC) #15
orglofch
https://codereview.chromium.org/780133002/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/780133002/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc#newcode904 content/browser/renderer_host/render_widget_host_impl.cc:904: process_->SendUpdateValueState(GL_MOUSE_POSITION_CHROMIUM, state); On 2014/12/12 02:41:40, piman (Very slow to ...
6 years ago (2014-12-12 02:58:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/780133002/120001
6 years ago (2014-12-15 17:46:19 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:120001)
6 years ago (2014-12-15 19:27:41 UTC) #19
commit-bot: I haz the power
6 years ago (2014-12-15 19:28:42 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9b3c1cb1d97de13944e5dd5d36af4aaca6ceebc3
Cr-Commit-Position: refs/heads/master@{#308389}

Powered by Google App Engine
This is Rietveld 408576698