Home
last modified time | relevance | path

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

/third_party/skia/tools/gpu/
DGrContextFactory.cpp71 if (!context.fGrContext->unique()) { in destroyContexts()
72 context.fGrContext->releaseResourcesAndAbandonContext(); in destroyContexts()
75 context.fGrContext->unref(); in destroyContexts()
93 GrBackendApi api = context.fGrContext->backend(); in abandonContexts()
96 context.fGrContext->abandonContext(); in abandonContexts()
103 context.fGrContext->abandonContext(); in abandonContexts()
122 context.fGrContext->releaseResourcesAndAbandonContext(); in releaseResourcesAndAbandonContexts()
150 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, in getContextInfoInternal()
159 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getContextInfoInternal()
334 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal()
[all …]
DGrContextFactory.h161 GrDirectContext* fGrContext; member
/third_party/skia/experimental/minimal_ios_mtl_skia_app/
Dmain.mm92 GrContextHolder fGrContext;
101 if (!fGrContext) {
104 fGrContext = SkMetalDeviceToGrContext([self metalDevice], [self metalQueue]);
116 [viewDelegate setGrContext:fGrContext.get()];