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

Issue 634313002: Add mouse input forwarding to gpu service (Closed)

Created:
6 years, 2 months ago by orglofch
Modified:
6 years ago
CC:
brianderson, chromium-reviews, darin-cc_chromium.org, jam, jdduke+watch_chromium.org, mkwst+moarreviews-ipc_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add mouse input forwarding to gpu service Required for the SubscribeUniform WebGL extension. BUG=422978 Committed: https://crrev.com/33edd848118675b2042df9c74e470bbe33c93d83 Cr-Commit-Position: refs/heads/master@{#306555}

Patch Set 1 #

Total comments: 1

Patch Set 2 : GpuProcessHostUIShim -> GpuProcessHost #

Total comments: 2

Patch Set 3 : IPC passes ValueState #

Total comments: 13

Patch Set 4 : kbr@, jdduke@ review #

Total comments: 2

Patch Set 5 : brianderson@ review #

Total comments: 4

Patch Set 6 : piman@ review #

Total comments: 3

Patch Set 7 : piman@ review 2 #

Patch Set 8 : Add Security Test #

Total comments: 4

Patch Set 9 : piman@ review 3 #

Patch Set 10 : Fix memleak in test #

Total comments: 3

Patch Set 11 : jdduke@ review #

Patch Set 12 : rebase origin/master #

Patch Set 13 : fix test race #

