diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 21:12:40 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 21:12:40 +0000 |
commit | fbf77513101f73a974ad475b2bc4e2a192e2a77a (patch) | |
tree | dcb4e85c8b9a3d0ee10c3841285a3dd3439aeacf /cc/layer.h | |
parent | 2f64f3557446132f80eae5046c57e53eedce1396 (diff) | |
download | chromium_src-fbf77513101f73a974ad475b2bc4e2a192e2a77a.zip chromium_src-fbf77513101f73a974ad475b2bc4e2a192e2a77a.tar.gz chromium_src-fbf77513101f73a974ad475b2bc4e2a192e2a77a.tar.bz2 |
cc: Block the main thread for texture layers during impl-side painting
This patch adds an additional completion event to thread proxy. Right now, it checks for the lack of a pending tree after drawing (which is currently where tree activation is triggered).
R=nduca@chromium.org
BUG=164993
Review URL: https://chromiumcodereview.appspot.com/11710004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer.h')
-rw-r--r-- | cc/layer.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -286,6 +286,8 @@ public: // compatible with the main thread running freely, such as a double-buffered // canvas that doesn't want to be triple-buffered across all three trees. virtual bool blocksPendingCommit() const; + // Returns true if anything in this tree blocksPendingCommit. + bool blocksPendingCommitRecursive() const; virtual bool canClipSelf() const; |