Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h

Issue 10201008: Merge 114475 - [chromium] Ensure RateLimiter waits for Swapbuffers completion (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h (revision 114962)
+++ Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h (working copy)
@@ -123,7 +123,7 @@
int maxTextureSize;
};
-class CCLayerTreeHost : public RefCounted<CCLayerTreeHost> {
+class CCLayerTreeHost : public RefCounted<CCLayerTreeHost>, public RateLimiterClient {
public:
static PassRefPtr<CCLayerTreeHost> create(CCLayerTreeHostClient*, const CCSettings&);
virtual ~CCLayerTreeHost();
@@ -216,6 +216,9 @@
void startRateLimiter(GraphicsContext3D*);
void stopRateLimiter(GraphicsContext3D*);
+ // RateLimitClient implementation
+ virtual void rateLimit() OVERRIDE;
+
bool requestPartialTextureUpdate();
void deleteTextureAfterCommit(PassOwnPtr<ManagedTexture>);

Powered by Google App Engine
This is Rietveld 408576698