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

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

Issue 2557783002: Improve metrics for display list canvas fallback reason (Closed)
Patch Set: Created 4 years 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 7b92d47ff1d51cdc37b01f6ac68409a1f5487d7a..b011f6fe35c694bce5012c55c8acd9f987952ff7 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
@@ -88,7 +88,10 @@ enum AccelerationHint {
enum SnapshotReason {
SnapshotReasonUnknown,
SnapshotReasonGetImageData,
- SnapshotReasonCopyToWebGLTexture,
+ SnapshotReasonWebGLTexImage2D,
+ SnapshotReasonWebGLTexSubImage2D,
+ SnapshotReasonWebGLTexImage3D,
+ SnapshotReasonWebGLTexSubImage3D,
SnapshotReasonPaint,
SnapshotReasonToDataURL,
SnapshotReasonToBlob,
@@ -99,6 +102,8 @@ enum SnapshotReason {
SnapshotReasonUnitTests,
SnapshotReasonGetCopiedImage,
SnapshotReasonWebGLDrawImageIntoBuffer,
+ SnapshotReasonCopyToClipboard,
+ SnapshotReasonCreateImageBitmap,
};
// Note: enum used directly for histogram, values must not change

Powered by Google App Engine
This is Rietveld 408576698