Home
last modified time | relevance | path

Searched refs:getBackendFormat (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/src/gpu/
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()
DGrGpu.cpp270 if (!caps->isFormatTexturable(backendTex.getBackendFormat())) { in wrapBackendTexture()
289 if (!caps->isFormatTexturable(backendTex.getBackendFormat())) { in wrapCompressedBackendTexture()
311 if (!caps->isFormatTexturable(backendTex.getBackendFormat()) || in wrapRenderableBackendTexture()
312 !caps->isFormatRenderable(backendTex.getBackendFormat(), sampleCnt)) { in wrapRenderableBackendTexture()
334 if (!caps->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) { in wrapBackendRenderTarget()
851 GrBackendFormat format = backendTexture.getBackendFormat(); in updateCompressedBackendTexture()
DGrBackendTextureImageGenerator.cpp58 SkColorTypeToGrColorType(colorType), backendTexture.getBackendFormat())) { in Make()
154 GrBackendFormat backendFormat = fBackendTexture.getBackendFormat(); in onGenerateTexture()
DGrBackendSurface.cpp765 GrBackendFormat GrBackendTexture::getBackendFormat() const { in getBackendFormat() function in GrBackendTexture
803 return fMockInfo.getBackendFormat(); in getBackendFormat()
1131 GrBackendFormat GrBackendRenderTarget::getBackendFormat() const { in getBackendFormat() function in GrBackendRenderTarget
1171 return fMockInfo.getBackendFormat(); in getBackendFormat()
/external/skia/src/gpu/mock/
DGrMockTypes.cpp12 GrBackendFormat GrMockRenderTargetInfo::getBackendFormat() const { in getBackendFormat() function in GrMockRenderTargetInfo
16 GrBackendFormat GrMockTextureInfo::getBackendFormat() const { in getBackendFormat() function in GrMockTextureInfo
DGrMockTexture.h49 return fInfo.getBackendFormat(); in backendFormat()
132 return fInfo.getBackendFormat(); in backendFormat()
/external/skqp/tests/
DPromiseImageTest.cpp148 GrBackendFormat backendFormat = backendTex.getBackendFormat(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
304 GrBackendFormat backendFormat = backendTex.getBackendFormat(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
433 GrBackendFormat backendFormat = backendTex1.getBackendFormat(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
435 REPORTER_ASSERT(reporter, backendFormat == backendTex2.getBackendFormat()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
436 REPORTER_ASSERT(reporter, backendFormat == backendTex3.getBackendFormat()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
707 if (backendTex1.getBackendFormat() != backendTex2.getBackendFormat()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
723 ctx, backendTex1.getBackendFormat(), kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
730 ctx, backendTex1.getBackendFormat(), kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
830 ctx, backendTex.getBackendFormat(), kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST()
879 ctx, backendTex.getBackendFormat(), kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/gpu/mock/
DGrMockTypes.h40 GrBackendFormat getBackendFormat() const;
73 GrBackendFormat getBackendFormat() const;
/external/skia/src/image/
DSkSurface_Gpu.cpp451 GrBackendFormat backendFormat = tex.getBackendFormat(); in validate_backend_texture()
524 tex.getBackendFormat()); in MakeFromBackendTexture()
576 if (oldTexture->backendFormat() != backendTexture.getBackendFormat()) { in onReplaceBackendTexture()
602 if (!caps->areColorTypeAndFormatCompatible(grCT, rt.getBackendFormat())) { in validate_backend_render_target()
606 if (!caps->isFormatAsColorTypeRenderable(grCT, rt.getBackendFormat(), rt.sampleCnt())) { in validate_backend_render_target()
634 rt.getBackendFormat()); in MakeFromBackendRenderTarget()
DSkImage_GpuBase.cpp46 GrBackendFormat backendFormat = tex.getBackendFormat(); in ValidateBackendTexture()
69 GrBackendFormat backendFormat = tex.getBackendFormat(); in ValidateCompressedBackendTexture()
/external/skia/tests/
DBackendAllocationTest.cpp248 if (isRGB(backendTex.getBackendFormat())) { in check_base_readbacks()
281 auto swizzle = dContext->priv().caps()->getReadSwizzle(backendTex.getBackendFormat(), in check_base_readbacks()
373 if (isRGB(backendTex.getBackendFormat())) { in check_mipmaps()
396 auto swizzle = dContext->priv().caps()->getReadSwizzle(backendTex.getBackendFormat(), in check_mipmaps()
503 if (skColorType == kBGRA_8888_SkColorType && !isBGRA8(mbet->texture().getBackendFormat())) { in test_pixmap_init()
649 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
678 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
707 SkASSERT(format == mbet->texture().getBackendFormat()); in color_type_backend_allocation_test()
DPromiseImageTest.cpp138 GrBackendFormat backendFormat = backendTex.getBackendFormat(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
251 mbet->texture().getBackendFormat(), in DEF_GPUTEST()
295 backendTex.getBackendFormat(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/
DGrBackendTextureImageGenerator.cpp46 GrBackendFormat backendFormat = backendTexture.getBackendFormat(); in Make()
142 GrBackendFormat format = backendTexture.getBackendFormat(); in onGenerateTexture()
/external/skia/src/gpu/d3d/
DGrD3DTexture.h41 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); } in backendFormat()
DGrD3DTextureRenderTarget.h39 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); } in backendFormat()
DGrD3DTextureResource.h39 GrBackendFormat getBackendFormat() const { in getBackendFormat() function
DGrD3DRenderTarget.h32 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); } in backendFormat()
/external/skqp/src/gpu/vk/
DGrVkTexture.h35 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); } in backendFormat()
DGrVkTextureRenderTarget.h41 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); } in backendFormat()
DGrVkRenderTarget.h45 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); } in backendFormat()
/external/skia/src/gpu/vk/
DGrVkTexture.h44 GrBackendFormat backendFormat() const override { return fTexture->getBackendFormat(); } in backendFormat()
DGrVkAttachment.h53 GrBackendFormat backendFormat() const override { return this->getBackendFormat(); } in backendFormat()
/external/skia/include/gpu/
DGrBackendSurface.h330 GrBackendFormat getBackendFormat() const;
519 GrBackendFormat getBackendFormat() const;
/external/skqp/tools/
DDDLPromiseImageHelper.cpp229 backendFormats[i] = backendTex.getBackendFormat(); in PromiseImageCreator()
256 GrBackendFormat backendFormat = backendTex.getBackendFormat(); in PromiseImageCreator()
/external/skia/src/core/
DSkSurfaceCharacterization.cpp136 if (fBackendFormat != backendTex.getBackendFormat()) { in isCompatible()

12