OLD | NEW |
| 1 |
1 /* | 2 /* |
2 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
3 * | 4 * |
4 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 6 * found in the LICENSE file. |
6 */ | 7 */ |
7 | 8 |
8 #ifndef GrProgramObj_DEFINED | 9 #ifndef GrProgramObj_DEFINED |
9 #define GrProgramObj_DEFINED | 10 #define GrProgramObj_DEFINED |
10 | 11 |
(...skipping 22 matching lines...) Expand all Loading... |
33 protected: | 34 protected: |
34 | 35 |
35 private: | 36 private: |
36 SkTArray<GrShaderObj *> fShaders; | 37 SkTArray<GrShaderObj *> fShaders; |
37 bool fInUse; // has this program been activated by a glUseProgram
call? | 38 bool fInUse; // has this program been activated by a glUseProgram
call? |
38 | 39 |
39 typedef GrFakeRefObj INHERITED; | 40 typedef GrFakeRefObj INHERITED; |
40 }; | 41 }; |
41 | 42 |
42 #endif // GrProgramObj_DEFINED | 43 #endif // GrProgramObj_DEFINED |
OLD | NEW |