Introduces new SingleTextureEffect base class for GrCustomStage objects.
authortomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 12 Jul 2012 17:23:52 +0000 (17:23 +0000)
committertomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 12 Jul 2012 17:23:52 +0000 (17:23 +0000)
commitd0c1a06cb98dd4a009dfa79e37ba6ca23a8c180b
tree8da05f518d09f633dfd00f94b45593182089deac
parentd7727ceb82e271f8b5580c51571c57b09c5e3ced
Introduces new SingleTextureEffect base class for GrCustomStage objects.
This class tracks the texture that the object uses. A future commit will get rid of the
GrTexture pointer currenty stored in the GrDrawState, allowing us to have CustomStages
*without* textures.

Requires gyp change on next roll.

http://codereview.appspot.com/6306097/

git-svn-id: http://skia.googlecode.com/svn/trunk@4576 2bbb7eff-a529-9590-31e7-b0007b416f81
23 files changed:
gyp/gpu.gyp
include/core/SkImageFilter.h
include/gpu/GrCustomStage.h
src/core/SkPaint.cpp
src/effects/SkLightingImageFilter.cpp
src/gpu/GrContext.cpp
src/gpu/GrCustomStage.cpp
src/gpu/SkGpuDevice.cpp
src/gpu/effects/Gr1DKernelEffect.h
src/gpu/effects/GrConvolutionEffect.cpp
src/gpu/effects/GrConvolutionEffect.h
src/gpu/effects/GrGradientEffects.cpp
src/gpu/effects/GrGradientEffects.h
src/gpu/effects/GrMorphologyEffect.cpp
src/gpu/effects/GrMorphologyEffect.h
src/gpu/effects/GrSingleTextureEffect.cpp [new file with mode: 0644]
src/gpu/effects/GrSingleTextureEffect.h [new file with mode: 0644]
src/gpu/gl/GrGLProgramStage.cpp
src/gpu/gl/GrGLProgramStage.h
src/gpu/gl/GrGpuGL.cpp
src/gpu/gl/GrGpuGL.h
src/gpu/gl/GrGpuGL_program.cpp
src/gpu/gl/GrGpuGL_unittest.cpp