| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 GrVkUniformHandler_DEFINED | 8 #ifndef GrVkUniformHandler_DEFINED |
| 9 #define GrVkUniformHandler_DEFINED | 9 #define GrVkUniformHandler_DEFINED |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 const UniformInfo& getUniformInfo(UniformHandle u) const { | 70 const UniformInfo& getUniformInfo(UniformHandle u) const { |
| 71 return fUniforms[u.toIndex()]; | 71 return fUniforms[u.toIndex()]; |
| 72 } | 72 } |
| 73 | 73 |
| 74 | 74 |
| 75 UniformInfoArray fUniforms; | 75 UniformInfoArray fUniforms; |
| 76 uint32_t fCurrentVertexUBOOffset; | 76 uint32_t fCurrentVertexUBOOffset; |
| 77 uint32_t fCurrentFragmentUBOOffset; | 77 uint32_t fCurrentFragmentUBOOffset; |
| 78 uint32_t fCurrentSamplerBinding; | 78 uint32_t fCurrentSamplerBinding; |
| 79 | 79 |
| 80 friend class GrVkProgramBuilder; | 80 friend class GrVkPipelineStateBuilder; |
| 81 | 81 |
| 82 typedef GrGLSLUniformHandler INHERITED; | 82 typedef GrGLSLUniformHandler INHERITED; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 #endif | 85 #endif |
| OLD | NEW |