Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/d3d/
DGrD3DCaps.h39 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
40 bool isFormatRenderable(DXGI_FORMAT, int sampleCount) const;
DGrD3DCaps.cpp805 if (!this->isFormatRenderable(dxgiFormat, sampleCount)) { in isFormatAsColorTypeRenderable()
815 bool GrD3DCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable() function in GrD3DCaps
820 return this->isFormatRenderable(dxgiFormat, sampleCount); in isFormatRenderable()
823 bool GrD3DCaps::isFormatRenderable(DXGI_FORMAT format, int sampleCount) const { in isFormatRenderable() function in GrD3DCaps
DGrD3DGpu.cpp922 if (!caps.isFormatRenderable(info.fFormat, sampleCnt)) { in check_rt_resource_info()
1288 if (renderable == GrRenderable::kYes && !this->d3dCaps().isFormatRenderable(dxgiFormat, 1)) { in createTextureResourceForBackendSurface()
/third_party/skia/src/gpu/mtl/
DGrMtlCaps.h36 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
37 bool isFormatRenderable(MTLPixelFormat, int sampleCount) const;
DGrMtlRenderTarget.mm65 if (!gpu->mtlCaps().isFormatRenderable(format, sampleCnt)) {
DGrMtlCaps.mm426 if (!this->isFormatRenderable(format, sampleCount)) {
438 bool GrMtlCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { function
439 return this->isFormatRenderable(GrBackendFormatAsMTLPixelFormat(format), sampleCount);
442 bool GrMtlCaps::isFormatRenderable(MTLPixelFormat format, int sampleCount) const { function
DGrMtlGpu.mm538 SkASSERT(this->mtlCaps().isFormatRenderable(pixelFormat, numSamples));
759 if (!caps.isFormatRenderable(format, sampleCnt)) {
775 if (!this->caps()->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) {
797 if (!fMtlCaps->isFormatRenderable(mtlTexture.pixelFormat, 1) &&
875 if (renderable == GrRenderable::kYes && !fMtlCaps->isFormatRenderable(mtlFormat, 1)) {
/third_party/skia/src/gpu/mock/
DGrMockCaps.h75 return this->isFormatRenderable(format, sampleCount);
78 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override { in isFormatRenderable() function
/third_party/skia/src/gpu/dawn/
DGrDawnCaps.cpp72 bool GrDawnCaps::isFormatRenderable(const GrBackendFormat& format, in isFormatRenderable() function in GrDawnCaps
84 return isFormatRenderable(format, sampleCount); in isFormatAsColorTypeRenderable()
DGrDawnCaps.h22 bool isFormatRenderable(const GrBackendFormat& format,
/third_party/skia/src/gpu/vk/
DGrVkCaps.h47 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
48 bool isFormatRenderable(VkFormat, int sampleCount) const;
DGrVkCaps.cpp1472 if (!this->isFormatRenderable(format, sampleCount)) { in isFormatAsColorTypeRenderable()
1486 bool GrVkCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable() function in GrVkCaps
1491 return this->isFormatRenderable(vkFormat, sampleCount); in isFormatRenderable()
1494 bool GrVkCaps::isFormatRenderable(VkFormat format, int sampleCount) const { in isFormatRenderable() function in GrVkCaps
DGrVkGpu.cpp1255 if (!caps.isFormatRenderable(info.fFormat, info.fSampleCount)) { in check_rt_image_info()
1508 SkASSERT(this->vkCaps().isFormatRenderable(pixelFormat, numSamples)); in makeMSAAAttachment()
/third_party/skia/src/gpu/
DGrCaps.cpp326 if (!this->isFormatRenderable(format, renderTargetSampleCnt)) { in validateSurfaceParams()
486 if (format.isValid() && this->isFormatRenderable(format, sampleCnt)) { in getFallbackColorTypeAndFormat()
DGrCaps.h243 virtual bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const = 0;
DGrGpu.cpp339 !caps->isFormatRenderable(backendTex.getBackendFormat(), sampleCnt)) { in wrapRenderableBackendTexture()
361 if (!caps->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) { in wrapBackendRenderTarget()
/third_party/skia/src/gpu/gl/
DGrGLCaps.h128 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
129 bool isFormatRenderable(GrGLFormat format, int sampleCount) const { in isFormatRenderable() function
DGrGLGpu.cpp676 if (this->glCaps().isFormatRenderable(backendTex.getBackendFormat(), 1)) { in onWrapBackendTexture()
744 SkASSERT(caps.isFormatRenderable(desc.fFormat, sampleCnt)); in onWrapRenderableBackendTexture()
789 if (!this->glCaps().isFormatRenderable(format, backendRT.sampleCnt())) { in onWrapBackendRenderTarget()
2142 if (!renderTarget && !this->glCaps().isFormatRenderable(format, 1)) { in readOrTransferPixelsFrom()
3337 if (!this->glCaps().isFormatRenderable(dstTex->format(), 1)) { in copySurfaceAsDraw()
3472 if (!this->glCaps().doManualMipmapping() || !this->glCaps().isFormatRenderable(format, 1)) { in onRegenerateMipMapLevels()
DGrGLCaps.cpp3465 return this->isFormatRenderable(dstFormat, 1) && srcIsTexturable; in canCopyAsDraw()
4582 return this->isFormatRenderable(f, sampleCount); in isFormatAsColorTypeRenderable()
4585 bool GrGLCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable() function in GrGLCaps
4592 return this->isFormatRenderable(format.asGLFormat(), sampleCount); in isFormatRenderable()
/third_party/skia/tests/
DGrSurfaceTest.cpp153 bool isRenderable = caps->isFormatRenderable(combo.fFormat, 1); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
166 bool isRenderable = caps->isFormatRenderable(combo.fFormat, 2); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DReadWritePixelsGpuTest.cpp493 !caps.isFormatRenderable(surface->asSurfaceProxy()->backendFormat(), 1)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()