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 GrGLProcessor_DEFINED | 8 #ifndef GrGLProcessor_DEFINED |
9 #define GrGLProcessor_DEFINED | 9 #define GrGLProcessor_DEFINED |
10 | 10 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 const GrFragmentProcessor& effect, | 118 const GrFragmentProcessor& effect, |
119 const char* outputColor, | 119 const char* outputColor, |
120 const char* inputColor, | 120 const char* inputColor, |
121 const TransformedCoordsArray& coords, | 121 const TransformedCoordsArray& coords, |
122 const TextureSamplerArray& samplers) = 0; | 122 const TextureSamplerArray& samplers) = 0; |
123 | 123 |
124 private: | 124 private: |
125 typedef GrGLProcessor INHERITED; | 125 typedef GrGLProcessor INHERITED; |
126 }; | 126 }; |
127 | 127 |
| 128 class GrGLXferProcessor : public GrGLFragmentProcessor { |
| 129 public: |
| 130 GrGLXferProcessor(const GrBackendProcessorFactory& factory) |
| 131 : INHERITED(factory) { |
| 132 } |
| 133 |
| 134 virtual ~GrGLXferProcessor() {} |
| 135 |
| 136 private: |
| 137 typedef GrGLFragmentProcessor INHERITED; |
| 138 }; |
| 139 |
128 #endif | 140 #endif |
OLD | NEW |