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

Issue 23097005: cc: return resources via a ReturnedResource struct rather than TransferableResource (Closed)

Created:
7 years, 4 months ago by piman
Modified:
7 years, 4 months ago
Reviewers:
danakj, palmer
CC:
chromium-reviews, jbauman+watch_chromium.org, yusukes+watch_chromium.org, Ian Vollick, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, James Su, danakj+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

cc: return resources via a ReturnedResource struct rather than TransferableResource This allows us to return a count, as well as reducing the size significantly since we don't need to return the mailbox. This is built on top of https://codereview.chromium.org/23023005 BUG=263068 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218214

Patch Set 1 #

Total comments: 9

Patch Set 2 : rebase #

Patch Set 3 : post-rebase fixes #

Total comments: 12

Patch Set 4 : review nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -189 lines) Patch
M cc/cc.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/delegated_renderer_layer.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/delegated_renderer_layer.cc View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/delegated_renderer_layer_impl.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M cc/output/compositor_frame_ack.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/delegating_renderer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/resource_provider.h View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 27 chunks +56 lines, -121 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 2 3 7 chunks +19 lines, -12 lines 0 comments Download
A cc/resources/returned_resource.h View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M cc/resources/transferable_resource.h View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download
M cc/resources/transferable_resource.cc View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M cc/test/fake_delegated_renderer_layer_impl.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M cc/test/fake_output_surface.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_delegated.cc View 1 2 3 13 chunks +38 lines, -26 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/common/cc_messages.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M ui/compositor/layer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/compositor/layer.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
piman
danakj: please review palmer: OWNERS on cc_messages.h : ReturnedResource is used in place of TransferableResource ...
7 years, 4 months ago (2013-08-14 00:18:51 UTC) #1
palmer
lgtm
7 years, 4 months ago (2013-08-15 20:08:48 UTC) #2
danakj
https://codereview.chromium.org/23097005/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (left): https://codereview.chromium.org/23097005/diff/1/cc/resources/resource_provider.cc#oldcode833 cc/resources/resource_provider.cc:833: TransferResource(context3d, *it, &resource); How do you get away without ...
7 years, 4 months ago (2013-08-15 23:16:44 UTC) #3
piman
https://codereview.chromium.org/23097005/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (left): https://codereview.chromium.org/23097005/diff/1/cc/resources/resource_provider.cc#oldcode833 cc/resources/resource_provider.cc:833: TransferResource(context3d, *it, &resource); On 2013/08/15 23:16:44, danakj wrote: > ...
7 years, 4 months ago (2013-08-16 05:12:44 UTC) #4
danakj
LGTM https://codereview.chromium.org/23097005/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (left): https://codereview.chromium.org/23097005/diff/1/cc/resources/resource_provider.cc#oldcode833 cc/resources/resource_provider.cc:833: TransferResource(context3d, *it, &resource); On 2013/08/16 05:12:44, piman wrote: ...
7 years, 4 months ago (2013-08-16 23:33:34 UTC) #5
piman
https://codereview.chromium.org/23097005/diff/9001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/23097005/diff/9001/cc/resources/resource_provider.cc#newcode809 cc/resources/resource_provider.cc:809: void ResourceProvider::PrepareSendToChild(int child, On 2013/08/16 23:33:35, danakj wrote: > ...
7 years, 4 months ago (2013-08-17 01:54:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/23097005/16001
7 years, 4 months ago (2013-08-17 22:19:02 UTC) #7
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) media_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=78626
7 years, 4 months ago (2013-08-17 22:50:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/23097005/16001
7 years, 4 months ago (2013-08-18 00:28:54 UTC) #9
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) media_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=78636
7 years, 4 months ago (2013-08-18 00:48:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/23097005/16001
7 years, 4 months ago (2013-08-18 16:10:53 UTC) #11
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) media_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=78725
7 years, 4 months ago (2013-08-18 16:31:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/23097005/16001
7 years, 4 months ago (2013-08-19 00:41:55 UTC) #13
commit-bot: I haz the power
7 years, 4 months ago (2013-08-19 00:42:52 UTC) #14
Message was sent while issue was closed.
Change committed as 218214

Powered by Google App Engine
This is Rietveld 408576698