diff options
author | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-27 00:44:28 +0000 |
---|---|---|
committer | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-27 00:44:28 +0000 |
commit | 6b16679e5700658051a581bb61b37e5b542ef818 (patch) | |
tree | 9e9ed110b8a2685391959a77614f9fc18b4afe5f /cc/single_thread_proxy.h | |
parent | ed6635eb5d07d0ad27a2a02ffeacf87c135090fe (diff) | |
download | chromium_src-6b16679e5700658051a581bb61b37e5b542ef818.zip chromium_src-6b16679e5700658051a581bb61b37e5b542ef818.tar.gz chromium_src-6b16679e5700658051a581bb61b37e5b542ef818.tar.bz2 |
Aura: Resize locks with --ui-enable-threaded-compositing
We temporarily defer commits while resizing so that the renderer has a chance to catch up with the UI window size.
Noteable changes from master:
- RWHVs can fast ACK the GPU process (not flip in the browser or TextureImageTransportSurface); useful for allowing the renderer to catch up when it gets too far behind.
- RWHVA will insist kicking a renderer frame after the lock times out on resize (wasn't necessary before)
- ui::Compositor vends draw locks (which largely just wraps to cc::Proxy) of ui::aura::RootWindow
BUG=136366
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10690168
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/single_thread_proxy.h')
-rw-r--r-- | cc/single_thread_proxy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h index 2a27e32..ca6769f 100644 --- a/cc/single_thread_proxy.h +++ b/cc/single_thread_proxy.h @@ -37,6 +37,7 @@ public: virtual void setNeedsAnimate() OVERRIDE; virtual void setNeedsCommit() OVERRIDE; virtual void setNeedsRedraw() OVERRIDE; + virtual void setDeferCommits(bool) OVERRIDE; virtual bool commitRequested() const OVERRIDE; virtual void didAddAnimation() OVERRIDE; virtual void start() OVERRIDE; |