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

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

Issue 2063473002: Make 2D canvas disable gpu acceleration when getImageData is called (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/GraphicsTypes.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
index 22c27ace061a0b3f65e56d53e8dd3a7416f380a7..7a67771fefd3bb2b51773bb5055d5be51777c7d4 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
@@ -83,6 +83,7 @@ enum AccelerationHint {
// in the context of the canvas becoming visible again.
PreferAccelerationAfterVisibilityChange,
PreferNoAcceleration,
+ ForceNoAcceleration,
};
enum SnapshotReason {

Powered by Google App Engine
This is Rietveld 408576698