Add GL error usage metrics for glTexImage* APIs
This change adds histograms that track errors that occur in
calls that allocate GPU textures. The motivation is to track
the impact of tweaking GPU resource management parameters.
In particular, there is a desire to increase the limit of the
skia texture cache in order to solve some performance issues.
This histogram will allow us to measure the impact of that
change on GPU resource allocation failure rates.
BUG=464835
Review URL: https://codereview.chromium.org/1563613002
Cr-Commit-Position: refs/heads/master@{#368165}
6 files changed