Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: src/gpu/vk/GrVkUniformHandler.h

Issue 2172873003: Reuse sampler descriptor set allocations in Vulkan (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 84
85 UniformInfoArray fUniforms; 85 UniformInfoArray fUniforms;
86 SkTArray<GrVkGLSLSampler> fSamplers; 86 SkTArray<GrVkGLSLSampler> fSamplers;
87 87
88 uint32_t fCurrentVertexUBOOffset; 88 uint32_t fCurrentVertexUBOOffset;
89 uint32_t fCurrentFragmentUBOOffset; 89 uint32_t fCurrentFragmentUBOOffset;
90 uint32_t fCurrentSamplerBinding; 90 uint32_t fCurrentSamplerBinding;
91 91
92 friend class GrVkPipelineStateBuilder; 92 friend class GrVkPipelineStateBuilder;
93 friend class GrVkResourceProvider;
jvanverth1 2016/07/25 19:12:56 This is getting awfully friendly -- is there anoth
egdaniel 2016/07/26 13:33:19 Well one went away :), leaving the other as we dis
94 friend class GrVkDescriptorSetManager;
93 95
94 typedef GrGLSLUniformHandler INHERITED; 96 typedef GrGLSLUniformHandler INHERITED;
95 }; 97 };
96 98
97 #endif 99 #endif
OLDNEW
« src/gpu/vk/GrVkDescriptorSetManager.cpp ('K') | « src/gpu/vk/GrVkResourceProvider.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698