Index: cc/CCTextureUpdateController.h |
diff --git a/cc/CCTextureUpdateController.h b/cc/CCTextureUpdateController.h |
index de928e4e64a8722d1af3eb3d6bcd9bc562019742..6cf726e43efc050327449fa7a09778c69cb2aa5c 100644 |
--- a/cc/CCTextureUpdateController.h |
+++ b/cc/CCTextureUpdateController.h |
@@ -48,6 +48,8 @@ public: |
protected: |
CCTextureUpdateController(CCTextureUpdateControllerClient*, CCThread*, PassOwnPtr<CCTextureUpdateQueue>, CCResourceProvider*, TextureUploader*); |
+ static size_t maxFullUpdatesPerTick(TextureUploader*); |
+ |
// This returns true when there were textures left to update. |
bool updateMoreTexturesIfEnoughTimeRemaining(); |
void updateMoreTexturesNow(); |
@@ -59,6 +61,7 @@ protected: |
CCResourceProvider* m_resourceProvider; |
TextureUploader* m_uploader; |
double m_monotonicTimeLimit; |
+ size_t m_textureUpdatesPerTick; |
bool m_firstUpdateAttempt; |
}; |