Lines Matching refs:gpu

8 #include "src/gpu/d3d/GrD3DPipelineState.h"
11 #include "src/gpu/GrFragmentProcessor.h"
12 #include "src/gpu/GrGeometryProcessor.h"
13 #include "src/gpu/GrProgramInfo.h"
14 #include "src/gpu/GrStencilSettings.h"
15 #include "src/gpu/GrXferProcessor.h"
16 #include "src/gpu/d3d/GrD3DBuffer.h"
17 #include "src/gpu/d3d/GrD3DGpu.h"
18 #include "src/gpu/d3d/GrD3DPipeline.h"
19 #include "src/gpu/d3d/GrD3DRootSignature.h"
20 #include "src/gpu/d3d/GrD3DTexture.h"
21 #include "src/gpu/effects/GrTextureEffect.h"
46 void GrD3DPipelineState::setAndBindConstants(GrD3DGpu* gpu,
51 fGPImpl->setData(fDataManager, *gpu->caps()->shaderCaps(), programInfo.geomProc());
64 D3D12_GPU_VIRTUAL_ADDRESS constantsAddress = fDataManager.uploadConstants(gpu);
65 gpu->currentCommandList()->setGraphicsRootConstantBufferView(
93 void GrD3DPipelineState::setAndBindTextures(GrD3DGpu* gpu,
109 gpu->resourceProvider().findOrCreateCompatibleSampler(sampler.samplerState());
110 gpu->currentCommandList()->addSampledTextureRef(texture);
116 samplers[currTextureBinding++] = gpu->resourceProvider().findOrCreateCompatibleSampler(
118 gpu->currentCommandList()->addSampledTextureRef(texture);
126 gpu->resourceProvider().findOrCreateCompatibleSampler(samplerState);
127 gpu->currentCommandList()->addSampledTextureRef(texture);
136 gpu->resourceProvider().findOrCreateShaderViewTable(shaderResourceViews);
138 gpu->resourceProvider().findOrCreateSamplerTable(samplers);
139 gpu->currentCommandList()->setDescriptorHeaps(srvTable->heap(), samplerTable->heap());
142 gpu->currentCommandList()->setGraphicsRootDescriptorTable(
147 gpu->currentCommandList()->setGraphicsRootDescriptorTable(
153 void GrD3DPipelineState::bindBuffers(GrD3DGpu* gpu, sk_sp<const GrBuffer> indexBuffer,
164 gpu, D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER);
171 gpu, D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER);
180 gpu, D3D12_RESOURCE_STATE_INDEX_BUFFER);