Home
last modified time | relevance | path

Searched refs:isFormatRenderable (Results 1 - 18 of 18) sorted by relevance

/third_party/skia/src/gpu/d3d/
H A DGrD3DCaps.h39 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
40 bool isFormatRenderable(DXGI_FORMAT, int sampleCount) const;
H A 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
H A DGrD3DGpu.cpp933 if (!caps.isFormatRenderable(info.fFormat, sampleCnt)) { in check_rt_resource_info()
1299 if (renderable == GrRenderable::kYes && !this->d3dCaps().isFormatRenderable(dxgiFormat, 1)) { in createTextureResourceForBackendSurface()
/third_party/skia/src/gpu/mtl/
H A DGrMtlCaps.h36 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
37 bool isFormatRenderable(MTLPixelFormat, int sampleCount) const;
/third_party/skia/src/gpu/mock/
H A DGrMockCaps.h75 return this->isFormatRenderable(format, sampleCount);
78 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override {
/third_party/skia/src/gpu/dawn/
H A DGrDawnCaps.cpp72 bool GrDawnCaps::isFormatRenderable(const GrBackendFormat& format, in isFormatRenderable() function in GrDawnCaps
84 return isFormatRenderable(format, sampleCount); in isFormatAsColorTypeRenderable()
H A DGrDawnCaps.h22 bool isFormatRenderable(const GrBackendFormat& format,
/third_party/skia/src/gpu/vk/
H A DGrVkCaps.h47 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
48 bool isFormatRenderable(VkFormat, int sampleCount) const;
H A DGrVkCaps.cpp1474 if (!this->isFormatRenderable(format, sampleCount)) { in isFormatAsColorTypeRenderable()
1488 bool GrVkCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable() function in GrVkCaps
1493 return this->isFormatRenderable(vkFormat, sampleCount); in isFormatRenderable()
1496 bool GrVkCaps::isFormatRenderable(VkFormat format, int sampleCount) const { in isFormatRenderable() function in GrVkCaps
H A DGrVkGpu.cpp1398 if (!caps.isFormatRenderable(info.fFormat, info.fSampleCount)) { in check_rt_image_info()
1651 SkASSERT(this->vkCaps().isFormatRenderable(pixelFormat, numSamples)); in makeMSAAAttachment()
/third_party/skia/src/gpu/
H A DGrCaps.cpp326 if (!this->isFormatRenderable(format, renderTargetSampleCnt)) { in validateSurfaceParams()
486 if (format.isValid() && this->isFormatRenderable(format, sampleCnt)) { in getFallbackColorTypeAndFormat()
H A DGrCaps.h243 virtual bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const = 0;
H A DGrGpu.cpp372 !caps->isFormatRenderable(backendTex.getBackendFormat(), sampleCnt)) { in wrapRenderableBackendTexture()
394 if (!caps->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) { in wrapBackendRenderTarget()
/third_party/skia/src/gpu/gl/
H A DGrGLCaps.h128 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
129 bool isFormatRenderable(GrGLFormat format, int sampleCount) const { in isFormatRenderable() function in GrGLCaps
H A 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()
2153 if (!renderTarget && !this->glCaps().isFormatRenderable(format, 1)) { in readOrTransferPixelsFrom()
3348 if (!this->glCaps().isFormatRenderable(dstTex->format(), 1)) { in copySurfaceAsDraw()
3483 if (!this->glCaps().doManualMipmapping() || !this->glCaps().isFormatRenderable(format, 1)) { in onRegenerateMipMapLevels()
H A 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/
H A DGrSurfaceTest.cpp77 // This test checks that the isFormatTexturable and isFormatRenderable are
153 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()
H A DReadWritePixelsGpuTest.cpp493 !caps.isFormatRenderable(surface->asSurfaceProxy()->backendFormat(), 1)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

Completed in 36 milliseconds