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