Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 9835069: Refactor CommandBufferProxy -> CommandBufferProxy (interface) + CommandBufferProxyImpl. (Closed)

Created:
8 years, 9 months ago by Fady Samuel
Modified:
8 years, 9 months ago
Reviewers:
jam, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, rjkroege
Visibility:
Public.

Description

Refactor CommandBufferProxy -> CommandBufferProxy (interface) + CommandBufferProxyImpl. No change in functionality. PpapiCommandBufferProxy will then be updated to use the CommandBufferProxy interface. Ultimately, the goal is to enable the browser plugin to reuse WebGraphicsContext3DCommandBufferImpl, instead of requiring a new WebGraphicsContext3DGuest. BUG=119855 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129358

Patch Set 1 #

Total comments: 10

Patch Set 2 : Updated according to piman's comments #

Total comments: 2

Patch Set 3 : Added missing command_buffer_proxy_impl.h (oops). Cleanup #

Total comments: 4

Patch Set 4 : Updated command_buffer_proxy_impl.h according to jam@ #

Patch Set 5 : Moved GetRouteID() implementation to avoid compile error/warning in linux_clang bot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -700 lines) Patch
M content/common/gpu/client/command_buffer_proxy.h View 1 2 chunks +19 lines, -111 lines 0 comments Download
D content/common/gpu/client/command_buffer_proxy.cc View 1 chunk +0 lines, -478 lines 0 comments Download
A + content/common/gpu/client/command_buffer_proxy_impl.h View 1 2 3 4 5 chunks +32 lines, -52 lines 0 comments Download
A + content/common/gpu/client/command_buffer_proxy_impl.cc View 1 2 3 4 21 chunks +56 lines, -45 lines 0 comments Download
M content/common/gpu/client/content_gl_context.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.cc View 1 2 6 chunks +10 lines, -9 lines 0 comments Download
M content/content_common.gypi View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/renderer_gpu_video_decoder_factories.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_context_3d_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
Fady Samuel
8 years, 9 months ago (2012-03-23 22:38:33 UTC) #1
piman
https://chromiumcodereview.appspot.com/9835069/diff/1/content/common/gpu/client/command_buffer_proxy.h File content/common/gpu/client/command_buffer_proxy.h (right): https://chromiumcodereview.appspot.com/9835069/diff/1/content/common/gpu/client/command_buffer_proxy.h#newcode25 content/common/gpu/client/command_buffer_proxy.h:25: public IPC::Channel::Listener, I think this is only needed on ...
8 years, 9 months ago (2012-03-23 22:52:47 UTC) #2
Fady Samuel
https://chromiumcodereview.appspot.com/9835069/diff/1/content/common/gpu/client/command_buffer_proxy.h File content/common/gpu/client/command_buffer_proxy.h (right): https://chromiumcodereview.appspot.com/9835069/diff/1/content/common/gpu/client/command_buffer_proxy.h#newcode25 content/common/gpu/client/command_buffer_proxy.h:25: public IPC::Channel::Listener, On 2012/03/23 22:52:47, piman wrote: > I ...
8 years, 9 months ago (2012-03-23 23:28:21 UTC) #3
piman
you're missing command_buffer_proxy_impl.h from the CL! https://chromiumcodereview.appspot.com/9835069/diff/5001/content/common/gpu/client/gpu_channel_host.cc File content/common/gpu/client/gpu_channel_host.cc (right): https://chromiumcodereview.appspot.com/9835069/diff/5001/content/common/gpu/client/gpu_channel_host.cc#newcode277 content/common/gpu/client/gpu_channel_host.cc:277: if (proxies_.find(command_buffer->GetRouteID()) != ...
8 years, 9 months ago (2012-03-27 01:10:03 UTC) #4
Fady Samuel
Ooops thanks for catching the missing file! Made the changes you requested. http://codereview.chromium.org/9835069/diff/5001/content/common/gpu/client/gpu_channel_host.cc File content/common/gpu/client/gpu_channel_host.cc ...
8 years, 9 months ago (2012-03-27 01:38:28 UTC) #5
piman
LGTM+nit http://codereview.chromium.org/9835069/diff/8001/content/common/gpu/client/command_buffer_proxy_impl.h File content/common/gpu/client/command_buffer_proxy_impl.h (right): http://codereview.chromium.org/9835069/diff/8001/content/common/gpu/client/command_buffer_proxy_impl.h#newcode40 content/common/gpu/client/command_buffer_proxy_impl.h:40: public base::SupportsWeakPtr<CommandBufferProxyImpl> { nit: BTW, looking at the ...
8 years, 9 months ago (2012-03-27 01:45:29 UTC) #6
Fady Samuel
On 2012/03/27 01:45:29, piman wrote: > LGTM+nit > > http://codereview.chromium.org/9835069/diff/8001/content/common/gpu/client/command_buffer_proxy_impl.h > File content/common/gpu/client/command_buffer_proxy_impl.h (right): > ...
8 years, 9 months ago (2012-03-27 14:48:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9835069/8001
8 years, 9 months ago (2012-03-27 14:48:59 UTC) #8
commit-bot: I haz the power
Presubmit check for 9835069-8001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-27 14:49:04 UTC) #9
Fady Samuel
Adding jam@ as an OWNER of content. Antoine, I made no changes since the last ...
8 years, 9 months ago (2012-03-27 14:51:42 UTC) #10
piman
Ok, LGTM still.
8 years, 9 months ago (2012-03-27 15:46:13 UTC) #11
jam
http://codereview.chromium.org/9835069/diff/8001/content/common/gpu/client/command_buffer_proxy_impl.h File content/common/gpu/client/command_buffer_proxy_impl.h (right): http://codereview.chromium.org/9835069/diff/8001/content/common/gpu/client/command_buffer_proxy_impl.h#newcode52 content/common/gpu/client/command_buffer_proxy_impl.h:52: virtual int GetRouteID() const { return route_id_; } all ...
8 years, 9 months ago (2012-03-27 18:15:16 UTC) #12
Fady Samuel
Hi John, I've reordered command_buffer_proxy_impl.h as you pointed out. Thanks, Fady http://codereview.chromium.org/9835069/diff/8001/content/common/gpu/client/command_buffer_proxy_impl.h File content/common/gpu/client/command_buffer_proxy_impl.h (right): ...
8 years, 9 months ago (2012-03-27 18:31:28 UTC) #13
jam
lgtm
8 years, 9 months ago (2012-03-27 18:55:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9835069/7004
8 years, 9 months ago (2012-03-27 18:56:04 UTC) #15
commit-bot: I haz the power
Try job failure for 9835069-7004 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-27 19:29:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9835069/10004
8 years, 9 months ago (2012-03-27 19:44:00 UTC) #17
commit-bot: I haz the power
Try job failure for 9835069-10004 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 9 months ago (2012-03-27 20:38:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9835069/10004
8 years, 9 months ago (2012-03-28 00:19:37 UTC) #19
commit-bot: I haz the power
Try job failure for 9835069-10004 (previous was lost) on win_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=14848 Step ...
8 years, 9 months ago (2012-03-28 00:41:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9835069/10004
8 years, 9 months ago (2012-03-28 02:21:18 UTC) #21
commit-bot: I haz the power
8 years, 9 months ago (2012-03-28 04:01:57 UTC) #22
Change committed as 129358

Powered by Google App Engine
This is Rietveld 408576698