Lines Matching refs:proxyProvider
41 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex() argument
47 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(format, desc, GrRenderable::kNo, 1, in deferred_tex()
56 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT() argument
63 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(format, desc, GrRenderable::kYes, 1, in deferred_texRT()
72 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped() argument
73 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped()
82 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key() argument
93 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped_with_key()
96 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key()
103 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in create_wrapped_backend() local
108 proxyProvider->caps()->getDefaultBackendFormat(kColorType, GrRenderable::kYes); in create_wrapped_backend()
119 return proxyProvider->wrapBackendTexture(backendTex, GrColorType::kRGBA_8888, in create_wrapped_backend()
133 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in basic_test() local
146 REPORTER_ASSERT(reporter, !proxyProvider->numUniqueKeyProxies_TestOnly()); in basic_test()
147 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in basic_test()
150 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly()); in basic_test()
157 REPORTER_ASSERT(reporter, proxyProvider->findOrCreateProxyByUniqueKey( in basic_test()
159 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly()); in basic_test()
185 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly()); in basic_test()
189 proxy = proxyProvider->findOrCreateProxyByUniqueKey(key, kColorType, in basic_test()
192 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly()); in basic_test()
205 proxy = proxyProvider->findOrCreateProxyByUniqueKey(key, kColorType, in basic_test()
216 proxy = proxyProvider->findOrCreateProxyByUniqueKey(key, kColorType, in basic_test()
229 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in invalidation_test() local
242 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly()); in invalidation_test()
247 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly()); in invalidation_test()
258 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly()); in invalidation_test()
264 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly()); in invalidation_test()
270 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in invalidation_and_instantiation_test() local
282 sk_sp<GrTextureProxy> proxy = deferred_tex(reporter, context, proxyProvider, in invalidation_and_instantiation_test()
284 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in invalidation_and_instantiation_test()
290 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly()); in invalidation_and_instantiation_test()
299 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly()); in invalidation_and_instantiation_test()
305 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly()); in invalidation_and_instantiation_test()
311 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
314 REPORTER_ASSERT(reporter, !proxyProvider->numUniqueKeyProxies_TestOnly()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
320 basic_test(context, reporter, create(reporter, context, proxyProvider, fit)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()