Continue making Ganesh use absolute texture coordinates
authorRobert Phillips <robertphillips@google.com>
Tue, 17 Jan 2017 16:52:21 +0000 (11:52 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 17 Jan 2017 17:28:58 +0000 (17:28 +0000)
commit4493a9dc9df8cf306a974bde7e0e9c5470ebcdc9
treecc6315711d78a8192d16ae4251b5bb683993b1fd
parent4075ec80e1c36e414e57746c772298be3b49a74e
Continue making Ganesh use absolute texture coordinates

The idea here is that the GrCoordTransform will actually hold a GrTextureProxy (rather than a GrTexture) and then, in GrGLSLPrimitiveProcessor::GetTransformMatrix, use the instantiated width & height (when uploading the transform matrix)

Change-Id: Ibac3a540fcb1967ceef571157d41c1937acfadf8
Reviewed-on: https://skia-review.googlesource.com/6977
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
35 files changed:
gm/texdata.cpp
gm/texturedomaineffect.cpp
include/gpu/GrCoordTransform.h
src/core/SkGpuBlurUtils.cpp
src/core/SkMatrix.cpp
src/effects/GrAlphaThresholdFragmentProcessor.cpp
src/effects/SkArithmeticImageFilter.cpp
src/effects/SkBlurMaskFilter.cpp
src/effects/SkDisplacementMapEffect.cpp
src/effects/SkLightingImageFilter.cpp
src/effects/SkMagnifierImageFilter.cpp
src/effects/SkPerlinNoiseShader.cpp
src/effects/SkXfermodeImageFilter.cpp
src/effects/gradients/SkGradientShader.cpp
src/gpu/GrBlurUtils.cpp
src/gpu/GrContext.cpp
src/gpu/GrCoordTransform.cpp
src/gpu/GrFragmentProcessor.cpp
src/gpu/GrSWMaskHelper.cpp
src/gpu/GrTextureAdjuster.cpp
src/gpu/GrTextureMaker.cpp
src/gpu/GrTextureProducer.cpp
src/gpu/GrTextureToYUVPlanes.cpp
src/gpu/GrYUVProvider.cpp
src/gpu/SkGpuDevice.cpp
src/gpu/effects/Gr1DKernelEffect.h
src/gpu/effects/GrBicubicEffect.cpp
src/gpu/effects/GrConfigConversionEffect.cpp
src/gpu/effects/GrMatrixConvolutionEffect.cpp
src/gpu/effects/GrYUVEffect.cpp
src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp
src/image/SkImageShader.cpp
tests/IntTextureTest.cpp
tests/RectangleTextureTest.cpp
tests/SRGBMipMapTest.cpp