OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * 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 |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef GrProgramObj_DEFINED | 9 #ifndef GrProgramObj_DEFINED |
10 #define GrProgramObj_DEFINED | 10 #define GrProgramObj_DEFINED |
(...skipping 23 matching lines...) Expand all Loading... |
34 protected: | 34 protected: |
35 | 35 |
36 private: | 36 private: |
37 SkTArray<GrShaderObj *> fShaders; | 37 SkTArray<GrShaderObj *> fShaders; |
38 bool fInUse; // has this program been activated by a glUseProgram
call? | 38 bool fInUse; // has this program been activated by a glUseProgram
call? |
39 | 39 |
40 typedef GrFakeRefObj INHERITED; | 40 typedef GrFakeRefObj INHERITED; |
41 }; | 41 }; |
42 | 42 |
43 #endif // GrProgramObj_DEFINED | 43 #endif // GrProgramObj_DEFINED |
OLD | NEW |