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 GrGLXferProcessor_DEFINED | 8 #ifndef GrGLXferProcessor_DEFINED |
9 #define GrGLXferProcessor_DEFINED | 9 #define GrGLXferProcessor_DEFINED |
10 | 10 |
11 #include "GrGLProcessor.h" | 11 #include "GrGLFragmentProcessor.h" |
12 | 12 |
13 class GrGLXPBuilder; | 13 class GrGLXPBuilder; |
14 class GrXferProcessor; | 14 class GrXferProcessor; |
15 | 15 |
16 class GrGLXferProcessor { | 16 class GrGLXferProcessor { |
17 public: | 17 public: |
18 GrGLXferProcessor() {} | 18 GrGLXferProcessor() {} |
19 virtual ~GrGLXferProcessor() {} | 19 virtual ~GrGLXferProcessor() {} |
20 | 20 |
21 typedef GrGLProcessor::TextureSamplerArray TextureSamplerArray; | 21 typedef GrGLProcessor::TextureSamplerArray TextureSamplerArray; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 } | 79 } |
80 | 80 |
81 virtual void onSetData(const GrGLProgramDataManager&, const GrXferProcessor&
) = 0; | 81 virtual void onSetData(const GrGLProgramDataManager&, const GrXferProcessor&
) = 0; |
82 | 82 |
83 GrGLProgramDataManager::UniformHandle fDstTopLeftUni; | 83 GrGLProgramDataManager::UniformHandle fDstTopLeftUni; |
84 GrGLProgramDataManager::UniformHandle fDstScaleUni; | 84 GrGLProgramDataManager::UniformHandle fDstScaleUni; |
85 | 85 |
86 typedef GrGLProcessor INHERITED; | 86 typedef GrGLProcessor INHERITED; |
87 }; | 87 }; |
88 #endif | 88 #endif |
OLD | NEW |