Home
last modified time | relevance | path

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

/external/skia/src/gpu/d3d/
DGrD3DGpu.cpp452 if (this->d3dCaps().canCopyAsResolve(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)) { in onCopySurface()
457 if (this->d3dCaps().canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)) { in onCopySurface()
475 SkASSERT(this->d3dCaps().canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)); in copySurfaceAsCopyTexture()
681 SkASSERT(this->d3dCaps().surfaceSupportsWritePixels(tex)); in uploadToTexture()
682 SkASSERT(this->d3dCaps().areColorTypeAndFormatCompatible(colorType, tex->backendFormat())); in uploadToTexture()
798 if (!check_tex_resource_info(this->d3dCaps(), textureInfo)) { in onWrapBackendTexture()
832 if (!check_tex_resource_info(this->d3dCaps(), textureInfo)) { in onWrapRenderableBackendTexture()
835 if (!check_rt_resource_info(this->d3dCaps(), textureInfo, sampleCnt)) { in onWrapRenderableBackendTexture()
844 sampleCnt = this->d3dCaps().getRenderTargetSampleCount(sampleCnt, textureInfo.fFormat); in onWrapRenderableBackendTexture()
864 if (!check_rt_resource_info(this->d3dCaps(), info, rt.sampleCnt())) { in onWrapBackendRenderTarget()
[all …]
DGrD3DGpu.h35 const GrD3DCaps& d3dCaps() const { return static_cast<const GrD3DCaps&>(*this->caps()); } in d3dCaps() function
83 return GrBackendFormat::MakeDxgi(this->d3dCaps().preferredStencilFormat()); in getPreferredStencilFormat()