Lines Matching defs:proxy
32 // Check that the surface proxy's member vars are set as expected
34 GrSurfaceProxy* proxy,
37 REPORTER_ASSERT(reporter, proxy->width() == width);
38 REPORTER_ASSERT(reporter, proxy->height() == height);
39 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid());
40 REPORTER_ASSERT(reporter, proxy->isBudgeted() == budgeted);
147 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(
150 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy));
151 if (proxy) {
152 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy());
153 // This forces the proxy to compute and cache its
156 // the pre-computation. If the proxy never computed its
158 proxy->gpuMemorySize();
160 check_surface(reporter, proxy.get(), widthHeight, widthHeight,
165 proxy->asRenderTargetProxy(), supportedSamples,
183 sk_sp<GrTextureProxy> proxy(proxyProvider->createProxy(
186 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy));
187 if (proxy) {
188 // This forces the proxy to compute and cache its
191 // the pre-computation. If the proxy never computed its
193 proxy->gpuMemorySize();
195 check_surface(reporter, proxy.get(), widthHeight, widthHeight,
197 check_texture(reporter, resourceProvider, proxy->asTextureProxy(),
341 sk_sp<GrTextureProxy> proxy = provider->createProxy(
344 REPORTER_ASSERT(reporter, !proxy);