OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef GrIndex8toRGBEffect_DEFINED |
| 9 #define GrIndex8toRGBEffect_DEFINED |
| 10 |
| 11 #include "SkImageInfo.h" |
| 12 #include "GrCoordTransform.h" |
| 13 #include "SkMatrix.h" |
| 14 |
| 15 |
| 16 // class GrFragmentProcessor; |
| 17 class GrTexture; |
| 18 |
| 19 namespace GrIndex8toRGBEffect { |
| 20 /** |
| 21 * Creates an effect that performs color conversion from Index8 to RGB. |
| 22 */ |
| 23 GrFragmentProcessor* Create(GrTexture* tex, GrTexture* colorMapTexture, |
| 24 const SkMatrix& matrix, GrCoordSet coordSet = kL
ocal_GrCoordSet); |
| 25 }; |
| 26 |
| 27 #endif |
OLD | NEW |