Searched refs:genProxy (Results 1 – 2 of 2) sorted by relevance
148 sk_sp<GrTextureProxy> genProxy = imageGen->generateTexture(context, imageInfo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local151 REPORTER_ASSERT(reporter, genProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()152 if (!genProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()157 if (GrSurfaceProxy::LazyState::kNot != genProxy->lazyInstantiationState()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()158 genProxy->priv().doLazyInstantiation(context->priv().resourceProvider()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()159 } else if (!genProxy->isInstantiated()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()160 genProxy->instantiate(context->priv().resourceProvider()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()163 REPORTER_ASSERT(reporter, genProxy->isInstantiated()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()164 if (!genProxy->isInstantiated()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()169 GrTexture* genTexture = genProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 GrSurfaceProxy* genProxy = genView.proxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local167 REPORTER_ASSERT(reporter, genProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()168 if (!genProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()172 if (genProxy->isLazy()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()173 genProxy->priv().doLazyInstantiation(dContext->priv().resourceProvider()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()174 } else if (!genProxy->isInstantiated()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()175 genProxy->instantiate(dContext->priv().resourceProvider()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()178 REPORTER_ASSERT(reporter, genProxy->isInstantiated()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()179 if (!genProxy->isInstantiated()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()183 GrTexture* genTexture = genProxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()