| 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 GrSingleTextureEffect_DEFINED | 8 #ifndef GrSingleTextureEffect_DEFINED |
| 9 #define GrSingleTextureEffect_DEFINED | 9 #define GrSingleTextureEffect_DEFINED |
| 10 | 10 |
| 11 #include "GrProcessor.h" | 11 #include "GrFragmentProcessor.h" |
| 12 #include "SkMatrix.h" | 12 #include "SkMatrix.h" |
| 13 #include "GrCoordTransform.h" | 13 #include "GrCoordTransform.h" |
| 14 | 14 |
| 15 class GrTexture; | 15 class GrTexture; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * A base class for effects that draw a single texture with a texture matrix. Th
is effect has no | 18 * A base class for effects that draw a single texture with a texture matrix. Th
is effect has no |
| 19 * backend implementations. One must be provided by the subclass. | 19 * backend implementations. One must be provided by the subclass. |
| 20 */ | 20 */ |
| 21 class GrSingleTextureEffect : public GrFragmentProcessor { | 21 class GrSingleTextureEffect : public GrFragmentProcessor { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 } | 57 } |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 GrCoordTransform fCoordTransform; | 60 GrCoordTransform fCoordTransform; |
| 61 GrTextureAccess fTextureAccess; | 61 GrTextureAccess fTextureAccess; |
| 62 | 62 |
| 63 typedef GrFragmentProcessor INHERITED; | 63 typedef GrFragmentProcessor INHERITED; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif | 66 #endif |
| OLD | NEW |