diff options
author | 2012-08-02 15:15:16 +0000 | |
---|---|---|
committer | 2012-08-02 15:15:16 +0000 | |
commit | a5e65ec434fed44dc616e4f64950b835b541181b (patch) | |
tree | ffe3592179c7c3ce78db8e5e485c641900042015 /src/gpu/effects/GrTextureDomainEffect.cpp | |
parent | eb7ad4a8b9c67743d6aa4e71b82e32f4cf1c8a9f (diff) |
Introduction of set of functions to manage generation of texture fetch shader code.
A new set of routines have been added to GrGLShaderBuilder to emit texture fetches, taking into consideration the format of the texture to be accessed, and the channel swizzle.
Review URL: https://codereview.appspot.com/6446072
git-svn-id: http://skia.googlecode.com/svn/trunk@4919 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects/GrTextureDomainEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrTextureDomainEffect.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/effects/GrTextureDomainEffect.cpp b/src/gpu/effects/GrTextureDomainEffect.cpp index 1bf0512da7..e76d0c916b 100644 --- a/src/gpu/effects/GrTextureDomainEffect.cpp +++ b/src/gpu/effects/GrTextureDomainEffect.cpp @@ -27,7 +27,7 @@ public: const GrRenderTarget*, int stageNum) SK_OVERRIDE; - static inline StageKey GenKey(const GrCustomStage&) { return 0; } + static inline StageKey GenKey(const GrCustomStage&, const GrGLCaps&) { return 0; } private: GrGLUniformManager::UniformHandle fNameUni; @@ -107,5 +107,3 @@ bool GrTextureDomainEffect::isEqual(const GrCustomStage& sBase) const { const GrTextureDomainEffect& s = static_cast<const GrTextureDomainEffect&>(sBase); return (INHERITED::isEqual(sBase) && this->fTextureDomain == s.fTextureDomain); } - - |