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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1563613002: Add GL error usage metrics for glTexImage* APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: local -> uma Created 4 years, 11 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:
Download patch
« no previous file with comments | « gpu/command_buffer_service.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 71a5918e3f9a7de7d4cc534a4f67ea80eab0cbd7..bcbfa95974425e4faa033256abad9fc26e635030 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -15020,6 +15020,12 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>The display type used to ask for an EGLDisplay.</summary>
</histogram>
+<histogram name="GPU.Error" enum="GLError">
+ <owner>junov@chromium.org</owner>
+ <owner>piman@chromium.org</owner>
+ <summary>The error states generated by OpenGL calls.</summary>
+</histogram>
+
<histogram name="GPU.FenceSupport" enum="BooleanAvailable">
<owner>reveman@chromium.org</owner>
<summary>
@@ -66331,6 +66337,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="6" label="UNSET"/>
</enum>
+<enum name="GLError" type="int">
+ <int value="0" label="0x0000 - GL_NO_ERROR"/>
+ <int value="1280" label="0x0500 - GL_INVALID_ENUM"/>
+ <int value="1281" label="0x0501 - GL_INVALID_VALUE"/>
+ <int value="1282" label="0x0502 - GL_INVALID_OPERATION"/>
+ <int value="1285" label="0x0505 - GL_OUT_OF_MEMORY"/>
+ <int value="1286" label="0x0506 - GL_INVALID_FRAMEBUFFER_OPERATION"/>
+</enum>
+
<enum name="GoogleCaptchaEvent" type="int">
<int value="0" label="Google CAPTCHA shown"/>
<int value="1" label="Google CAPTCHA solved"/>
@@ -81672,6 +81687,12 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="PLT.PT_StartToFinish"/>
</histogram_suffixes>
+<histogram_suffixes name="GLApisWithErrorReporting">
+ <suffix name="TexImage2D" label="All GL APIs that allocate a 2D texture."/>
+ <suffix name="TexImage3D" label="All GL APIs that allocate a 3D texture."/>
+ <affected-histogram name="GPU.Error"/>
+</histogram_suffixes>
+
<histogram_suffixes name="GlobalSdch">
<suffix name="global_disable_sdch" label="with SDCH completely disabled"/>
<suffix name="global_enable_sdch"
« no previous file with comments | « gpu/command_buffer_service.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698