| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 GrGLProgramDataManager_DEFINED | 8 #ifndef GrGLProgramDataManager_DEFINED |
| 9 #define GrGLProgramDataManager_DEFINED | 9 #define GrGLProgramDataManager_DEFINED |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 struct Uniform { | 100 struct Uniform { |
| 101 GrGLint fVSLocation; | 101 GrGLint fVSLocation; |
| 102 GrGLint fFSLocation; | 102 GrGLint fFSLocation; |
| 103 SkDEBUGCODE( | 103 SkDEBUGCODE( |
| 104 GrSLType fType; | 104 GrSLType fType; |
| 105 int fArrayCount; | 105 int fArrayCount; |
| 106 ); | 106 ); |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 #ifdef SK_DEBUG |
| 110 void printUnused(const Uniform&) const; |
| 111 #else |
| 112 void printUnused(const Uniform&) const {} |
| 113 #endif |
| 114 |
| 109 SkTArray<Uniform, true> fUniforms; | 115 SkTArray<Uniform, true> fUniforms; |
| 110 GrGLGpu* fGpu; | 116 GrGLGpu* fGpu; |
| 111 | 117 |
| 112 typedef SkRefCnt INHERITED; | 118 typedef SkRefCnt INHERITED; |
| 113 }; | 119 }; |
| 114 #endif | 120 #endif |
| OLD | NEW |