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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsTypes.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/GraphicsTypes.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
index b9bc2b601f4be3ea937e40ba6b9a4afacfb2d7c7..89ea21de53ac656be09b2555e03c4e9c5bc9f50e 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