Start making texture coordinates be absolute
authorRobert Phillips <robertphillips@google.com>
Mon, 9 Jan 2017 19:23:59 +0000 (14:23 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 10 Jan 2017 16:15:02 +0000 (16:15 +0000)
commite98234f231d66848e149db683c11b6388e10b233
tree48bbfcde8b5519a3903a1be0e6b28b04dee6b819
parent8e619a2b4eb31753e6fcb4a9ec494d31ace755da
Start making texture coordinates be absolute

The idea here is that we will pass GrTextureProxys in (where we're currently passing GrTextures) and defer the normalization until the texture is actually instantiated (and possibly move it to the GPU entirely)

This CL does (intentionally) change the texturedomaineffect GM but I believe the new behavior is more correct.

Change-Id: I4e0510b3dfb65ff0d0ee5921f9a6f94151e602d3
Reviewed-on: https://skia-review.googlesource.com/6807
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
13 files changed:
gm/texturedomaineffect.cpp
src/core/SkGpuBlurUtils.cpp
src/effects/SkArithmeticImageFilter.cpp
src/effects/SkDisplacementMapEffect.cpp
src/effects/SkLightingImageFilter.cpp
src/effects/SkXfermodeImageFilter.cpp
src/gpu/GrTextureMaker.cpp
src/gpu/GrTextureProducer.cpp
src/gpu/SkGpuDevice.cpp
src/gpu/effects/GrBicubicEffect.cpp
src/gpu/effects/GrMatrixConvolutionEffect.cpp
src/gpu/effects/GrTextureDomain.cpp
src/gpu/effects/GrTextureDomain.h