Searched refs:backingTexture (Results 1 – 7 of 7) sorted by relevance
184 GrOnFlushResourceProvider* onFlushRP, sk_sp<GrTexture> backingTexture) { in makeRenderTargetContext() argument191 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()
485 sk_sp<GrTexture> backingTexture; in finalize() local489 backingTexture = skstd::exchange(texture, nullptr); in finalize()494 if (auto rtc = atlas->makeRenderTargetContext(onFlushRP, std::move(backingTexture))) { in finalize()
83 sk_sp<GrTexture> backingTexture = nullptr);
170 GrOnFlushResourceProvider* onFlushRP, sk_sp<GrTexture> backingTexture) { in instantiate() argument181 if (backingTexture) { in instantiate()183 auto backingRT = backingTexture->asRenderTarget(); in instantiate()190 fBackingTexture = std::move(backingTexture); in instantiate()
76 GrOnFlushResourceProvider*, sk_sp<GrTexture> backingTexture = nullptr);
29 sk_sp<GrTexture> backingTexture; // not externed variable165 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()
296 const GrBackendTexture& backingTexture = texture->getBackendTexture(); in DEF_CCPR_TEST() local297 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()