Lines Matching refs:proxy

21                           GrSurfaceProxy* proxy,  in check_surface()  argument
27 REPORTER_ASSERT(reporter, proxy->origin() == origin); in check_surface()
28 REPORTER_ASSERT(reporter, proxy->width() == width); in check_surface()
29 REPORTER_ASSERT(reporter, proxy->height() == height); in check_surface()
30 REPORTER_ASSERT(reporter, proxy->config() == config); in check_surface()
32 REPORTER_ASSERT(reporter, proxy->uniqueID().asUInt() == uniqueID.asUInt()); in check_surface()
34 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid()); in check_surface()
36 REPORTER_ASSERT(reporter, proxy->isBudgeted() == budgeted); in check_surface()
143 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
146 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
147 if (proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
148 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
154 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
156 check_surface(reporter, proxy.get(), origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
160 proxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
176 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred(provider, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
180 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
181 if (proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
187 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
189 check_surface(reporter, proxy.get(), origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
192 check_texture(reporter, provider, proxy->asTextureProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()