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 #include "GrYUVtoRGBEffect.h" | 8 #include "GrYUVtoRGBEffect.h" |
9 | 9 |
10 #include "GrCoordTransform.h" | 10 #include "GrCoordTransform.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 GrTextureAccess fUAccess; | 93 GrTextureAccess fUAccess; |
94 GrTextureAccess fVAccess; | 94 GrTextureAccess fVAccess; |
95 | 95 |
96 typedef GrEffect INHERITED; | 96 typedef GrEffect INHERITED; |
97 }; | 97 }; |
98 | 98 |
99 } | 99 } |
100 | 100 |
101 ////////////////////////////////////////////////////////////////////////////// | 101 ////////////////////////////////////////////////////////////////////////////// |
102 | 102 |
103 GrEffectRef* GrYUVtoRGBEffect::Create(GrTexture* yTexture, | 103 GrEffect* GrYUVtoRGBEffect::Create(GrTexture* yTexture, GrTexture* uTexture, GrT
exture* vTexture) { |
104 GrTexture* uTexture, | |
105 GrTexture* vTexture) { | |
106 return YUVtoRGBEffect::Create(yTexture, uTexture, vTexture); | 104 return YUVtoRGBEffect::Create(yTexture, uTexture, vTexture); |
107 } | 105 } |
OLD | NEW |