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

Unified Diff: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.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/RecordingImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
index 6148e2b90b682ffc22ab99d3e4d8ffc5fadd761b..93034d3f7c75933e7c57df70a73a27751e938971 100644
--- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
@@ -95,7 +95,6 @@ class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface {
FallbackReasonFlushInitialClear = 4,
FallbackReasonFlushForDrawImageOfWebGL = 5,
FallbackReasonSnapshotForGetImageData = 6,
- FallbackReasonSnapshotForCopyToWebGLTexture = 7,
FallbackReasonSnapshotForPaint = 8,
FallbackReasonSnapshotForToDataURL = 9,
FallbackReasonSnapshotForToBlob = 10,
@@ -113,6 +112,12 @@ class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface {
21, // This value should never appear in production histograms
FallbackReasonSnapshotGetCopiedImage = 22,
FallbackReasonSnapshotWebGLDrawImageIntoBuffer = 23,
+ FallbackReasonSnapshotForWebGLTexImage2D = 24,
+ FallbackReasonSnapshotForWebGLTexSubImage2D = 25,
+ FallbackReasonSnapshotForWebGLTexImage3D = 26,
+ FallbackReasonSnapshotForWebGLTexSubImage3D = 27,
+ FallbackReasonSnapshotForCopyToClipboard = 28,
+ FallbackReasonSnapshotForCreateImageBitmap = 29,
FallbackReasonCount,
};

Powered by Google App Engine
This is Rietveld 408576698