Lines Matching refs:proxy
51 sk_sp<GrTextureProxy> proxy((*make)(dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
52 if (proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
53 … sk_sp<GrTextureProxy> extraRef(proxy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
55 int backingRefs = proxy->isInstantiated() ? 1 : -1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
57 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 2, backingRefs); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
59 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
61 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 2, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
63 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 1, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
68 sk_sp<GrTextureProxy> proxy((*make)(dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
69 if (proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
70 proxy->ref(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 proxy->ref(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
73 int backingRefs = proxy->isInstantiated() ? 1 : -1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
75 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 3, backingRefs); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
77 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
79 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 3, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
81 proxy->unref(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
82 proxy->unref(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
84 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 1, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
89 sk_sp<GrTextureProxy> proxy((*make)(dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
90 if (proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
91 …sk_sp<GrTextureProxy> firstExtraRef(proxy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 int backingRefs = proxy->isInstantiated() ? 1 : -1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
95 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 2, backingRefs); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
99 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 2, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 …sk_sp<GrTextureProxy> secondExtraRef(proxy); // NOLINT(performance-unnecessary-copy-initializatio… in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 3, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
104 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 1, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()