summaryrefslogtreecommitdiffstats
path: root/cc/CCTextureUpdateController.h
diff options
context:
space:
mode:
authorreveman@google.com <reveman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-17 22:28:14 +0000
committerreveman@google.com <reveman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-17 22:28:14 +0000
commit1269515ab8596c91f998550e25df2c6a33baa70b (patch)
treea5e6c3023c45cf7a63ea6e4563452e40aa52a7f3 /cc/CCTextureUpdateController.h
parenta3c76cf6556329a3ac79479f429ebd692763336d (diff)
downloadchromium_src-1269515ab8596c91f998550e25df2c6a33baa70b.zip
chromium_src-1269515ab8596c91f998550e25df2c6a33baa70b.tar.gz
chromium_src-1269515ab8596c91f998550e25df2c6a33baa70b.tar.bz2
cc: Remove partial texture updates from scheduler.
The texture update controller now completes when all full size texture uploads are done and the texture uploader isn't busy. All partial texture updates are now done at the same time as commit. BUG=149194 TEST=cc_unittests Review URL: https://codereview.chromium.org/10917265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/CCTextureUpdateController.h')
-rw-r--r--cc/CCTextureUpdateController.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/CCTextureUpdateController.h b/cc/CCTextureUpdateController.h
index 76f81a0..61e0f6c 100644
--- a/cc/CCTextureUpdateController.h
+++ b/cc/CCTextureUpdateController.h
@@ -17,7 +17,7 @@ class TextureUploader;
class CCTextureUpdateControllerClient {
public:
- virtual void updateTexturesCompleted() = 0;
+ virtual void readyToFinalizeTextureUpdates() = 0;
protected:
virtual ~CCTextureUpdateControllerClient() { }
@@ -35,7 +35,8 @@ public:
virtual ~CCTextureUpdateController();
- void updateMoreTextures(double monotonicTimeLimit);
+ void performMoreUpdates(double monotonicTimeLimit);
+ void finalize();
// CCTimerClient implementation.
virtual void onTimerFired() OVERRIDE;