summaryrefslogtreecommitdiffstats
path: root/cc/resource_provider.h
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-03 20:52:32 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-03 20:52:32 +0000
commit2b37dfda8941c7bd4fbf73ed2aa8b8045ed50342 (patch)
tree080b117e2d1d2e4a24d8d5ec4a0089bbe71a59ef /cc/resource_provider.h
parent0f97c466741d34cd77df68b3795ed72000c1f0ad (diff)
downloadchromium_src-2b37dfda8941c7bd4fbf73ed2aa8b8045ed50342.zip
chromium_src-2b37dfda8941c7bd4fbf73ed2aa8b8045ed50342.tar.gz
chromium_src-2b37dfda8941c7bd4fbf73ed2aa8b8045ed50342.tar.bz2
cc: Move textureUploadFlushPeriod to TextureUploader.
This moves texture upload related flushing to the TextureUploader class. This is a more appropriate place to handle this type of flushing and makes it possible to avoid some unnecessary flushes. BUG= TEST=cc_unittests Review URL: https://chromiumcodereview.appspot.com/11367054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165860 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resource_provider.h')
-rw-r--r--cc/resource_provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/resource_provider.h b/cc/resource_provider.h
index f7db99c..e0cbd37 100644
--- a/cc/resource_provider.h
+++ b/cc/resource_provider.h
@@ -85,6 +85,7 @@ public:
size_t numBlockingUploads();
void markPendingUploadsAsNonBlocking();
double estimatedUploadsPerSecond();
+ void flushUploads();
// Flush all context operations, kicking uploads and ensuring ordering with
// respect to other contexts.