OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef GrTextureDomainEffect_DEFINED | 8 #ifndef GrTextureDomainEffect_DEFINED |
9 #define GrTextureDomainEffect_DEFINED | 9 #define GrTextureDomainEffect_DEFINED |
10 | 10 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 GrTextureDomain fTextureDomain; | 180 GrTextureDomain fTextureDomain; |
181 | 181 |
182 private: | 182 private: |
183 GrTextureDomainEffect(GrTexture*, | 183 GrTextureDomainEffect(GrTexture*, |
184 const SkMatrix&, | 184 const SkMatrix&, |
185 const SkRect& domain, | 185 const SkRect& domain, |
186 GrTextureDomain::Mode, | 186 GrTextureDomain::Mode, |
187 GrTextureParams::FilterMode, | 187 GrTextureParams::FilterMode, |
188 GrCoordSet); | 188 GrCoordSet); |
189 | 189 |
190 GrGLSLFragmentProcessor* onCreateGLInstance() const override; | 190 GrGLSLFragmentProcessor* onCreateGLSLInstance() const override; |
191 | 191 |
192 void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const ov
erride; | 192 void onGetGLSLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const
override; |
193 | 193 |
194 bool onIsEqual(const GrFragmentProcessor&) const override; | 194 bool onIsEqual(const GrFragmentProcessor&) const override; |
195 | 195 |
196 void onComputeInvariantOutput(GrInvariantOutput* inout) const override; | 196 void onComputeInvariantOutput(GrInvariantOutput* inout) const override; |
197 | 197 |
198 GR_DECLARE_FRAGMENT_PROCESSOR_TEST; | 198 GR_DECLARE_FRAGMENT_PROCESSOR_TEST; |
199 | 199 |
200 typedef GrSingleTextureEffect INHERITED; | 200 typedef GrSingleTextureEffect INHERITED; |
201 }; | 201 }; |
202 | 202 |
203 #endif | 203 #endif |
OLD | NEW |