Home
last modified time | relevance | path

Searched refs:backingTexture (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/gpu/ccpr/
DGrCCAtlas.cpp184 GrOnFlushResourceProvider* onFlushRP, sk_sp<GrTexture> backingTexture) { in makeRenderTargetContext() argument
191 if (backingTexture) { in makeRenderTargetContext()
192 SkASSERT(backingTexture->config() == kAlpha_half_GrPixelConfig); in makeRenderTargetContext()
193 SkASSERT(backingTexture->width() == fWidth); in makeRenderTargetContext()
194 SkASSERT(backingTexture->height() == fHeight); in makeRenderTargetContext()
195 fBackingTexture = std::move(backingTexture); in makeRenderTargetContext()
DGrCCPerFlushResources.cpp485 sk_sp<GrTexture> backingTexture; in finalize() local
489 backingTexture = skstd::exchange(texture, nullptr); in finalize()
494 if (auto rtc = atlas->makeRenderTargetContext(onFlushRP, std::move(backingTexture))) { in finalize()
DGrCCAtlas.h83 sk_sp<GrTexture> backingTexture = nullptr);
/external/skia/src/gpu/
DGrDynamicAtlas.cpp170 GrOnFlushResourceProvider* onFlushRP, sk_sp<GrTexture> backingTexture) { in instantiate() argument
181 if (backingTexture) { in instantiate()
183 auto backingRT = backingTexture->asRenderTarget(); in instantiate()
190 fBackingTexture = std::move(backingTexture); in instantiate()
DGrDynamicAtlas.h76 GrOnFlushResourceProvider*, sk_sp<GrTexture> backingTexture = nullptr);
/external/skqp/tools/fiddle/
Dfiddle_main.cpp29 sk_sp<GrTexture> backingTexture; // not externed variable
165 backingTexture = resourceProvider->createTexture(backingDesc, SkBudgeted::kNo, texels.get(), in setup_backend_objects()
167 if (!backingTexture) { in setup_backend_objects()
171 backEndTexture = backingTexture->getBackendTexture(); in setup_backend_objects()
/external/skqp/tests/
DGrCCPRTest.cpp296 const GrBackendTexture& backingTexture = texture->getBackendTexture(); in DEF_CCPR_TEST() local
297 SkASSERT(GrBackendApi::kMock == backingTexture.backend()); in DEF_CCPR_TEST()
299 if (!backingTexture.isValid()) { in DEF_CCPR_TEST()
304 backingTexture.getMockTextureInfo(&info); in DEF_CCPR_TEST()