OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 GrGLPathProgram_DEFINED | 8 #ifndef GrGLPathProgram_DEFINED |
9 #define GrGLPathProgram_DEFINED | 9 #define GrGLPathProgram_DEFINED |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 GrGLInstalledXferProc* xferProcessor, | 30 GrGLInstalledXferProc* xferProcessor, |
31 GrGLInstalledFragProcs* fragmentProcessors, | 31 GrGLInstalledFragProcs* fragmentProcessors, |
32 SkTArray<UniformHandle>* passSamplerUniforms); | 32 SkTArray<UniformHandle>* passSamplerUniforms); |
33 | 33 |
34 private: | 34 private: |
35 void didSetData() override; | 35 void didSetData() override; |
36 virtual void setTransformData(const GrPrimitiveProcessor&, | 36 virtual void setTransformData(const GrPrimitiveProcessor&, |
37 const GrPendingFragmentStage&, | 37 const GrPendingFragmentStage&, |
38 int index, | 38 int index, |
39 GrGLInstalledFragProc*) override; | 39 GrGLInstalledFragProc*) override; |
40 virtual void onSetRenderTargetState(const GrPrimitiveProcessor&, const GrPip
eline&); | 40 void onSetRenderTargetState(const GrPrimitiveProcessor&, const GrPipeline&)
override; |
41 | 41 |
42 friend class GrGLPathProgramBuilder; | 42 friend class GrGLPathProgramBuilder; |
43 | 43 |
44 GrGLPathProgramDataManager fPathProgramDataManager; | 44 GrGLPathProgramDataManager fPathProgramDataManager; |
45 | 45 |
46 typedef GrGLProgram INHERITED; | 46 typedef GrGLProgram INHERITED; |
47 }; | 47 }; |
48 | 48 |
49 #endif | 49 #endif |
OLD | NEW |