Home
last modified time | relevance | path

Searched refs:isFormatTexturable (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/src/gpu/d3d/
DGrD3DCaps.h31 bool isFormatTexturable(const GrBackendFormat&) const override;
32 bool isFormatTexturable(DXGI_FORMAT) const;
DGrD3DCaps.cpp780 bool GrD3DCaps::isFormatTexturable(const GrBackendFormat& format) const { in isFormatTexturable() function in GrD3DCaps
786 return this->isFormatTexturable(dxgiFormat); in isFormatTexturable()
789 bool GrD3DCaps::isFormatTexturable(DXGI_FORMAT format) const { in isFormatTexturable() function in GrD3DCaps
962 if (this->isFormatTexturable(DXGI_FORMAT_BC1_UNORM)) { in getBackendFormatFromCompressionType()
DGrD3DGpu.cpp668 SkASSERT(this->caps()->isFormatTexturable(tex->backendFormat())); in uploadToTexture()
767 if (!caps.isFormatTexturable(info.fFormat)) { in check_tex_resource_info()
899 if (!caps.isFormatTexturable(d3dTex->dxgiFormat()) || in onRegenerateMipMapLevels()
1082 if (texturable == GrTexturable::kYes && !this->d3dCaps().isFormatTexturable(dxgiFormat)) { in createTextureResourceForBackendSurface()
1155 if (!caps.isFormatTexturable(dxgiFormat)) { in onCreateBackendTexture()
/external/skia/src/gpu/mtl/
DGrMtlCaps.h29 bool isFormatTexturable(const GrBackendFormat&) const override;
30 bool isFormatTexturable(MTLPixelFormat) const;
DGrMtlCaps.mm374 bool GrMtlCaps::isFormatTexturable(const GrBackendFormat& format) const { function
376 return this->isFormatTexturable(mtlFormat);
379 bool GrMtlCaps::isFormatTexturable(MTLPixelFormat format) const { function
DGrMtlGpu.mm346 SkASSERT(this->caps()->isFormatTexturable(tex->backendFormat()));
448 SkASSERT(this->mtlCaps().isFormatTexturable(tex->backendFormat()));
613 SkASSERT(this->caps()->isFormatTexturable(format));
893 if (texturable == GrTexturable::kYes && !fMtlCaps->isFormatTexturable(mtlFormat)) {
/external/skia/src/gpu/
DGrGpu.cpp245 if (!this->caps()->isFormatTexturable(format)) { in createCompressedTexture()
270 if (!caps->isFormatTexturable(backendTex.getBackendFormat())) { in wrapBackendTexture()
289 if (!caps->isFormatTexturable(backendTex.getBackendFormat())) { in wrapCompressedBackendTexture()
311 if (!caps->isFormatTexturable(backendTex.getBackendFormat()) || in wrapRenderableBackendTexture()
388 SkASSERT(this->caps()->isFormatTexturable(surface->backendFormat())); in readPixels()
509 SkASSERT(this->caps()->isFormatTexturable(surface->backendFormat())); in transferPixelsFrom()
DGrContext_Base.cpp48 SkASSERT(!format.isValid() || caps->isFormatTexturable(format)); in compressedBackendFormat()
DGrCaps.cpp300 if (!this->isFormatTexturable(format)) { in validateSurfaceParams()
376 if (!this->isFormatTexturable(format)) { in getDefaultBackendFormat()
DGrContextThreadSafeProxy.cpp102 if (isTextureable && !fCaps->isFormatTexturable(backendFormat)) { in createCharacterization()
DGrCaps.h218 virtual bool isFormatTexturable(const GrBackendFormat&) const = 0;
DGrProxyProvider.cpp457 if (!this->caps()->isFormatTexturable(format)) { in createCompressedTextureProxy()
/external/skia/src/gpu/dawn/
DGrDawnCaps.h30 bool isFormatTexturable(const GrBackendFormat& format) const override;
DGrDawnCaps.cpp40 bool GrDawnCaps::isFormatTexturable(const GrBackendFormat& format) const { in isFormatTexturable() function in GrDawnCaps
/external/skia/src/gpu/mock/
DGrMockGpu.cpp232 if (!this->caps()->isFormatTexturable(format)) { in onCreateBackendTexture()
250 if (!this->caps()->isFormatTexturable(format)) { in onCreateCompressedBackendTexture()
DGrMockCaps.h54 bool isFormatTexturable(const GrBackendFormat& format) const override { in isFormatTexturable() function
/external/skia/src/gpu/gl/
DGrGLCaps.h123 bool isFormatTexturable(const GrBackendFormat&) const override;
124 bool isFormatTexturable(GrGLFormat) const;
DGrGLCaps.cpp4285 bool GrGLCaps::isFormatTexturable(const GrBackendFormat& format) const { in isFormatTexturable() function in GrGLCaps
4289 return this->isFormatTexturable(format.asGLFormat()); in isFormatTexturable()
4292 bool GrGLCaps::isFormatTexturable(GrGLFormat format) const { in isFormatTexturable() function in GrGLCaps
4447 if (this->isFormatTexturable(GrGLFormat::kCOMPRESSED_RGB8_ETC2)) { in getBackendFormatFromCompressionType()
4450 if (this->isFormatTexturable(GrGLFormat::kCOMPRESSED_ETC1_RGB8)) { in getBackendFormatFromCompressionType()
4455 if (this->isFormatTexturable(GrGLFormat::kCOMPRESSED_RGB8_BC1)) { in getBackendFormatFromCompressionType()
4461 if (this->isFormatTexturable(GrGLFormat::kCOMPRESSED_RGBA8_BC1)) { in getBackendFormatFromCompressionType()
/external/skia/tests/
DGrSurfaceTest.cpp129 bool isTexturable = caps->isFormatTexturable(combo.fFormat); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
222 if (!caps->isFormatTexturable(combo.fFormat)) { in DEF_GPUTEST()
DMtlBackendAllocationTest.mm92 if (!mtlCaps->isFormatTexturable(combo.fFormat)) {
DCompressedBackendAllocationTest.cpp298 if (!caps->isFormatTexturable(format)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/vk/
DGrVkCaps.h39 bool isFormatTexturable(const GrBackendFormat&) const override;
/external/skia/tools/
DDDLTileHelper.cpp38 SkASSERT(caps->isFormatTexturable(backendFormat)); in init()
DDDLPromiseImageHelper.cpp248 if (!caps->isFormatTexturable(backendFormat)) { in createCallbackContexts()
/external/skia/src/image/
DSkSurface_Gpu.cpp464 if (texturable && !caps->isFormatTexturable(backendFormat)) { in validate_backend_texture()

12