Home
last modified time | relevance | path

Searched refs:texResource (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/d3d/
DGrD3DGpu.cpp569 GrD3DTextureResource* texResource = nullptr; in onReadPixels() local
572 texResource = rt; in onReadPixels()
574 texResource = static_cast<GrD3DTexture*>(surface->asTexture()); in onReadPixels()
577 if (!texResource) { in onReadPixels()
582 srcLocation.pResource = texResource->d3dResource(); in onReadPixels()
605 if (GrDxgiFormatBytesPerBlock(texResource->dxgiFormat()) != bpp) { in onReadPixels()
618 texResource->setResourceState(this, D3D12_RESOURCE_STATE_COPY_SOURCE); in onReadPixels()
621 texResource->resource(), &srcLocation, in onReadPixels()