Home
last modified time | relevance | path

Searched refs:GrVkUniformHandler (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/src/gpu/vk/
DGrVkMSAALoadManager.cpp75 VkDescriptorSetLayout dsLayout[GrVkUniformHandler::kDescSetCount]; in createMSAALoadProgram()
79 dsLayout[GrVkUniformHandler::kUniformBufferDescSet] = resourceProvider.getUniformDSLayout(); in createMSAALoadProgram()
89 dsLayout[GrVkUniformHandler::kSamplerDescSet] = in createMSAALoadProgram()
92 dsLayout[GrVkUniformHandler::kInputDescSet] = resourceProvider.getInputDSLayout(); in createMSAALoadProgram()
100 layoutCreateInfo.setLayoutCount = GrVkUniformHandler::kDescSetCount; in createMSAALoadProgram()
191 static_assert(GrVkUniformHandler::kUniformBufferDescSet < GrVkUniformHandler::kInputDescSet); in loadMSAAFromResolve()
193 GrVkUniformHandler::kUniformBufferDescSet, in loadMSAAFromResolve()
204 GrVkUniformHandler::kInputDescSet, /*setCount=*/1, in loadMSAAFromResolve()
DGrVkUniformHandler.cpp132 if (layout == GrVkUniformHandler::kStd430Layout) { in grsltype_to_vk_size()
170 if (layout == GrVkUniformHandler::kStd140Layout && (arrayCount || type == kFloat2x2_GrSLType)) { in get_aligned_offset()
190 GrVkUniformHandler::~GrVkUniformHandler() { in ~GrVkUniformHandler()
199 GrGLSLUniformHandler::UniformHandle GrVkUniformHandler::internalAddUniformArray( in internalAddUniformArray()
248 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addSampler( in addSampler()
293 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addInputSampler(const GrSwizzle& swizzle, in addInputSampler()
313 void GrVkUniformHandler::appendUniformDecls(GrShaderFlags visibility, SkString* out) const { in appendUniformDecls()
371 uint32_t GrVkUniformHandler::getRTFlipOffset() const { in getRTFlipOffset()
377 void GrVkUniformHandler::determineIfUsePushConstants() const { in determineIfUsePushConstants()
DGrVkDescriptorSetManager.h20 class GrVkUniformHandler; variable
32 const GrVkUniformHandler&);
48 bool isCompatible(VkDescriptorType type, const GrVkUniformHandler*) const;
DGrVkPipelineStateBuilder.cpp169 VkDescriptorSetLayout dsLayout[GrVkUniformHandler::kDescSetCount]; in finalize()
175 dsLayout[GrVkUniformHandler::kUniformBufferDescSet] = resourceProvider.getUniformDSLayout(); in finalize()
180 dsLayout[GrVkUniformHandler::kSamplerDescSet] = in finalize()
183 dsLayout[GrVkUniformHandler::kInputDescSet] = resourceProvider.getInputDSLayout(); in finalize()
285 usesInput ? GrVkUniformHandler::kDescSetCount : (GrVkUniformHandler::kDescSetCount - 1); in finalize()
DGrVkUniformHandler.h19 class GrVkUniformHandler : public GrGLSLUniformHandler {
65 ~GrVkUniformHandler() override;
97 explicit GrVkUniformHandler(GrGLSLProgramBuilder* program) in GrVkUniformHandler() function
DGrVkPipelineStateDataManager.cpp25 GrVkUniformHandler::Layout memLayout = usePushConstants ? GrVkUniformHandler::kStd430Layout in GrVkPipelineStateDataManager()
26 : GrVkUniformHandler::kStd140Layout; in GrVkPipelineStateDataManager()
DGrVkPipelineState.cpp103 static const int kUniformDSIdx = GrVkUniformHandler::kUniformBufferDescSet; in setAndBindUniforms()
149 static const int kSamplerDSIdx = GrVkUniformHandler::kSamplerDescSet; in setAndBindTextures()
240 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), GrVkUniformHandler::kInputDescSet, in setAndBindInputAttachment()
DGrVkPipelineStateDataManager.h22 typedef GrVkUniformHandler::UniformInfoArray UniformInfoArray;
DGrVkResourceProvider.h37 class GrVkUniformHandler; variable
158 const GrVkUniformHandler&,
DGrVkDescriptorSetManager.cpp28 GrVkGpu* gpu, VkDescriptorType type, const GrVkUniformHandler& uniformHandler) { in CreateSamplerManager()
122 dsUniBinding.binding = GrVkUniformHandler::kUniformBinding; in get_layout_and_desc_count()
267 const GrVkUniformHandler* uniHandler) const { in isCompatible()
DGrVkPipelineStateBuilder.h81 GrVkUniformHandler fUniformHandler;
DGrVkBuffer.cpp54 descriptorWrite.dstBinding = GrVkUniformHandler::kUniformBinding; in make_uniform_desc_set()
DGrVkResourceProvider.cpp340 const GrVkUniformHandler& uniformHandler, in getSamplerDescriptorSetHandle()
DGrVkImage.cpp618 writeInfo.dstBinding = GrVkUniformHandler::kInputBinding; in write_input_desc_set()
/third_party/flutter/skia/src/gpu/vk/
DGrVkUniformHandler.cpp205 GrVkUniformHandler::~GrVkUniformHandler() { in ~GrVkUniformHandler()
215 GrGLSLUniformHandler::UniformHandle GrVkUniformHandler::internalAddUniformArray( in internalAddUniformArray()
257 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addSampler(const GrTexture* texture, in addSampler()
294 void GrVkUniformHandler::appendUniformDecls(GrShaderFlags visibility, SkString* out) const { in appendUniformDecls()
335 uint32_t GrVkUniformHandler::getRTHeightOffset() const { in getRTHeightOffset()
DGrVkDescriptorSetManager.h20 class GrVkUniformHandler; variable
32 const GrVkUniformHandler&);
47 bool isCompatible(VkDescriptorType type, const GrVkUniformHandler*) const;
DGrVkUniformHandler.h18 class GrVkUniformHandler : public GrGLSLUniformHandler {
46 ~GrVkUniformHandler() override;
62 explicit GrVkUniformHandler(GrGLSLProgramBuilder* program) in GrVkUniformHandler() function
DGrVkPipelineState.cpp146 int uniformDSIdx = GrVkUniformHandler::kUniformBufferDescSet; in setAndBindUniforms()
217 int samplerDSIdx = GrVkUniformHandler::kSamplerDescSet; in setAndBindTextures()
243 writeInfo.dstSet = fDescriptorSets[GrVkUniformHandler::kSamplerDescSet]; in setAndBindTextures()
282 descriptorWrite->dstBinding = GrVkUniformHandler::kUniformBinding; in set_uniform_descriptor_writes()
301 fDescriptorSets[GrVkUniformHandler::kUniformBufferDescSet]); in writeUniformBuffers()
DGrVkResourceProvider.h36 class GrVkUniformHandler; variable
125 const GrVkUniformHandler&,
DGrVkDescriptorSetManager.cpp33 GrVkGpu* gpu, VkDescriptorType type, const GrVkUniformHandler& uniformHandler) { in CreateSamplerManager()
133 const GrVkUniformHandler* uniHandler) const { in isCompatible()
247 dsUniBinding.binding = GrVkUniformHandler::kUniformBinding; in DescriptorPoolManager()
DGrVkPipelineStateBuilder.h122 GrVkUniformHandler fUniformHandler;
DGrVkPipelineStateDataManager.h22 typedef GrVkUniformHandler::UniformInfoArray UniformInfoArray;
DGrVkPipelineStateBuilder.cpp165 dsLayout[GrVkUniformHandler::kUniformBufferDescSet] = resourceProvider.getUniformDSLayout(); in finalize()
170 dsLayout[GrVkUniformHandler::kSamplerDescSet] = in finalize()
DGrVkPipelineStateDataManager.cpp24 const GrVkUniformHandler::UniformInfo uniformInfo = uniforms[i]; in GrVkPipelineStateDataManager()
DGrVkResourceProvider.cpp240 const GrVkUniformHandler& uniformHandler, in getSamplerDescriptorSetHandle()

12