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 GrGLVaryingHandler_DEFINED | 8 #ifndef GrGLVaryingHandler_DEFINED |
9 #define GrGLVaryingHandler_DEFINED | 9 #define GrGLVaryingHandler_DEFINED |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 VaryingHandle addPathProcessingVarying(const char* name, GrGLSLVertToFrag*, | 23 VaryingHandle addPathProcessingVarying(const char* name, GrGLSLVertToFrag*, |
24 GrSLPrecision fsPrecision = kDefault_
GrSLPrecision); | 24 GrSLPrecision fsPrecision = kDefault_
GrSLPrecision); |
25 | 25 |
26 private: | 26 private: |
27 void onFinalize() override; | 27 void onFinalize() override; |
28 | 28 |
29 GrGLProgramDataManager::VaryingInfoArray fPathProcVaryingInfos; | 29 GrGLProgramDataManager::VaryingInfoArray fPathProcVaryingInfos; |
30 | 30 |
31 friend class GrGLProgramBuilder; | 31 friend class GrGLProgramBuilder; |
32 | 32 |
33 typedef GrGLSLVaryingHandler INHERITED; | 33 typedef GrGLSLVaryingHandler INHERITED; |
34 }; | 34 }; |
35 | 35 |
36 #endif | 36 #endif |
37 | |
OLD | NEW |