Home
last modified time | relevance | path

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

/external/skia/src/gpu/d3d/
DGrD3DCaps.h38 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
39 bool isFormatRenderable(DXGI_FORMAT, int sampleCount) const;
DGrD3DCaps.cpp800 if (!this->isFormatRenderable(dxgiFormat, sampleCount)) { in isFormatAsColorTypeRenderable()
810 bool GrD3DCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable() function in GrD3DCaps
815 return this->isFormatRenderable(dxgiFormat, sampleCount); in isFormatRenderable()
818 bool GrD3DCaps::isFormatRenderable(DXGI_FORMAT format, int sampleCount) const { in isFormatRenderable() function in GrD3DCaps
DGrD3DGpu.cpp779 if (!caps.isFormatRenderable(info.fFormat, sampleCnt)) { in check_rt_resource_info()
1086 if (renderable == GrRenderable::kYes && !this->d3dCaps().isFormatRenderable(dxgiFormat, 1)) { in createTextureResourceForBackendSurface()
/external/skia/src/gpu/mtl/
DGrMtlCaps.h36 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
37 bool isFormatRenderable(MTLPixelFormat, int sampleCount) const;
DGrMtlRenderTarget.mm78 if (!gpu->mtlCaps().isFormatRenderable(format, sampleCnt)) {
DGrMtlTextureRenderTarget.mm68 if (!gpu->mtlCaps().isFormatRenderable(format, sampleCnt)) {
DGrMtlCaps.mm386 if (!this->isFormatRenderable(format, sampleCount)) {
398 bool GrMtlCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { function
399 return this->isFormatRenderable(GrBackendFormatAsMTLPixelFormat(format), sampleCount);
402 bool GrMtlCaps::isFormatRenderable(MTLPixelFormat format, int sampleCount) const { function
DGrMtlGpu.mm784 if (!caps.isFormatRenderable(format, sampleCnt)) {
800 if (!this->caps()->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) {
822 if (!fMtlCaps->isFormatRenderable(mtlTexture.pixelFormat, 1) &&
896 if (renderable == GrRenderable::kYes && !fMtlCaps->isFormatRenderable(mtlFormat, 1)) {
/external/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,
/external/skia/src/gpu/mock/
DGrMockCaps.h76 return this->isFormatRenderable(format, sampleCount);
79 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override { in isFormatRenderable() function
/external/skia/src/gpu/vk/
DGrVkCaps.h47 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override;
48 bool isFormatRenderable(VkFormat, int sampleCount) const;
DGrVkCaps.cpp1433 if (!this->isFormatRenderable(format, sampleCount)) { in isFormatAsColorTypeRenderable()
1447 bool GrVkCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable() function in GrVkCaps
1452 return this->isFormatRenderable(vkFormat, sampleCount); in isFormatRenderable()
1455 bool GrVkCaps::isFormatRenderable(VkFormat format, int sampleCount) const { in isFormatRenderable() function in GrVkCaps
DGrVkGpu.cpp1234 if (!caps.isFormatRenderable(info.fFormat, info.fSampleCount)) { in check_rt_image_info()
1486 SkASSERT(this->vkCaps().isFormatRenderable(pixelFormat, numSamples)); in makeMSAAAttachment()
/external/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.cpp670 if (this->glCaps().isFormatRenderable(backendTex.getBackendFormat(), 1)) { in onWrapBackendTexture()
738 SkASSERT(caps.isFormatRenderable(desc.fFormat, sampleCnt)); in onWrapRenderableBackendTexture()
783 if (!this->glCaps().isFormatRenderable(format, backendRT.sampleCnt())) { in onWrapBackendRenderTarget()
2108 if (!renderTarget && !this->glCaps().isFormatRenderable(format, 1)) { in readOrTransferPixelsFrom()
3303 if (!this->glCaps().isFormatRenderable(dstTex->format(), 1)) { in copySurfaceAsDraw()
3440 if (!this->glCaps().doManualMipmapping() || !this->glCaps().isFormatRenderable(format, 1)) { in onRegenerateMipMapLevels()
DGrGLCaps.cpp3326 return this->isFormatRenderable(dstFormat, 1) && srcIsTexturable; in canCopyAsDraw()
4311 return this->isFormatRenderable(f, sampleCount); in isFormatAsColorTypeRenderable()
4314 bool GrGLCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable() function in GrGLCaps
4321 return this->isFormatRenderable(format.asGLFormat(), sampleCount); in isFormatRenderable()
/external/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.cpp490 !caps.isFormatRenderable(surface->asSurfaceProxy()->backendFormat(), 1)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrCaps.h236 virtual bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const = 0;
DGrCaps.cpp313 if (!this->isFormatRenderable(format, renderTargetSampleCnt)) { in validateSurfaceParams()
DGrGpu.cpp312 !caps->isFormatRenderable(backendTex.getBackendFormat(), sampleCnt)) { in wrapRenderableBackendTexture()
334 if (!caps->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) { in wrapBackendRenderTarget()
DGrSurfaceFillContext.cpp60 if (format.isValid() && caps->isFormatRenderable(format, sampleCnt)) { in GetFallbackColorTypeAndFormat()