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

Issue 10537028: aura: Drop unnecessary composites (Closed)

Created:
8 years, 6 months ago by jonathan.backer
Modified:
8 years, 6 months ago
Reviewers:
sky, piman
CC:
chromium-reviews, sadrul, jonathan.backer, Ian Vollick, dhollowa+watch_chromium.org, ben+watch_chromium.org, piman+watch_chromium.org
Visibility:
Public.

Description

aura: Drop unnecessary composites During a composite pass, there are many commits that occur. The results of these commits will be visible immediately, so we can cull the scheduleComposite() calls that occur. BUG=131059 TEST=manual: run with --force-compositing-mode; go to google.com; observe only one draw per cursor blink via chrome://tracing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140876

Patch Set 1 #

Patch Set 2 : More conservative culling of scheduleComposite(). #

Total comments: 2

Patch Set 3 : "" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -11 lines) Patch
M ui/aura/root_window.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/aura/root_window.cc View 1 3 chunks +6 lines, -7 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 5 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jonathan.backer
A much pared down version of http://codereview.chromium.org/10453117 which focusses on just one issue. This fix ...
8 years, 6 months ago (2012-06-06 14:55:24 UTC) #1
jonathan.backer
Based on a conversation with piman@, I've made the dropping of Compositor::scheduleComposite() much more conservative.
8 years, 6 months ago (2012-06-06 20:12:01 UTC) #2
piman
lgtm http://codereview.chromium.org/10537028/diff/1009/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): http://codereview.chromium.org/10537028/diff/1009/ui/compositor/compositor.cc#newcode184 ui/compositor/compositor.cc:184: disable_schedule_composite_ = true; nit: it's probably not useful ...
8 years, 6 months ago (2012-06-06 20:17:24 UTC) #3
jonathan.backer
http://codereview.chromium.org/10537028/diff/1009/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): http://codereview.chromium.org/10537028/diff/1009/ui/compositor/compositor.cc#newcode184 ui/compositor/compositor.cc:184: disable_schedule_composite_ = true; On 2012/06/06 20:17:24, piman wrote: > ...
8 years, 6 months ago (2012-06-06 20:31:43 UTC) #4
jonathan.backer
+sky for ui/aura OWNERS
8 years, 6 months ago (2012-06-06 21:17:07 UTC) #5
sky
LGTM
8 years, 6 months ago (2012-06-06 21:25:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10537028/1010
8 years, 6 months ago (2012-06-06 21:27:18 UTC) #7
commit-bot: I haz the power
8 years, 6 months ago (2012-06-06 23:02:11 UTC) #8
Change committed as 140876

Powered by Google App Engine
This is Rietveld 408576698