Home
last modified time | relevance | path

Searched refs:backendFormat (Results 1 – 25 of 98) sorted by relevance

1234

/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp160 const GrBackendFormat& backendFormat) { in make_vk_backend_texture() argument
173 SkASSERT(backendFormat.getVkFormat()); in make_vk_backend_texture()
174 VkFormat format = *backendFormat.getVkFormat(); in make_vk_backend_texture()
196 const GrVkYcbcrConversionInfo* ycbcrConversion = backendFormat.getVkYcbcrConversionInfo(); in make_vk_backend_texture()
373 const GrBackendFormat& backendFormat) { in make_gl_backend_texture() argument
415 SkASSERT(backendFormat.isValid()); in make_gl_backend_texture()
416 textureInfo.fTarget = *backendFormat.getGLTarget(); in make_gl_backend_texture()
417 textureInfo.fFormat = *backendFormat.getGLFormat(); in make_gl_backend_texture()
431 const GrBackendFormat& backendFormat) { in make_backend_texture() argument
439 deleteCtx, createProtectedImage, backendFormat); in make_backend_texture()
[all …]
DGrContextThreadSafeProxy.cpp36 const SkImageInfo& ii, const GrBackendFormat& backendFormat, in createCharacterization() argument
40 if (!backendFormat.isValid()) { in createCharacterization()
44 if (GrBackendApi::kOpenGL != backendFormat.backend() && willUseGLFBO0) { in createCharacterization()
53 GrPixelConfig config = fCaps->getConfigFromBackendFormat(backendFormat, ii.colorType()); in createCharacterization()
DGrBackendTextureImageGenerator.cpp46 GrBackendFormat backendFormat = backendTexture.getBackendFormat(); in Make() local
47 if (!backendFormat.isValid()) { in Make()
51 context->contextPriv().caps()->getConfigFromBackendFormat(backendFormat, colorType); in Make()
203 GrBackendFormat format = proxy->backendFormat().makeTexture2D(); in onGenerateTexture()
DGrGpuCommandBuffer.cpp75 const GrBackendFormat& format = primProcProxies[i]->backendFormat(); in draw()
81 SkASSERT(testProxy->backendFormat() == format); in draw()
/external/skia/src/gpu/
DGrAHardwareBufferImageGenerator.cpp93 GrBackendFormat backendFormat = GrAHardwareBufferUtils::GetBackendFormat(direct, in makeProxy() local
99 backendFormat, this->getInfo().colorType()); in makeProxy()
117 const VkFormat* format = backendFormat.getVkFormat(); in makeProxy()
153 isProtectedContent, backendFormat](GrResourceProvider* resourceProvider) { in makeProxy()
163 backendFormat, in makeProxy()
187 backendFormat, desc, fSurfaceOrigin, GrMipMapped::kNo, in makeProxy()
DGrContextThreadSafeProxy.cpp33 const SkImageInfo& ii, const GrBackendFormat& backendFormat, in createCharacterization() argument
37 if (!backendFormat.isValid()) { in createCharacterization()
41 if (GrBackendApi::kOpenGL != backendFormat.backend() && willUseGLFBO0) { in createCharacterization()
50 GrPixelConfig config = this->caps()->getConfigFromBackendFormat(backendFormat, ii.colorType()); in createCharacterization()
DGrAHardwareBufferUtils.cpp188 const GrBackendFormat& backendFormat, in make_gl_backend_texture() argument
234 SkASSERT(backendFormat.isValid()); in make_gl_backend_texture()
236 textureInfo.fFormat = *backendFormat.getGLFormat(); in make_gl_backend_texture()
276 const GrBackendFormat& backendFormat, in make_vk_backend_texture() argument
290 SkASSERT(backendFormat.getVkFormat()); in make_vk_backend_texture()
291 VkFormat format = *backendFormat.getVkFormat(); in make_vk_backend_texture()
313 const GrVkYcbcrConversionInfo* ycbcrConversion = backendFormat.getVkYcbcrConversionInfo(); in make_vk_backend_texture()
494 const GrBackendFormat& backendFormat, in MakeBackendTexture() argument
503 deleteCtx, createProtectedImage, backendFormat, in MakeBackendTexture()
511 deleteCtx, createProtectedImage, backendFormat, in MakeBackendTexture()
DGrBackendTextureImageGenerator.cpp48 GrBackendFormat backendFormat = backendTexture.getBackendFormat(); in Make() local
49 if (!backendFormat.isValid()) { in Make()
53 context->priv().caps()->getConfigFromBackendFormat(backendFormat, colorType); in Make()
202 GrBackendFormat format = proxy->backendFormat().makeTexture2D(); in onGenerateTexture()
DGrGpuCommandBuffer.cpp76 const GrBackendFormat& format = primProcProxies[i]->backendFormat(); in draw()
82 SkASSERT(testProxy->backendFormat() == format); in draw()
DGrTextureProxy.cpp146 first->backendFormat() == second->backendFormat(); in ProxiesAreCompatibleAsDynamicState()
/external/skia/src/image/
DSkImage_GpuBase.cpp55 GrBackendFormat backendFormat = tex.getBackendFormat(); in ValidateBackendTexture() local
56 if (!backendFormat.isValid()) { in ValidateBackendTexture()
59 *config = ctx->priv().caps()->getConfigFromBackendFormat(backendFormat, ct); in ValidateBackendTexture()
122 GrBackendFormat format = proxy->backendFormat().makeTexture2D(); in onMakeSubset()
306 GrBackendFormat backendFormat = yuvaTexturesCopy[textureIndex].getBackendFormat(); in MakeTempTextureProxies() local
307 if (!backendFormat.isValid()) { in MakeTempTextureProxies()
311 ctx->priv().caps()->getYUVAConfigFromBackendFormat(backendFormat); in MakeTempTextureProxies()
385 GrBackendFormat backendFormat, GrMipMapped mipMapped, in MakePromiseImageLazyProxy() argument
401 GrTextureTypeHasRestrictedSampling(backendFormat.textureType())) { in MakePromiseImageLazyProxy()
536 return proxyProvider->createLazyProxy(std::move(callback), backendFormat, desc, origin, in MakePromiseImageLazyProxy()
DSkImage_Gpu.cpp81 GrBackendFormat format = proxy->backendFormat().makeTexture2D(); in onMakeColorTypeAndColorSpace()
397 const GrBackendFormat& backendFormat, in MakePromiseTexture() argument
431 context->priv().caps()->getConfigFromBackendFormat(backendFormat, colorType); in MakePromiseTexture()
437 auto proxy = MakePromiseImageLazyProxy(context, width, height, origin, config, backendFormat, in MakePromiseTexture()
606 GrBackendFormat backendFormat = GrAHardwareBufferUtils::GetBackendFormat(context, in MakeFromAHardwareBufferWithData() local
611 if (!backendFormat.isValid()) { in MakeFromAHardwareBufferWithData()
622 false, backendFormat, true); in MakeFromAHardwareBufferWithData()
631 backendTexture.fConfig = context->priv().caps()->getConfigFromBackendFormat(backendFormat, in MakeFromAHardwareBufferWithData()
DSkSurface_Gpu.cpp414 GrBackendFormat backendFormat = tex.getBackendFormat(); in validate_backend_texture() local
415 if (!backendFormat.isValid()) { in validate_backend_texture()
418 *config = ctx->priv().caps()->getConfigFromBackendFormat(backendFormat, ct); in validate_backend_texture()
610 GrBackendFormat backendFormat = GrAHardwareBufferUtils::GetBackendFormat(context, in MakeFromAHardwareBuffer() local
614 if (!backendFormat.isValid()) { in MakeFromAHardwareBuffer()
626 isProtectedContent, backendFormat, in MakeFromAHardwareBuffer()
/external/skqp/src/image/
DSkImage_GpuBase.cpp53 GrBackendFormat backendFormat = tex.getBackendFormat(); in ValidateBackendTexture() local
54 if (!backendFormat.isValid()) { in ValidateBackendTexture()
57 *config = ctx->contextPriv().caps()->getConfigFromBackendFormat(backendFormat, ct); in ValidateBackendTexture()
119 GrBackendFormat format = proxy->backendFormat().makeTexture2D(); in onMakeSubset()
295 GrBackendFormat backendFormat = yuvaTexturesCopy[textureIndex].getBackendFormat(); in MakeTempTextureProxies() local
296 if (!backendFormat.isValid()) { in MakeTempTextureProxies()
300 ctx->contextPriv().caps()->getYUVAConfigFromBackendFormat(backendFormat); in MakeTempTextureProxies()
370 GrBackendFormat backendFormat, GrMipMapped mipMapped, in MakePromiseImageLazyProxy() argument
387 GrTextureTypeHasRestrictedSampling(backendFormat.textureType())) { in MakePromiseImageLazyProxy()
613 return proxyProvider->createLazyProxy(std::move(callback), backendFormat, desc, origin, in MakePromiseImageLazyProxy()
/external/skia/src/gpu/mock/
DGrMockTexture.h41 GrBackendFormat backendFormat() const override { in backendFormat() function
110 GrBackendFormat backendFormat() const override { in backendFormat() function
153 GrBackendFormat backendFormat() const override { in backendFormat() function
154 return GrMockTexture::backendFormat(); in backendFormat()
/external/skqp/include/core/
DSkDeferredDisplayListRecorder.h125 sk_sp<SkImage> makePromiseTexture(const GrBackendFormat& backendFormat,
140 sk_sp<SkImage> makePromiseTexture(const GrBackendFormat& backendFormat, in makePromiseTexture() argument
152 return this->makePromiseTexture(backendFormat, width, height, mipMapped, origin, colorType, in makePromiseTexture()
/external/skqp/tests/
DPromiseImageTest.cpp148 GrBackendFormat backendFormat = backendTex.getBackendFormat(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
149 REPORTER_ASSERT(reporter, backendFormat.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
155 ctx, backendFormat, kWidth, kHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
304 GrBackendFormat backendFormat = backendTex.getBackendFormat(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
305 REPORTER_ASSERT(reporter, backendFormat.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
311 ctx, backendFormat, kWidth, kHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
433 GrBackendFormat backendFormat = backendTex1.getBackendFormat(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
434 REPORTER_ASSERT(reporter, backendFormat.isValid()); 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()
[all …]
/external/skqp/src/gpu/mock/
DGrMockTexture.h41 GrBackendFormat backendFormat() const override { in backendFormat() function
140 GrBackendFormat backendFormat() const override { in backendFormat() function
183 GrBackendFormat backendFormat() const override { in backendFormat() function
184 return GrMockTexture::backendFormat(); in backendFormat()
/external/skqp/src/gpu/gl/
DGrGLTextureRenderTarget.h43 GrBackendFormat backendFormat() const override { in backendFormat() function
45 return GrGLTexture::backendFormat(); in backendFormat()
/external/skia/src/gpu/gl/
DGrGLTextureRenderTarget.h43 GrBackendFormat backendFormat() const override { in backendFormat() function
45 return GrGLTexture::backendFormat(); in backendFormat()
/external/skia/src/gpu/mtl/
DGrMtlTextureRenderTarget.h26 GrBackendFormat backendFormat() const override { in backendFormat() function
27 return GrMtlTexture::backendFormat(); in backendFormat()
/external/skqp/src/gpu/mtl/
DGrMtlTextureRenderTarget.h26 GrBackendFormat backendFormat() const override { in backendFormat() function
27 return GrMtlTexture::backendFormat(); in backendFormat()
/external/skqp/src/core/
DSkDeferredDisplayListRecorder.cpp26 const GrBackendFormat& backendFormat, in makePromiseTexture() argument
214 const GrBackendFormat& backendFormat, in makePromiseTexture() argument
232 backendFormat, in makePromiseTexture()
/external/skia/src/core/
DSkDeferredDisplayListRecorder.cpp26 const GrBackendFormat& backendFormat, in makePromiseTexture() argument
225 const GrBackendFormat& backendFormat, in makePromiseTexture() argument
242 backendFormat, in makePromiseTexture()
/external/skia/gm/
Dclockwise.cpp154 rtc->asSurfaceProxy()->backendFormat(), SkBackingFit::kExact, 100, 200, in onDraw()
171 rtc->asSurfaceProxy()->backendFormat(), SkBackingFit::kExact, 100, 200, in onDraw()

1234