/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DCaps.h | 39 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override; 40 bool isFormatRenderable(DXGI_FORMAT, int sampleCount) const;
|
H A D | GrD3DCaps.cpp | 805 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 D | GrD3DGpu.cpp | 933 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 D | GrMtlCaps.h | 36 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override; 37 bool isFormatRenderable(MTLPixelFormat, int sampleCount) const;
|
/third_party/skia/src/gpu/mock/ |
H A D | GrMockCaps.h | 75 return this->isFormatRenderable(format, sampleCount); 78 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override {
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnCaps.cpp | 72 bool GrDawnCaps::isFormatRenderable(const GrBackendFormat& format, in isFormatRenderable() function in GrDawnCaps 84 return isFormatRenderable(format, sampleCount); in isFormatAsColorTypeRenderable()
|
H A D | GrDawnCaps.h | 22 bool isFormatRenderable(const GrBackendFormat& format,
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCaps.h | 47 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override; 48 bool isFormatRenderable(VkFormat, int sampleCount) const;
|
H A D | GrVkCaps.cpp | 1474 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 D | GrVkGpu.cpp | 1398 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 D | GrCaps.cpp | 326 if (!this->isFormatRenderable(format, renderTargetSampleCnt)) { in validateSurfaceParams() 486 if (format.isValid() && this->isFormatRenderable(format, sampleCnt)) { in getFallbackColorTypeAndFormat()
|
H A D | GrCaps.h | 243 virtual bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const = 0;
|
H A D | GrGpu.cpp | 372 !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 D | GrGLCaps.h | 128 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override; 129 bool isFormatRenderable(GrGLFormat format, int sampleCount) const { in isFormatRenderable() function in GrGLCaps
|
H A D | GrGLGpu.cpp | 676 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 D | GrGLCaps.cpp | 3465 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 D | GrSurfaceTest.cpp | 77 // 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 D | ReadWritePixelsGpuTest.cpp | 493 !caps.isFormatRenderable(surface->asSurfaceProxy()->backendFormat(), 1)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|