Lines Matching refs:visibilities

20     SkSTArray<2, uint32_t> visibilities;  in CreateUniformManager()  local
28 visibilities.push_back(geomStages); in CreateUniformManager()
29 visibilities.push_back(kFragment_GrShaderFlag); in CreateUniformManager()
32 return new GrVkDescriptorSetManager(gpu, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, visibilities, in CreateUniformManager()
38 SkSTArray<4, uint32_t> visibilities; in CreateSamplerManager() local
42 visibilities.push_back(uniformHandler.samplerVisibility(i)); in CreateSamplerManager()
45 return new GrVkDescriptorSetManager(gpu, type, visibilities, immutableSamplers); in CreateSamplerManager()
49 GrVkGpu* gpu, VkDescriptorType type, const SkTArray<uint32_t>& visibilities) { in CreateSamplerManager() argument
52 for (int i = 0 ; i < visibilities.count(); ++i) { in CreateSamplerManager()
55 return new GrVkDescriptorSetManager(gpu, type, visibilities, immutableSamplers); in CreateSamplerManager()
60 const SkTArray<uint32_t>& visibilities, in GrVkDescriptorSetManager() argument
62 : fPoolManager(type, gpu, visibilities, immutableSamplers) { in GrVkDescriptorSetManager()
65 SkASSERT(visibilities.count() == immutableSamplers.count()); in GrVkDescriptorSetManager()
70 for (int i = 0; i < visibilities.count(); ++i) { in GrVkDescriptorSetManager()
71 fBindingVisibilities.push_back(visibilities[i]); in GrVkDescriptorSetManager()
157 const SkTArray<uint32_t>& visibilities) const { in isCompatible()
164 if (fBindingVisibilities.count() != visibilities.count()) { in isCompatible()
167 for (int i = 0; i < visibilities.count(); ++i) { in isCompatible()
168 if (visibilities[i] != fBindingVisibilities[i] || fImmutableSamplers[i] != nullptr) { in isCompatible()
196 const SkTArray<uint32_t>& visibilities, in DescriptorPoolManager() argument
205 uint32_t numBindings = visibilities.count(); in DescriptorPoolManager()
209 uint32_t visibility = visibilities[i]; in DescriptorPoolManager()
243 fDescCountPerSet = visibilities.count(); in DescriptorPoolManager()
247 SkASSERT(kUniformDescPerSet == visibilities.count()); in DescriptorPoolManager()
257 dsUniBindings[i].stageFlags = visibility_to_vk_stage_flags(visibilities[i]); in DescriptorPoolManager()