| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 GrCustomCoordsTextureEffect_DEFINED | 8 #ifndef GrCustomCoordsTextureEffect_DEFINED |
| 9 #define GrCustomCoordsTextureEffect_DEFINED | 9 #define GrCustomCoordsTextureEffect_DEFINED |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 const GrShaderVar& inTextureCoords() const { return fInTextureCoords; } | 31 const GrShaderVar& inTextureCoords() const { return fInTextureCoords; } |
| 32 | 32 |
| 33 typedef GrGLCustomCoordsTextureEffect GLProcessor; | 33 typedef GrGLCustomCoordsTextureEffect GLProcessor; |
| 34 | 34 |
| 35 virtual const GrBackendGeometryProcessorFactory& getFactory() const SK_OVERR
IDE; | 35 virtual const GrBackendGeometryProcessorFactory& getFactory() const SK_OVERR
IDE; |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 GrCustomCoordsTextureEffect(GrTexture* texture, const GrTextureParams& param
s); | 38 GrCustomCoordsTextureEffect(GrTexture* texture, const GrTextureParams& param
s); |
| 39 | 39 |
| 40 virtual bool onIsEqual(const GrProcessor& other) const SK_OVERRIDE; | 40 virtual bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE; |
| 41 | 41 |
| 42 virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERR
IDE; | 42 virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERR
IDE; |
| 43 | 43 |
| 44 GrTextureAccess fTextureAccess; | 44 GrTextureAccess fTextureAccess; |
| 45 const GrShaderVar& fInTextureCoords; | 45 const GrShaderVar& fInTextureCoords; |
| 46 | 46 |
| 47 GR_DECLARE_GEOMETRY_PROCESSOR_TEST; | 47 GR_DECLARE_GEOMETRY_PROCESSOR_TEST; |
| 48 | 48 |
| 49 typedef GrGeometryProcessor INHERITED; | 49 typedef GrGeometryProcessor INHERITED; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 #endif | 52 #endif |
| OLD | NEW |