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

Issue 9838045: aura: fast resizes for accelerated pages (Closed)

Created:
8 years, 9 months ago by piman
Modified:
8 years, 9 months ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, Ian Vollick, dhollowa+watch_chromium.org, jonathan.backer, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, James Su
Visibility:
Public.

Description

aura: fast resizes for accelerated pages This CL adds a compositor lock that we grab while waiting for the renderer's frame. The lock expires with a short delay. It makes a lot of pages resize interactively (e.g. NYT), the slow pages being not significantly worse. BUG=58782 TEST=load www.nytimes.com, resize, see it's interactive. load gmail, resize, see it's not but it's still working Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128585 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128607

Patch Set 1 #

Total comments: 6

Patch Set 2 : nits #

Patch Set 3 : fix win build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -18 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 7 chunks +49 lines, -16 lines 0 comments Download
M ui/aura/root_window.h View 1 2 7 chunks +37 lines, -0 lines 0 comments Download
M ui/aura/root_window.cc View 1 2 7 chunks +53 lines, -2 lines 0 comments Download
M ui/gfx/compositor/compositor.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
piman
backer: please review ben: OWNERS, but please give a careful eye. I know the approach ...
8 years, 9 months ago (2012-03-23 05:43:40 UTC) #1
jonathan.backer
LGTM with nits. https://chromiumcodereview.appspot.com/9838045/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://chromiumcodereview.appspot.com/9838045/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode480 content/browser/renderer_host/render_widget_host_view_aura.cc:480: if (!resize_locks_.empty() && !compositor->DrawPending()) { I'm ...
8 years, 9 months ago (2012-03-23 15:47:57 UTC) #2
Ben Goodger (Google)
lgtm
8 years, 9 months ago (2012-03-23 16:07:03 UTC) #3
piman
https://chromiumcodereview.appspot.com/9838045/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://chromiumcodereview.appspot.com/9838045/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode480 content/browser/renderer_host/render_widget_host_view_aura.cc:480: if (!resize_locks_.empty() && !compositor->DrawPending()) { On 2012/03/23 15:48:00, jonathan.backer ...
8 years, 9 months ago (2012-03-23 17:41:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/9838045/3004
8 years, 9 months ago (2012-03-23 17:46:43 UTC) #5
commit-bot: I haz the power
8 years, 9 months ago (2012-03-23 22:06:30 UTC) #6
Change committed as 128585

Powered by Google App Engine
This is Rietveld 408576698