Lines Matching defs:dst
176 D3D12_TEXTURE_COPY_LOCATION dst = {};
177 dst.pResource = dstTexture->d3dResource();
178 dst.Type = D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX;
179 dst.SubresourceIndex = subresource;
181 fCommandList->CopyTextureRegion(&dst, left, top, 0, &src, nullptr);
185 void GrD3DCommandList::copyTextureRegionToTexture(sk_sp<GrManagedResource> dst,
192 SkASSERT(dst);
194 this->addResource(dst);
199 void GrD3DCommandList::copyTextureRegionToBuffer(sk_sp<const GrBuffer> dst,
207 SkASSERT(dst);
209 this->addGrBuffer(std::move(dst));
215 void GrD3DCommandList::copyTextureToTexture(const GrD3DTexture* dst, const GrD3DTexture* src,
219 SkASSERT(dst);
220 SkASSERT(src->width() == dst->width() && src->height() == dst->height());
223 ID3D12Resource* dstTexture = dst->d3dResource();
229 subresourceIndex < dst->mipLevels());
242 this->addResource(dst->resource());
246 void GrD3DCommandList::copyBufferToBuffer(sk_sp<GrD3DBuffer> dst, uint64_t dstOffset,
252 ID3D12Resource* dstBuffer = dst->d3dResource();
260 this->addGrBuffer(std::move(dst));