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

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

Issue 1382883002: Fixing performance issue of creating imagebitmap from ImageData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove the benchmark test which has been landed already Created 5 years, 2 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 ec8ce2dae5d50a8b3842ed2a125b3150029be689..6f80da5ab170455e543451468245f593c1ae5f4d 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
@@ -80,6 +80,11 @@ enum AccelerationHint {
PreferNoAcceleration,
};
+enum ImageBitmapSourceType {
Justin Novosad 2015/10/14 14:25:28 The code would be more readable if this enum was m
+ FromImageData,
+ NotFromImageData,
+};
+
// TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2DState.h once
// GraphicsContext no longer uses it.
enum ShadowMode {

Powered by Google App Engine
This is Rietveld 408576698