Lines Matching refs:proxy
25 // Check that the surface proxy's member vars are set as expected
27 GrSurfaceProxy* proxy,
32 REPORTER_ASSERT(reporter, proxy->origin() == origin);
33 REPORTER_ASSERT(reporter, proxy->width() == width);
34 REPORTER_ASSERT(reporter, proxy->height() == height);
35 REPORTER_ASSERT(reporter, proxy->config() == config);
36 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid());
37 REPORTER_ASSERT(reporter, proxy->isBudgeted() == budgeted);
127 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(
129 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy));
130 if (proxy) {
131 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy());
132 // This forces the proxy to compute and cache its
135 // the pre-computation. If the proxy never computed its
137 proxy->gpuMemorySize();
139 check_surface(reporter, proxy.get(), origin,
144 proxy->asRenderTargetProxy(),
160 sk_sp<GrTextureProxy> proxy(proxyProvider->createProxy(
162 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy));
163 if (proxy) {
164 // This forces the proxy to compute and cache its
167 // the pre-computation. If the proxy never computed its
169 proxy->gpuMemorySize();
171 check_surface(reporter, proxy.get(), origin,
174 proxy->asTextureProxy(), fit);
328 sk_sp<GrTextureProxy> proxy = provider->createProxy(desc, fit, SkBudgeted::kNo);
329 REPORTER_ASSERT(reporter, !proxy);