aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GradientTest.cpp
diff options
context:
space:
mode:
authorGravatar piotaixr <piotaixr@chromium.org>2014-07-03 06:50:50 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-03 06:50:51 -0700
commit753a2964afe5661ce9b2a8ca77ca9d0aabd3173c (patch)
treeb0b58c59a2e7abfedb61e445033aff0c57e25f82 /tests/GradientTest.cpp
parent32b9a3b02ed6b8bab4a25b6cb8853f5bea4b87ba (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