OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 GrYUVtoRGBEffect_DEFINED | 8 #ifndef GrYUVtoRGBEffect_DEFINED |
9 #define GrYUVtoRGBEffect_DEFINED | 9 #define GrYUVtoRGBEffect_DEFINED |
10 | 10 |
11 #include "SkImageInfo.h" | 11 #include "SkImageInfo.h" |
12 | 12 |
13 class GrFragmentProcessor; | 13 class GrFragmentProcessor; |
| 14 class GrProcessorDataManager; |
14 class GrTexture; | 15 class GrTexture; |
15 | 16 |
16 namespace GrYUVtoRGBEffect { | 17 namespace GrYUVtoRGBEffect { |
17 /** | 18 /** |
18 * Creates an effect that performs color conversion from YUV to RGB | 19 * Creates an effect that performs color conversion from YUV to RGB |
19 */ | 20 */ |
20 GrFragmentProcessor* Create(GrTexture* yTexture, GrTexture* uTexture, GrText
ure* vTexture, | 21 GrFragmentProcessor* Create(GrProcessorDataManager*, GrTexture* yTexture, Gr
Texture* uTexture, |
21 const SkISize sizes[3], SkYUVColorSpace colorSpa
ce); | 22 GrTexture* vTexture, const SkISize sizes[3], |
| 23 SkYUVColorSpace colorSpace); |
22 }; | 24 }; |
23 | 25 |
24 #endif | 26 #endif |
OLD | NEW |