Unified diffs Side-by-side diffs Delta from patch set Stats (+568 lines, -94 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +22 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_channel.h View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 2 3 4 5 6 7 8 5 chunks +9 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.h View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -1 line 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
A content/common/gpu/gpu_channel_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +220 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -0 lines 0 comments Download
M content/common/message_router.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
A gpu/command_buffer/common/value_state.h View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -0 lines 0 comments Download
A gpu/command_buffer/common/value_state.cc View 1 2 3 4 5 6 7 8 1 chunk +24 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_group.h View 1 2 3 4 5 6 7 8 5 chunks +9 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/context_group.cc View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/context_group_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_mock.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc View 1 2 3 4 5 6 7 8 6 chunks +5 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gpu_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_switches.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/valuebuffer_manager.h View 1 2 3 4 5 6 7 8 4 chunks +21 lines, -28 lines 0 comments Download
M gpu/command_buffer/service/valuebuffer_manager.cc View 1 2 3 4 5 6 7 8 5 chunks +22 lines, -27 lines 0 comments Download
M gpu/command_buffer/service/valuebuffer_manager_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +33 lines, -20 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/gles2_conform_support/egl/display.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M gpu/ipc/gpu_command_buffer_traits.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/ipc/gpu_command_buffer_traits.cc View 1 2 2 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 106 (69 generated)
orglofch
ptal. @sievers I just fixed a typo in passing https://codereview.chromium.org/634313002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/634313002/diff/1/content/renderer/render_widget.cc#newcode977 content/renderer/render_widget.cc:977: ...
6 years, 2 months ago (2014-10-11 03:20:57 UTC) #5
jdduke (slow)
On 2014/10/11 03:20:57, orglofch wrote: > ptal. > > @sievers I just fixed a typo ...
6 years, 2 months ago (2014-10-11 18:12:58 UTC) #7
orglofch
On 2014/10/11 18:12:58, jdduke wrote: > On 2014/10/11 03:20:57, orglofch wrote: > > ptal. > ...
6 years, 2 months ago (2014-10-13 16:47:22 UTC) #8
jdduke (slow)
On 2014/10/13 16:47:22, orglofch wrote: > On 2014/10/11 18:12:58, jdduke wrote: > > Not lgtm. ...
6 years, 2 months ago (2014-10-13 17:09:14 UTC) #9
jdduke (slow)
https://codereview.chromium.org/634313002/diff/320001/content/browser/renderer_host/input/input_router_impl.cc File content/browser/renderer_host/input/input_router_impl.cc (right): https://codereview.chromium.org/634313002/diff/320001/content/browser/renderer_host/input/input_router_impl.cc#newcode419 content/browser/renderer_host/input/input_router_impl.cc:419: GpuProcessHost::GPU_PROCESS_KIND_UNSANDBOXED, Is the GPU service interested in all event ...
6 years, 2 months ago (2014-10-13 17:14:45 UTC) #10
orglofch
https://codereview.chromium.org/634313002/diff/320001/content/browser/renderer_host/input/input_router_impl.cc File content/browser/renderer_host/input/input_router_impl.cc (right): https://codereview.chromium.org/634313002/diff/320001/content/browser/renderer_host/input/input_router_impl.cc#newcode419 content/browser/renderer_host/input/input_router_impl.cc:419: GpuProcessHost::GPU_PROCESS_KIND_UNSANDBOXED, On 2014/10/13 17:14:45, jdduke wrote: > Is the ...
6 years, 2 months ago (2014-10-13 17:30:26 UTC) #11
orglofch
ptal. The IPC passes ValueState to GPU Service which is passed to the proper contexts ...
6 years, 1 month ago (2014-11-10 00:55:33 UTC) #22
Ken Russell (switch to Gerrit)
This lgtm as a preliminary and experimental step. You'll need OWNERS reviews in some other ...
6 years, 1 month ago (2014-11-17 23:19:32 UTC) #23
jdduke (slow)
https://codereview.chromium.org/634313002/diff/700001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/634313002/diff/700001/content/browser/renderer_host/render_widget_host_impl.cc#newcode859 content/browser/renderer_host/render_widget_host_impl.cc:859: const base::CommandLine& command_line = I'm wondering if we still ...
6 years, 1 month ago (2014-11-18 16:55:30 UTC) #24
orglofch
https://codereview.chromium.org/634313002/diff/700001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/634313002/diff/700001/content/browser/renderer_host/render_widget_host_impl.cc#newcode859 content/browser/renderer_host/render_widget_host_impl.cc:859: const base::CommandLine& command_line = On 2014/11/18 16:55:30, jdduke wrote: ...
6 years, 1 month ago (2014-11-20 02:16:21 UTC) #25
brianderson
https://codereview.chromium.org/634313002/diff/700001/content/common/gpu/gpu_channel_manager.cc File content/common/gpu/gpu_channel_manager.cc (right): https://codereview.chromium.org/634313002/diff/700001/content/common/gpu/gpu_channel_manager.cc#newcode285 content/common/gpu/gpu_channel_manager.cc:285: GpuChannelMap::const_iterator iter = gpu_channels_.find(client_id); On 2014/11/20 02:16:21, orglofch wrote: ...
6 years, 1 month ago (2014-11-20 21:11:26 UTC) #27
orglofch
https://codereview.chromium.org/634313002/diff/720001/gpu/command_buffer/service/gles2_cmd_decoder.h File gpu/command_buffer/service/gles2_cmd_decoder.h (right): https://codereview.chromium.org/634313002/diff/720001/gpu/command_buffer/service/gles2_cmd_decoder.h#newcode32 gpu/command_buffer/service/gles2_cmd_decoder.h:32: union ValueState; On 2014/11/20 21:11:26, brianderson wrote: > Is ...
6 years, 1 month ago (2014-11-20 21:25:04 UTC) #28
brianderson
lgtm, but you'll need owners.
6 years, 1 month ago (2014-11-21 00:16:55 UTC) #29
Ken Russell (switch to Gerrit)
LGTM again; please figure out which OWNERS you'll need and ping them.
6 years, 1 month ago (2014-11-21 02:13:18 UTC) #30
orglofch
+piman
6 years, 1 month ago (2014-11-21 17:57:58 UTC) #32
piman
https://codereview.chromium.org/634313002/diff/740001/content/common/gpu/gpu_channel_manager.cc File content/common/gpu/gpu_channel_manager.cc (right): https://codereview.chromium.org/634313002/diff/740001/content/common/gpu/gpu_channel_manager.cc#newcode287 content/common/gpu/gpu_channel_manager.cc:287: iter->second->HandleUpdateValueState(target, state); Could we move the ValuebufferManager's pending_state_map_ into ...
6 years, 1 month ago (2014-11-21 19:48:51 UTC) #33
bajones
gpu/command_buffer LGTM
6 years, 1 month ago (2014-11-21 19:50:34 UTC) #34
orglofch
https://codereview.chromium.org/634313002/diff/740001/content/common/gpu/gpu_channel_manager.cc File content/common/gpu/gpu_channel_manager.cc (right): https://codereview.chromium.org/634313002/diff/740001/content/common/gpu/gpu_channel_manager.cc#newcode287 content/common/gpu/gpu_channel_manager.cc:287: iter->second->HandleUpdateValueState(target, state); On 2014/11/21 19:48:51, piman (Very slow to ...
6 years, 1 month ago (2014-11-21 22:04:13 UTC) #35
piman
On Fri, Nov 21, 2014 at 2:04 PM, <orglofch@chromium.org> wrote: > > https://codereview.chromium.org/634313002/diff/740001/ > content/common/gpu/gpu_channel_manager.cc ...
6 years, 1 month ago (2014-11-21 23:41:46 UTC) #36
piman
https://codereview.chromium.org/634313002/diff/760001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/634313002/diff/760001/content/browser/renderer_host/render_widget_host_impl.cc#newcode912 content/browser/renderer_host/render_widget_host_impl.cc:912: if (subscribe_uniform_enabled_) { It can be done as a ...
6 years, 1 month ago (2014-11-21 23:46:38 UTC) #37
brianderson
Can you add tests verifying that input forwarded to one channel cannot be seen by ...
6 years, 1 month ago (2014-11-22 01:49:50 UTC) #38
orglofch
I've added a security test gpu_channel_manager_unittest.cc just to make sure the gpu_channels don't share the ...
6 years ago (2014-11-25 20:05:09 UTC) #60
piman
https://codereview.chromium.org/634313002/diff/1220001/content/common/gpu/gpu_channel.h File content/common/gpu/gpu_channel.h (right): https://codereview.chromium.org/634313002/diff/1220001/content/common/gpu/gpu_channel.h#newcode216 content/common/gpu/gpu_channel.h:216: scoped_refptr<gpu::gles2::ValuebufferManager> valuebuffer_manager_; I don't think you can share the ...
6 years ago (2014-11-26 20:47:09 UTC) #63
orglofch
https://codereview.chromium.org/634313002/diff/1220001/content/common/gpu/gpu_channel.h File content/common/gpu/gpu_channel.h (right): https://codereview.chromium.org/634313002/diff/1220001/content/common/gpu/gpu_channel.h#newcode216 content/common/gpu/gpu_channel.h:216: scoped_refptr<gpu::gles2::ValuebufferManager> valuebuffer_manager_; On 2014/11/26 20:47:09, piman (Very slow to ...
6 years ago (2014-12-01 01:54:29 UTC) #82
piman
lgtm
6 years ago (2014-12-01 19:52:05 UTC) #83
Tom Sepez
Messages LGTM.
6 years ago (2014-12-02 17:47:43 UTC) #87
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/634313002/1710001
6 years ago (2014-12-02 20:37:10 UTC) #89
commit-bot: I haz the power
A disapproval has been posted by following reviewers: jdduke@chromium.org. Please make sure to get positive ...
6 years ago (2014-12-02 20:37:25 UTC) #91
jdduke (slow)
https://codereview.chromium.org/634313002/diff/1710001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/634313002/diff/1710001/content/browser/renderer_host/render_widget_host_impl.cc#newcode241 content/browser/renderer_host/render_widget_host_impl.cc:241: subscribe_uniform_enabled_ = This lgtm, and was the only concern ...
6 years ago (2014-12-02 20:56:43 UTC) #92
orglofch
https://codereview.chromium.org/634313002/diff/1710001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/634313002/diff/1710001/content/browser/renderer_host/render_widget_host_impl.cc#newcode919 content/browser/renderer_host/render_widget_host_impl.cc:919: GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED, On 2014/12/02 20:56:42, jdduke wrote: > Nit: This ...
6 years ago (2014-12-02 21:01:53 UTC) #94
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/634313002/1730001
6 years ago (2014-12-02 21:03:10 UTC) #95
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/88832) win_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel/builds/16235) win_chromium_x64_rel ...
6 years ago (2014-12-02 21:09:52 UTC) #97
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/634313002/1740039
6 years ago (2014-12-02 21:15:55 UTC) #99
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/14299)
6 years ago (2014-12-02 22:55:03 UTC) #101
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/634313002/1780001
6 years ago (2014-12-03 04:23:49 UTC) #104
commit-bot: I haz the power
Committed patchset #13 (id:1780001)
6 years ago (2014-12-03 05:32:25 UTC) #105
commit-bot: I haz the power
6 years ago (2014-12-03 05:33:05 UTC) #106
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/33edd848118675b2042df9c74e470bbe33c93d83
Cr-Commit-Position: refs/heads/master@{#306555}

Powered by Google App Engine
This is Rietveld 408576698