Home | History | Annotate | Download | only in tests

Lines Matching defs:proxy

127             sk_sp<GrTextureProxy> proxy =
129 REPORTER_ASSERT(reporter, SkToBool(proxy.get()) ==
181 auto proxy = proxyProvider->testingOnly_createInstantiatedProxy(
183 if (!proxy) {
186 auto texCtx = context->priv().makeWrappedSurfaceContext(std::move(proxy));
214 // Try creating the texture as a deferred proxy.
283 auto proxy = proxyProvider->wrapBackendTexture(backendTex, kTopLeft_GrSurfaceOrigin,
286 auto surfContext = context->priv().makeWrappedSurfaceContext(proxy);
306 proxy->peekTexture(), 0, 0, kSize, kSize, GrColorType::kRGBA_8888, write.addr32(),
320 proxy->peekTexture(), kTopLeft_GrSurfaceOrigin, copySrc->peekTexture(),
328 proxy = proxyProvider->wrapBackendTexture(backendTex, kTopLeft_GrSurfaceOrigin,
332 proxy->peekTexture()->texturePriv().markMipMapsDirty(); // avoids assert in GrGpu.
334 context->priv().getGpu()->regenerateMipMapLevels(proxy->peekTexture());
463 auto proxy = context->priv().proxyProvider()->createLazyProxy(
468 rtc->drawTexture(GrNoClip(), proxy, GrSamplerState::Filter::kNearest,
472 // We still have the proxy, which should remain instantiated, thereby keeping the
480 // This time we move the proxy into the draw.
481 rtc->drawTexture(GrNoClip(), std::move(proxy), GrSamplerState::Filter::kNearest,
491 // Make a proxy that should deinstantiate even if we keep a ref on it.
495 proxy = context->priv().proxyProvider()->createLazyProxy(
500 rtc->drawTexture(GrNoClip(), std::move(proxy), GrSamplerState::Filter::kNearest,
504 // At this point the proxy shouldn't even be instantiated, there is no texture with
509 // Now that the draw is fully consumed, we should have deinstantiated the proxy and
546 auto proxy = context->priv().proxyProvider()->testingOnly_createWrapped(
549 GrNoClip(), proxy, GrSamplerState::Filter::kNearest,