Lines Matching defs:proxy
27 // This test verifies that lazy proxy callbacks get invoked during flush, after onFlush callbacks,
28 // but before Ops are executed. It also ensures that lazy proxy callbacks are invoked both for
253 sk_sp<GrTextureProxy> proxy = proxyProvider->createLazyProxy(
265 REPORTER_ASSERT(reporter, proxy.get());
269 proxy->priv().doLazyInstantiation(ctx->contextPriv().resourceProvider());
270 if (LazyInstantiationType::kSingleUse == proxy->priv().lazyInstantiationType()) {
277 proxy.reset();
280 proxy.reset();
356 // Test that when a lazy proxy fails to instantiate during flush that we drop the Op that it was
397 static std::unique_ptr<GrDrawOp> Make(GrContext* context, sk_sp<GrTextureProxy> proxy) {
400 return pool->allocate<LazyDeinstantiateTestOp>(std::move(proxy));
410 LazyDeinstantiateTestOp(sk_sp<GrTextureProxy> proxy)
411 : INHERITED(ClassID()), fLazyProxy(std::move(proxy)) {