Home | History | Annotate | Download | only in tests

Lines Matching defs:proxy

29 // This test verifies that lazy proxy callbacks get invoked during flush, after onFlush callbacks,
30 // but before Ops are executed. It also ensures that lazy proxy callbacks are invoked both for
279 sk_sp<GrTextureProxy> proxy = proxyProvider->createLazyProxy(
284 REPORTER_ASSERT(reporter, proxy.get());
288 proxy->priv().doLazyInstantiation(ctx->priv().resourceProvider());
289 if (LazyInstantiationType::kSingleUse == proxy->priv().lazyInstantiationType()) {
296 proxy.reset();
299 proxy.reset();
373 // Test that when a lazy proxy fails to instantiate during flush that we drop the Op that it was
414 static std::unique_ptr<GrDrawOp> Make(GrContext* context, sk_sp<GrTextureProxy> proxy) {
417 return pool->allocate<LazyDeinstantiateTestOp>(std::move(proxy));
427 LazyDeinstantiateTestOp(sk_sp<GrTextureProxy> proxy)
428 : INHERITED(ClassID()), fLazyProxy(std::move(proxy)) {