Home
last modified time | relevance | path

Searched refs:grCtx (Results 1 – 1 of 1) sorted by relevance

/external/skia/tools/gpu/
DGrContextFactory.cpp268 sk_sp<GrContext> grCtx = testCtx->makeGrContext(grOptions); in getContextInfoInternal() local
269 if (!grCtx.get() && kMetal_GrBackend != backend) { in getContextInfoInternal()
270 grCtx.reset(GrContext::Create(backend, backendContext, grOptions)); in getContextInfoInternal()
272 if (!grCtx.get()) { in getContextInfoInternal()
276 if (!grCtx->caps()->shaderCaps()->pathRenderingSupport()) { in getContextInfoInternal()
281 if (GrCaps::InstancedSupport::kNone == grCtx->caps()->instancedSupport()) { in getContextInfoInternal()
286 if (!grCtx->caps()->srgbSupport()) { in getContextInfoInternal()
294 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal()