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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBufferClient.h

Issue 2123623002: Reland: Make 2D canvas disable gpu acceleration when getImageData is called (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 4 years, 5 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: third_party/WebKit/Source/platform/graphics/ImageBufferClient.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBufferClient.h b/third_party/WebKit/Source/platform/graphics/ImageBufferClient.h
index 18f73c49134ceffe2fd848d04d8ddb8025e4beaf..69d1b1de980c9f1f550858f66318abe1ee1d001f 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBufferClient.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBufferClient.h
@@ -42,6 +42,7 @@ public:
virtual ~ImageBufferClient() { }
virtual void notifySurfaceInvalid() = 0;
virtual bool isDirty() = 0;
+ virtual void didDisableAcceleration() = 0;
virtual void didFinalizeFrame() = 0;
virtual void restoreCanvasMatrixClipStack(SkCanvas*) const = 0;
};

Powered by Google App Engine
This is Rietveld 408576698