Searched refs:texResource (Results 1 – 1 of 1) sorted by relevance
569 GrD3DTextureResource* texResource = nullptr; in onReadPixels() local572 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()