Lines Matching refs:d3dRT
54 GrD3DRenderTarget* d3dRT = static_cast<GrD3DRenderTarget*>(fRenderTarget); in onBegin() local
55 if (d3dRT->numSamples() > 1) { in onBegin()
56 d3dRT->msaaTextureResource()->setResourceState(fGpu, D3D12_RESOURCE_STATE_RENDER_TARGET); in onBegin()
58 d3dRT->setResourceState(fGpu, D3D12_RESOURCE_STATE_RENDER_TARGET); in onBegin()
60 fGpu->currentCommandList()->setRenderTarget(d3dRT); in onBegin()
65 fGpu->currentCommandList()->clearRenderTargetView(d3dRT, fClearColor, nullptr); in onBegin()
68 if (auto stencil = d3dRT->getStencilAttachment()) { in onBegin()
178 GrD3DRenderTarget* d3dRT = static_cast<GrD3DRenderTarget*>(fRenderTarget); in onBindPipeline() local
180 fGpu->resourceProvider().findOrCreateCompatiblePipelineState(d3dRT, info); in onBindPipeline()
320 auto d3dRT = static_cast<GrD3DRenderTarget*>(fRenderTarget); in onClear() local
321 SkASSERT(d3dRT->grD3DResourceState()->getResourceState() == D3D12_RESOURCE_STATE_RENDER_TARGET); in onClear()
322 fGpu->currentCommandList()->clearRenderTargetView(d3dRT, color, &clearRect); in onClear()