explicitly bump legacy genID on gpu surface
authorreed <reed@chromium.org>
Fri, 3 Jul 2015 17:43:43 +0000 (10:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Jul 2015 17:43:43 +0000 (10:43 -0700)
commitdca20ce4e1a522d6f70c79252a169456b48619db
tree392f7fcffd25073c497cc89ac7a957c22c600186
parent835510085062f055c04d8ea46d82831cfbe51793
explicitly bump legacy genID on gpu surface

Previous attempt to "test" getTextureHandle was giving false-positive because we had an active image-snapshot, which was incidentally also triggering a new genID.

I think this CL will also enable this change: https://codereview.chromium.org/1222243002/

BUG=skia:
TBR=bsalomon@google.com
NOTREECHECKS=True

Review URL: https://codereview.chromium.org/1208993008
src/image/SkSurface_Gpu.cpp
tests/SurfaceTest.cpp