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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 to have an identical processor key as the one that created this GrGLFrag
mentProcessor. */ | 110 to have an identical processor key as the one that created this GrGLFrag
mentProcessor. */ |
111 // TODO update this to pass in GrFragmentProcessor | 111 // TODO update this to pass in GrFragmentProcessor |
112 virtual void setData(const GrGLProgramDataManager&, const GrProcessor&) {} | 112 virtual void setData(const GrGLProgramDataManager&, const GrProcessor&) {} |
113 | 113 |
114 static void GenKey(const GrProcessor&, const GrGLCaps&, GrProcessorKeyBuilde
r*) {} | 114 static void GenKey(const GrProcessor&, const GrGLCaps&, GrProcessorKeyBuilde
r*) {} |
115 | 115 |
116 private: | 116 private: |
117 typedef GrGLProcessor INHERITED; | 117 typedef GrGLProcessor INHERITED; |
118 }; | 118 }; |
119 | 119 |
120 class GrGLXferProcessor : public GrGLFragmentProcessor { | |
121 public: | |
122 GrGLXferProcessor() {} | |
123 | |
124 virtual ~GrGLXferProcessor() {} | |
125 | |
126 private: | |
127 typedef GrGLFragmentProcessor INHERITED; | |
128 }; | |
129 | |
130 #endif | 120 #endif |
OLD | NEW |