diff options
author | piotaixr <piotaixr@chromium.org> | 2014-07-03 06:50:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-07-03 06:50:51 -0700 |
commit | 753a2964afe5661ce9b2a8ca77ca9d0aabd3173c (patch) | |
tree | b0b58c59a2e7abfedb61e445033aff0c57e25f82 /tests/GradientTest.cpp | |
parent | 32b9a3b02ed6b8bab4a25b6cb8853f5bea4b87ba (diff) |
Caching the result of readPixelsSupported
The call was calling GR_GL_GetIntegerv 2 times for each readPixels
and thus was causing a loss of performance
(resubmit of issue 344793008)
Benchmark url: http://packages.gkny.fr/tst/index.html
BUG=skia:2681
R=junov@chromium.org
Author: piotaixr@chromium.org
Review URL: https://codereview.chromium.org/364193004
Diffstat (limited to 'tests/GradientTest.cpp')
0 files changed, 0 insertions, 0 deletions