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