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

Unified Diff: Source/WebCore/platform/graphics/chromium/cc/CCProxy.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/CCProxy.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/cc/CCProxy.h (revision 114962)
+++ Source/WebCore/platform/graphics/chromium/cc/CCProxy.h (working copy)
@@ -91,6 +91,10 @@
virtual void start() = 0; // Must be called before using the proxy.
virtual void stop() = 0; // Must be called before deleting the proxy.
+ // Forces 3D commands on all contexts to wait for all previous SwapBuffers to finish before executing in the GPU
+ // process.
+ virtual void forceSerializeOnSwapBuffers() = 0;
+
// Maximum number of sub-region texture updates supported for each commit.
virtual size_t maxPartialTextureUpdates() const = 0;

Powered by Google App Engine
This is Rietveld 408576698