commit | 753a2964afe5661ce9b2a8ca77ca9d0aabd3173c | [log] [tgz] |
---|---|---|
author | piotaixr <piotaixr@chromium.org> | Thu Jul 03 06:50:50 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jul 03 06:50:51 2014 -0700 |
tree | b0b58c59a2e7abfedb61e445033aff0c57e25f82 | |
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