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

Issue 23961003: cc: Remove most methods from RendererClient. (Closed)

Created:
7 years, 3 months ago by danakj
Modified:
7 years, 3 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, piman
Visibility:
Public.

Description

cc: Remove most methods from RendererClient. This class is being used to pass data to the Renderer, but it's more clear if we just pass the data directly when we call DrawFrame. There are also some interesting round trips where OutputSurface sets data on the OutputSurfaceClient (LayerTreeHostImpl) which just stores the data. Then the data is accessed through the RendererClient or on the LTHI directly, but in places that could just query it from the OutputSurface directly. This patch unravels one of these loops with HasExternalStencilTest(). The remaining two getters on RendererClient are called in both DrawFrame and in SwapBuffers, so I'm not sure if we want to pass them directly to both functions (redundency is error-prone) or we have some other nice idea to get rid of them. R=enne BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222050

Patch Set 1 #

Patch Set 2 : rendererclient: rebase #

Patch Set 3 : rendererclient: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -343 lines) Patch
M cc/output/delegating_renderer.h View 3 chunks +5 lines, -1 line 0 comments Download
M cc/output/delegating_renderer.cc View 1 4 chunks +14 lines, -15 lines 0 comments Download
M cc/output/direct_renderer.h View 1 3 chunks +7 lines, -2 lines 0 comments Download
M cc/output/direct_renderer.cc View 1 7 chunks +15 lines, -10 lines 0 comments Download
M cc/output/gl_renderer.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 10 chunks +20 lines, -20 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 40 chunks +115 lines, -96 lines 0 comments Download
M cc/output/output_surface.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M cc/output/output_surface.cc View 1 6 chunks +12 lines, -11 lines 0 comments Download
M cc/output/output_surface_client.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/output/renderer.h View 1 4 chunks +8 lines, -15 lines 0 comments Download
M cc/output/software_renderer.h View 2 chunks +5 lines, -4 lines 0 comments Download
M cc/output/software_renderer.cc View 1 4 chunks +13 lines, -12 lines 0 comments Download
M cc/output/software_renderer_unittest.cc View 1 11 chunks +19 lines, -33 lines 0 comments Download
M cc/test/fake_output_surface.h View 2 chunks +7 lines, -0 lines 0 comments Download
M cc/test/fake_output_surface.cc View 4 chunks +9 lines, -1 line 0 comments Download
M cc/test/fake_output_surface_client.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/pixel_test.h View 1 4 chunks +15 lines, -12 lines 0 comments Download
M cc/test/pixel_test.cc View 1 7 chunks +17 lines, -31 lines 0 comments Download
M cc/test/pixel_test_output_surface.h View 1 2 chunks +7 lines, -4 lines 0 comments Download
M cc/test/pixel_test_output_surface.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 9 chunks +21 lines, -39 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 4 chunks +13 lines, -26 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
danakj
7 years, 3 months ago (2013-09-07 00:23:41 UTC) #1
enne (OOO)
lgtm
7 years, 3 months ago (2013-09-07 00:37:42 UTC) #2
aelias_OOO_until_Jul13
When you rebase you'll pick up r221321, and that patch removes all non-Renderer callers of ...
7 years, 3 months ago (2013-09-07 00:39:00 UTC) #3
danakj
On Fri, Sep 6, 2013 at 8:39 PM, <aelias@chromium.org> wrote: > When you rebase you'll ...
7 years, 3 months ago (2013-09-07 00:42:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/23961003/6001
7 years, 3 months ago (2013-09-07 00:43:41 UTC) #5
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
7 years, 3 months ago (2013-09-07 00:43:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/23961003/10001
7 years, 3 months ago (2013-09-07 00:45:48 UTC) #7
danakj
On 2013/09/07 00:39:00, aelias wrote: > When you rebase you'll pick up r221321, and that ...
7 years, 3 months ago (2013-09-07 00:46:27 UTC) #8
slavi
On 2013/09/07 00:46:27, danakj wrote: > On 2013/09/07 00:39:00, aelias wrote: > > When you ...
7 years, 3 months ago (2013-09-07 00:51:08 UTC) #9
aelias_OOO_until_Jul13
On 2013/09/07 00:46:27, danakj wrote: > On 2013/09/07 00:39:00, aelias wrote: > > When you ...
7 years, 3 months ago (2013-09-07 00:52:07 UTC) #10
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=76524
7 years, 3 months ago (2013-09-07 07:16:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/23961003/10001
7 years, 3 months ago (2013-09-07 14:42:50 UTC) #12
commit-bot: I haz the power
Failed to apply patch for cc/output/gl_renderer.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-07 14:42:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/23961003/38001
7 years, 3 months ago (2013-09-09 14:39:35 UTC) #14
commit-bot: I haz the power
7 years, 3 months ago (2013-09-09 17:24:34 UTC) #15
Message was sent while issue was closed.
Change committed as 222050

Powered by Google App Engine
This is Rietveld 408576698