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

Issue 12340095: cc: Make damage on delegated frame damage the host layer. (Closed)

Created:
7 years, 10 months ago by danakj
Modified:
7 years, 9 months ago
Reviewers:
piman
CC:
chromium-reviews, cc-bugs_chromium.org, backer, slavi
Visibility:
Public.

Description

cc: Make damage on delegated frame damage the host layer. When the delegated renderer layer receives a frame, it should be considered damaged by the compositor in the same place that the frame had damage. If multiple frames come between commits, then aggregate the damage together. If the scale at which the frame will be draw changes, then damage the whole layer. Tests: LayerTreeHostDelegatedTestLayerUsesFrameDamage.runSingleThread LayerTreeHostDelegatedTestLayerUsesFrameDamage.runMultiThread R=piman BUG=123444 Depends on: https://codereview.chromium.org/12328118/ Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185123

Patch Set 1 : #

Total comments: 6

Patch Set 2 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -30 lines) Patch
M cc/delegated_renderer_layer.h View 2 chunks +13 lines, -1 line 0 comments Download
M cc/delegated_renderer_layer.cc View 2 chunks +25 lines, -1 line 0 comments Download
M cc/delegated_renderer_layer_impl.h View 3 chunks +14 lines, -9 lines 0 comments Download
M cc/delegated_renderer_layer_impl.cc View 4 chunks +53 lines, -9 lines 0 comments Download
M cc/layer_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layer_tree_host_unittest_delegated.cc View 1 4 chunks +222 lines, -7 lines 0 comments Download
M cc/test/layer_tree_test_common.h View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test_common.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
danakj
7 years, 10 months ago (2013-02-27 01:53:05 UTC) #1
danakj
btw, I'll work on a CL to do the resource remapping based on this tomorrow. ...
7 years, 10 months ago (2013-02-27 02:10:25 UTC) #2
piman
Mostly LGTM with 2 questions https://codereview.chromium.org/12340095/diff/4002/cc/delegated_renderer_layer_impl.cc File cc/delegated_renderer_layer_impl.cc (right): https://codereview.chromium.org/12340095/diff/4002/cc/delegated_renderer_layer_impl.cc#newcode56 cc/delegated_renderer_layer_impl.cc:56: if (new_frame_is_empty) { Should ...
7 years, 10 months ago (2013-02-27 02:27:43 UTC) #3
danakj
https://codereview.chromium.org/12340095/diff/4002/cc/delegated_renderer_layer_impl.cc File cc/delegated_renderer_layer_impl.cc (right): https://codereview.chromium.org/12340095/diff/4002/cc/delegated_renderer_layer_impl.cc#newcode56 cc/delegated_renderer_layer_impl.cc:56: if (new_frame_is_empty) { On 2013/02/27 02:27:43, piman wrote: > ...
7 years, 9 months ago (2013-02-27 20:05:02 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/12340095/12001
7 years, 9 months ago (2013-02-27 20:06:07 UTC) #5
danakj
+slavi
7 years, 9 months ago (2013-02-27 21:03:38 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=88119
7 years, 9 months ago (2013-02-27 22:25:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12340095/12001
7 years, 9 months ago (2013-02-27 22:28:56 UTC) #8
commit-bot: I haz the power
7 years, 9 months ago (2013-02-28 02:37:57 UTC) #9
Message was sent while issue was closed.
Change committed as 185123

Powered by Google App Engine
This is Rietveld 408576698