Revert of Reopened: Caching the result of readPixelsSupported (https://codereview...
authorbungeman <bungeman@google.com>
Wed, 16 Jul 2014 16:10:41 +0000 (09:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Jul 2014 16:10:41 +0000 (09:10 -0700)
commitc7af812b4213105264af514d13ddbe631a89d171
tree464123c0c764c1dd245da489a670633f0abf3426
parent33ac9506fba85373135d78212bdfaab597ba7ed7
Revert of Reopened: Caching the result of readPixelsSupported (https://codereview.chromium.org/364193004/)

Reason for revert:
This appears to be causing failures on Android when running tests.

Original issue's description:
> 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
>
> Committed: https://skia.googlesource.com/skia/+/753a2964afe5661ce9b2a8ca77ca9d0aabd3173c
>
> Committed: https://skia.googlesource.com/skia/+/8339371f1ec3c57a0741932fd96bff32c53d4e54

R=junov@chromium.org, reed@chromium.org, bsalomon@chromium.org, mtklein@google.com, bsalomon@google.com, piotaixr@chromium.org
TBR=bsalomon@chromium.org, bsalomon@google.com, junov@chromium.org, mtklein@google.com, piotaixr@chromium.org, reed@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:2681

Author: bungeman@google.com

Review URL: https://codereview.chromium.org/395203002
gyp/core.gypi
gyp/tests.gypi
src/core/SkTHashCache.h [deleted file]
src/gpu/gl/GrGLCaps.cpp
src/gpu/gl/GrGLCaps.h
src/gpu/gl/GrGpuGL.cpp
tests/THashCache.cpp [deleted file]