Lines Matching defs:gpu
8 #include "src/gpu/vk/GrVkPipelineState.h"
11 #include "src/gpu/GrFragmentProcessor.h"
12 #include "src/gpu/GrGeometryProcessor.h"
13 #include "src/gpu/GrPipeline.h"
14 #include "src/gpu/GrRenderTarget.h"
15 #include "src/gpu/GrTexture.h"
16 #include "src/gpu/GrXferProcessor.h"
17 #include "src/gpu/effects/GrTextureEffect.h"
18 #include "src/gpu/vk/GrVkBuffer.h"
19 #include "src/gpu/vk/GrVkCommandBuffer.h"
20 #include "src/gpu/vk/GrVkDescriptorPool.h"
21 #include "src/gpu/vk/GrVkDescriptorSet.h"
22 #include "src/gpu/vk/GrVkGpu.h"
23 #include "src/gpu/vk/GrVkImageView.h"
24 #include "src/gpu/vk/GrVkMemory.h"
25 #include "src/gpu/vk/GrVkPipeline.h"
26 #include "src/gpu/vk/GrVkRenderTarget.h"
27 #include "src/gpu/vk/GrVkSampler.h"
28 #include "src/gpu/vk/GrVkTexture.h"
31 GrVkGpu* gpu,
65 void GrVkPipelineState::freeGPUResources(GrVkGpu* gpu) {
76 bool GrVkPipelineState::setAndBindUniforms(GrVkGpu* gpu,
82 fGPImpl->setData(fDataManager, *gpu->caps()->shaderCaps(), programInfo.geomProc());
96 auto [uniformBuffer, success] = fDataManager.uploadUniforms(gpu, fPipeline->layout(),
104 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), kUniformDSIdx, /*setCount=*/1,
112 bool GrVkPipelineState::setAndBindTextures(GrVkGpu* gpu,
161 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), kSamplerDSIdx,
170 gpu->resourceProvider().getSamplerDescriptorSet(fSamplerDSHandle);
185 sampler = gpu->resourceProvider().findOrCreateCompatibleSampler(
213 GR_VK_CALL(gpu->vkInterface(),
214 UpdateDescriptorSets(gpu->device(), 1, &writeInfo, 0, nullptr));
228 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), kSamplerDSIdx, /*setCount=*/1,
236 bool GrVkPipelineState::setAndBindInputAttachment(GrVkGpu* gpu,
240 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), GrVkUniformHandler::kInputDescSet,
273 void GrVkPipelineState::bindPipeline(const GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer) {
274 commandBuffer->bindPipeline(gpu, fPipeline);