summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorreveman <reveman@chromium.org>2015-04-08 16:51:21 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-08 23:51:48 +0000
commit27e19fba6e60c54d3e1af2254abe9d7ab448d874 (patch)
treea1e604e0aee71f67e2171ef9eafae1fb8f72d7b9 /gpu
parent3bc54dcf2b0d9f5e2b698af0f9061bba19a4bee1 (diff)
downloadchromium_src-27e19fba6e60c54d3e1af2254abe9d7ab448d874.zip
chromium_src-27e19fba6e60c54d3e1af2254abe9d7ab448d874.tar.gz
chromium_src-27e19fba6e60c54d3e1af2254abe9d7ab448d874.tar.bz2
gpu: Add UMA statistic for RG texture support.
BUG= Review URL: https://codereview.chromium.org/1068133002 Cr-Commit-Position: refs/heads/master@{#324310}
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/feature_info.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 5003ea8..84fc2e4 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -1090,6 +1090,7 @@ void FeatureInfo::InitializeFeatures() {
texture_format_validators_[GL_RG_EXT].AddValue(GL_HALF_FLOAT_OES);
}
}
+ UMA_HISTOGRAM_BOOLEAN("GPU.TextureRG", feature_flags_.ext_texture_rg);
#if !defined(OS_MACOSX)
if (workarounds_.ignore_egl_sync_failures) {