Lines Matching refs:GrSurfaceProxy
62 static sk_sp<GrSurfaceProxy> make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps, in make_deferred()
69 static sk_sp<GrSurfaceProxy> make_backend(GrDirectContext* dContext, const ProxyParams& p) { in make_backend()
89 static sk_sp<GrSurfaceProxy> make_fully_lazy(GrProxyProvider* proxyProvider, const GrCaps* caps, in make_fully_lazy()
92 auto cb = [p](GrResourceProvider* provider, const GrSurfaceProxy::LazySurfaceDesc& desc) { in make_fully_lazy()
97 return GrSurfaceProxy::LazyCallbackResult(std::move(tex)); in make_fully_lazy()
101 GrSurfaceProxy::UseAllocator::kYes); in make_fully_lazy()
104 static sk_sp<GrSurfaceProxy> make_lazy(GrProxyProvider* proxyProvider, const GrCaps* caps, in make_lazy()
107 auto cb = [](GrResourceProvider* provider, const GrSurfaceProxy::LazySurfaceDesc& desc) { in make_lazy()
112 return GrSurfaceProxy::LazyCallbackResult(std::move(tex)); in make_lazy()
118 GrSurfaceProxy::UseAllocator::kYes); in make_lazy()
121 static sk_sp<GrSurfaceProxy> make_proxy(GrDirectContext* dContext, const ProxyParams& p) { in make_proxy()
124 sk_sp<GrSurfaceProxy> proxy; in make_proxy()
156 sk_sp<GrSurfaceProxy> p1, sk_sp<GrSurfaceProxy> p2, in overlap_test()
178 sk_sp<GrSurfaceProxy> p1, sk_sp<GrSurfaceProxy> p2, in non_overlap_test()
232 sk_sp<GrSurfaceProxy> p1 = make_proxy(dContext, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
233 sk_sp<GrSurfaceProxy> p2 = make_proxy(dContext, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
301 sk_sp<GrSurfaceProxy> p1 = make_proxy(dContext, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
302 sk_sp<GrSurfaceProxy> p2 = make_proxy(dContext, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
347 sk_sp<GrSurfaceProxy> fProxy = nullptr;
372 sk_sp<GrSurfaceProxy> proxy = make_proxy(dContext, params); in memory_budget_test()
386 sk_sp<GrSurfaceProxy> proxy = make_proxy(dContext, params); in memory_budget_test()