diff options
author | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-06 23:26:51 +0000 |
---|---|---|
committer | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-06 23:26:51 +0000 |
commit | bb87580f83d0a5c73e7d243f1f4450ec39daaea2 (patch) | |
tree | bc99211ecc7b49316a6f0517e91be7fd209d1483 /cc/resource_update_controller.h | |
parent | 45ee09a2bbc5040e9023093defa95319a9cd3886 (diff) | |
download | chromium_src-bb87580f83d0a5c73e7d243f1f4450ec39daaea2.zip chromium_src-bb87580f83d0a5c73e7d243f1f4450ec39daaea2.tar.gz chromium_src-bb87580f83d0a5c73e7d243f1f4450ec39daaea2.tar.bz2 |
cc: Maximize pending updates.
This makes the resource update controller maintain a maximum number of
pending updates. This keeps our pipeline better filled without
theoretically increasing the risk that we delay drawing at vsync tick.
BUG=145825
TEST=cc_unittests and manual testing
Review URL: https://chromiumcodereview.appspot.com/11347019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resource_update_controller.h')
-rw-r--r-- | cc/resource_update_controller.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/resource_update_controller.h b/cc/resource_update_controller.h index 42d233e..fbec7c4 100644 --- a/cc/resource_update_controller.h +++ b/cc/resource_update_controller.h @@ -54,6 +54,7 @@ private: static size_t maxFullUpdatesPerTick(ResourceProvider*); size_t maxBlockingUpdates() const; + base::TimeDelta pendingUpdateTime() const; void updateTexture(ResourceUpdate); |