Add a caps bit to enable/disable the new manual mip-mapper
authorbrianosman <brianosman@google.com>
Thu, 2 Jun 2016 15:59:34 +0000 (08:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Jun 2016 15:59:34 +0000 (08:59 -0700)
commit09563cec928da5052972b3dca7f022fca3a72d05
treebb97b242047719856be7d43e43db5e26dd3563df
parent2122c55084b81e9ef68972a10e5a3094d14db24a
Add a caps bit to enable/disable the new manual mip-mapper

Turn it off on Adreno3xx devices, because the small-render-target bug on
those devices leads to empty mipmaps for the smallest mips.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2026393004

Review-Url: https://codereview.chromium.org/2026393004
src/gpu/gl/GrGLCaps.cpp
src/gpu/gl/GrGLCaps.h
src/gpu/gl/GrGLGpu.cpp