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

Issue 12041062: Have a common implementation of cc::OutputSurface (Closed)

Created:
7 years, 11 months ago by slavi
Modified:
7 years, 10 months ago
CC:
chromium-reviews, jonathan.backer, Ian Vollick, jam, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org
Visibility:
Public.

Description

Have a common implementation of cc::OutputSurface instead of multiple duplicated ones. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182345

Patch Set 1 #

Patch Set 2 : Added missing #include. #

Patch Set 3 : Removed OutputSurfaceImpl. #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Patch Set 6 : Make clang happy. #

Patch Set 7 : Addressing Dana's comments. #

Patch Set 8 : Make android happy. #

Patch Set 9 : More of Dana's comments. #

Patch Set 10 : Rebased #

Patch Set 11 : Rebase #

Patch Set 12 : Rebased #

Patch Set 13 : #

Patch Set 14 : Resolved merge conflicts #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : Merging conflicts (again) #

Patch Set 18 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -470 lines) Patch
M cc/DEPS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -2 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M cc/gl_renderer_pixeltest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -2 lines 0 comments Download
M cc/gl_renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +6 lines, -6 lines 0 comments Download
M cc/io_surface_layer_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -4 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +6 lines, -6 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +4 lines, -4 lines 0 comments Download
M cc/output_surface.h View 1 2 3 4 5 6 7 8 9 3 chunks +33 lines, -15 lines 0 comments Download
A cc/output_surface.cc View 1 2 3 4 5 6 7 8 1 chunk +47 lines, -0 lines 0 comments Download
M cc/resource_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 25 chunks +28 lines, -28 lines 0 comments Download
M cc/resource_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +5 lines, -5 lines 0 comments Download
M cc/software_renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/test/DEPS View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/fake_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +15 lines, -24 lines 0 comments Download
M cc/test/fake_output_surface.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -23 lines 0 comments Download
D cc/test/pixel_test_output_surface.h View 1 2 1 chunk +0 lines, -37 lines 0 comments Download
D cc/test/pixel_test_output_surface.cc View 1 2 1 chunk +0 lines, -39 lines 0 comments Download
M cc/thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +4 lines, -43 lines 0 comments Download
M content/browser/renderer_host/image_transport_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -31 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -8 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +7 lines, -26 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +8 lines, -48 lines 0 comments Download
M webkit/compositor_bindings/compositor_bindings.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -5 lines 0 comments Download
D webkit/compositor_bindings/web_compositor_support_output_surface.h View 1 chunk +0 lines, -54 lines 0 comments Download
D webkit/compositor_bindings/web_compositor_support_output_surface.cc View 1 chunk +0 lines, -49 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
slavi
This is some clean up work. It's a spin off patch of https://codereview.chromium.org/11967033/ to make ...
7 years, 11 months ago (2013-01-24 00:30:49 UTC) #1
danakj
Why OutputSurfaceImpl? Why not just put that into OutputSurface? Usually you don't inherit from an ...
7 years, 11 months ago (2013-01-24 00:42:37 UTC) #2
jamesr
The reason for having any virtual stuff associated with WebCompositorOutputSurface at all is so we ...
7 years, 11 months ago (2013-01-24 00:48:50 UTC) #3
slavi
On 2013/01/24 00:42:37, danakj wrote: > Why OutputSurfaceImpl? Why not just put that into OutputSurface? ...
7 years, 11 months ago (2013-01-24 00:49:40 UTC) #4
jamesr
What duplicate code is this removing? It seems to mostly just move things
7 years, 11 months ago (2013-01-24 00:49:45 UTC) #5
nduca
Should cleanups wait until 25 is done?
7 years, 11 months ago (2013-01-24 00:58:01 UTC) #6
slavi
Removed OutputSurfaceImpl. PTAL
7 years, 11 months ago (2013-01-24 01:54:22 UTC) #7
danakj
https://codereview.chromium.org/12041062/diff/17002/cc/gl_renderer_pixeltest.cc File cc/gl_renderer_pixeltest.cc (right): https://codereview.chromium.org/12041062/diff/17002/cc/gl_renderer_pixeltest.cc#newcode61 cc/gl_renderer_pixeltest.cc:61: CHECK(context3d.get() == NULL); You don't need this unless you're ...
7 years, 11 months ago (2013-01-24 02:03:06 UTC) #8
nduca
Please see vangelis' email to chrome-gpu and exercise discretion where possible
7 years, 11 months ago (2013-01-24 02:21:47 UTC) #9
slavi
On 2013/01/24 02:21:47, nduca wrote: > Please see vangelis' email to chrome-gpu and exercise discretion ...
7 years, 11 months ago (2013-01-24 02:41:54 UTC) #10
slavi
On 2013/01/24 02:03:06, danakj wrote: > https://codereview.chromium.org/12041062/diff/17002/cc/gl_renderer_pixeltest.cc > File cc/gl_renderer_pixeltest.cc (right): > > https://codereview.chromium.org/12041062/diff/17002/cc/gl_renderer_pixeltest.cc#newcode61 > ...
7 years, 11 months ago (2013-01-24 02:48:08 UTC) #11
slavi
On 2013/01/24 02:48:08, slavi wrote: > On 2013/01/24 02:03:06, danakj wrote: > > > https://codereview.chromium.org/12041062/diff/17002/cc/gl_renderer_pixeltest.cc ...
7 years, 11 months ago (2013-01-24 02:56:59 UTC) #12
slavi
Nat, Dana PTAL. From our offline talk, this should be ready to land.
7 years, 10 months ago (2013-02-06 23:39:47 UTC) #13
piman
LGTM, as long as Nat and Dana are happy, and we're ok to land this ...
7 years, 10 months ago (2013-02-07 00:00:42 UTC) #14
no sievers
lgtm for android, thanks!
7 years, 10 months ago (2013-02-07 00:03:06 UTC) #15
nduca
lgtm though i forget the offline talk :)
7 years, 10 months ago (2013-02-07 00:10:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/20001
7 years, 10 months ago (2013-02-07 00:33:03 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=15330
7 years, 10 months ago (2013-02-07 03:31:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/20001
7 years, 10 months ago (2013-02-11 18:10:36 UTC) #19
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=16088
7 years, 10 months ago (2013-02-11 19:05:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/29008
7 years, 10 months ago (2013-02-11 20:04:08 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=16124
7 years, 10 months ago (2013-02-11 21:00:50 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/29008
7 years, 10 months ago (2013-02-12 00:08:17 UTC) #23
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=16248
7 years, 10 months ago (2013-02-12 01:28:08 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/39008
7 years, 10 months ago (2013-02-12 02:08:31 UTC) #25
commit-bot: I haz the power
Failed to apply patch for cc/layer_tree_host_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-12 02:08:47 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/27010
7 years, 10 months ago (2013-02-12 02:37:39 UTC) #27
commit-bot: I haz the power
Failed to apply patch for cc/layer_tree_host_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-12 02:37:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/22030
7 years, 10 months ago (2013-02-12 19:01:29 UTC) #29
commit-bot: I haz the power
Failed to apply patch for cc/resource_provider.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-12 19:01:45 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/41031
7 years, 10 months ago (2013-02-12 21:06:15 UTC) #31
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=9917
7 years, 10 months ago (2013-02-13 05:34:24 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/12041062/43001
7 years, 10 months ago (2013-02-13 18:27:13 UTC) #33
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 19:28:59 UTC) #34

Powered by Google App Engine
This is Rietveld 408576698