Home
last modified time | relevance | path

Searched refs:getBackendFormat (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/src/gpu/
H A DGrYUVABackendTextures.cpp93 num_channels(textures[i].getBackendFormat()) < numRequiredChannels) { in GrYUVABackendTextures()
102 uint32_t channelFlags[] = {fTextures[0].getBackendFormat().channelMask(), in toYUVALocations()
103 fTextures[1].getBackendFormat().channelMask(), in toYUVALocations()
104 fTextures[2].getBackendFormat().channelMask(), in toYUVALocations()
105 fTextures[3].getBackendFormat().channelMask()}; in toYUVALocations()
H A DGrGpu.cpp330 if (!caps->isFormatTexturable(backendTex.getBackendFormat(), backendTex.textureType())) { in wrapBackendTexture()
349 if (!caps->isFormatTexturable(backendTex.getBackendFormat(), backendTex.textureType())) { in wrapCompressedBackendTexture()
371 if (!caps->isFormatTexturable(backendTex.getBackendFormat(), backendTex.textureType()) || in wrapRenderableBackendTexture()
372 !caps->isFormatRenderable(backendTex.getBackendFormat(), sampleCnt)) { in wrapRenderableBackendTexture()
394 if (!caps->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) { in wrapBackendRenderTarget()
953 GrBackendFormat format = backendTexture.getBackendFormat(); in updateCompressedBackendTexture()
H A DGrBackendTextureImageGenerator.cpp57 SkColorTypeToGrColorType(colorType), backendTexture.getBackendFormat())) { in Make()
153 GrBackendFormat backendFormat = fBackendTexture.getBackendFormat(); in onGenerateTexture()
H A DGrBackendSurface.cpp819 GrBackendFormat GrBackendTexture::getBackendFormat() const { in getBackendFormat() function in GrBackendTexture
858 return fMockInfo.getBackendFormat(); in getBackendFormat()
1186 GrBackendFormat GrBackendRenderTarget::getBackendFormat() const { in getBackendFormat() function in GrBackendRenderTarget
1226 return fMockInfo.getBackendFormat(); in getBackendFormat()
H A DGrDirectContext.cpp734 const GrBackendFormat& format = backendTexture.getBackendFormat(); in update_texture_with_pixmaps()
898 GrBackendFormat format = backendTexture.getBackendFormat(); in updateBackendTexture()
1075 GrBackendFormatToCompressionType(backendTexture.getBackendFormat()); in updateCompressedBackendTexture()
H A DGrRecordingContextPriv.cpp331 const GrBackendFormat& format = tex.getBackendFormat(); in makeSFCFromBackendTexture()
H A DGrProxyProvider.cpp628 sampleCnt = caps->getRenderTargetSampleCount(sampleCnt, backendTex.getBackendFormat()); in wrapRenderableBackendTexture()
/third_party/skia/src/gpu/mock/
H A DGrMockTypes.cpp12 GrBackendFormat GrMockRenderTargetInfo::getBackendFormat() const { in getBackendFormat() function in GrMockRenderTargetInfo
16 GrBackendFormat GrMockTextureInfo::getBackendFormat() const { in getBackendFormat() function in GrMockTextureInfo
H A DGrMockTexture.h49 return fInfo.getBackendFormat();
132 return fInfo.getBackendFormat();
/third_party/skia/include/gpu/mock/
H A DGrMockTypes.h40 GrBackendFormat getBackendFormat() const;
73 GrBackendFormat getBackendFormat() const;
/third_party/skia/tests/
H A DBackendAllocationTest.cpp249 if (isRGB(backendTex.getBackendFormat())) { in check_base_readbacks()
282 auto swizzle = dContext->priv().caps()->getReadSwizzle(backendTex.getBackendFormat(), in check_base_readbacks()
374 if (isRGB(backendTex.getBackendFormat())) { in check_mipmaps()
397 auto swizzle = dContext->priv().caps()->getReadSwizzle(backendTex.getBackendFormat(), in check_mipmaps()
496 if (skColorType == kBGRA_8888_SkColorType && !isBGRA8(mbet->texture().getBackendFormat())) { in test_pixmap_init()
643 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
672 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
701 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
H A DPromiseImageTest.cpp139 GrBackendFormat backendFormat = backendTex.getBackendFormat(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
252 mbet->texture().getBackendFormat(), in DEF_GPUTEST()
296 backendTex.getBackendFormat(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
H A DVkWrapTests.cpp187 origBackendTex.getBackendFormat()); in wrap_trt_test()
H A DVkBackendSurfaceTest.cpp59 REPORTER_ASSERT(reporter, drmFormat == drmBETex.getBackendFormat()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
H A DRectangleTextureTest.cpp175 GrSwizzle swizzle = dContext->priv().caps()->getReadSwizzle(rectangleTex.getBackendFormat(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
H A DCompressedBackendAllocationTest.cpp42 GrBackendFormatToCompressionType(backendTex.getBackendFormat()); in create_image()
/third_party/skia/src/image/
H A DSkImage_GpuBase.cpp46 GrBackendFormat backendFormat = tex.getBackendFormat(); in ValidateBackendTexture()
69 GrBackendFormat backendFormat = tex.getBackendFormat(); in ValidateCompressedBackendTexture()
H A DSkSurface_Gpu.cpp442 GrBackendFormat backendFormat = tex.getBackendFormat(); in validate_backend_texture()
558 if (oldTexture->backendFormat() != backendTexture.getBackendFormat()) { in onReplaceBackendTexture()
588 if (!caps->areColorTypeAndFormatCompatible(grCT, rt.getBackendFormat())) { in validate_backend_render_target()
592 if (!caps->isFormatAsColorTypeRenderable(grCT, rt.getBackendFormat(), rt.sampleCnt())) { in validate_backend_render_target()
/third_party/skia/src/gpu/d3d/
H A DGrD3DTexture.h42 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); }
H A DGrD3DRenderTarget.h32 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); }
H A DGrD3DTextureResource.h39 GrBackendFormat getBackendFormat() const { in getBackendFormat() function in GrD3DTextureResource
H A DGrD3DTextureRenderTarget.h39 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); }
/third_party/skia/include/gpu/
H A DGrBackendSurface.h362 GrBackendFormat getBackendFormat() const;
560 GrBackendFormat getBackendFormat() const;
/third_party/skia/src/core/
H A DSkSurfaceCharacterization.cpp136 if (fBackendFormat != backendTex.getBackendFormat()) { in isCompatible()
/third_party/skia/tools/
H A DDDLPromiseImageHelper.cpp82 SkASSERT(fBackendFormat == backendTexture.getBackendFormat()); in setBackendTexture()

Completed in 19 milliseconds

12