Searched refs:fGrContext (Results 1 – 8 of 8) sorted by relevance
/external/skia/tools/gpu/ |
D | GrContextFactory.cpp | 72 if (!context.fGrContext->unique()) { in destroyContexts() 73 context.fGrContext->releaseResourcesAndAbandonContext(); in destroyContexts() 76 context.fGrContext->unref(); in destroyContexts() 94 GrBackendApi api = context.fGrContext->backend(); in abandonContexts() 97 context.fGrContext->abandonContext(); in abandonContexts() 104 context.fGrContext->abandonContext(); in abandonContexts() 123 context.fGrContext->releaseResourcesAndAbandonContext(); in releaseResourcesAndAbandonContexts() 151 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, in getContextInfoInternal() 160 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getContextInfoInternal() 332 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal() [all …]
|
D | GrContextFactory.h | 158 GrDirectContext* fGrContext; member
|
/external/skqp/tools/gpu/ |
D | GrContextFactory.cpp | 64 if (!context.fGrContext->unique()) { in destroyContexts() 65 context.fGrContext->releaseResourcesAndAbandonContext(); in destroyContexts() 68 context.fGrContext->unref(); in destroyContexts() 88 context.fGrContext->abandonContext(); in abandonContexts() 106 context.fGrContext->releaseResourcesAndAbandonContext(); in releaseResourcesAndAbandonContexts() 133 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, in getContextInfoInternal() 142 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getContextInfoInternal() 282 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal() 290 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, context.fOptions); in getContextInfoInternal() 300 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getSharedContextInfo()
|
D | GrContextFactory.h | 155 GrContext* fGrContext; member 174 GrContext* grContext() const { return fGrContext; } in grContext() 188 : fType(type), fTestContext(testContext), fGrContext(grContext), fOptions(options) {} in ContextInfo() 193 GrContext* fGrContext = nullptr; variable
|
/external/skqp/src/atlastext/ |
D | SkInternalAtlasTextContext.cpp | 35 fGrContext = GrContext::MakeMock(nullptr, options); in SkInternalAtlasTextContext() 41 auto atlasManager = fGrContext->contextPriv().getAtlasManager(); in ~SkInternalAtlasTextContext() 53 return fGrContext->contextPriv().getGlyphCache(); in glyphCache() 57 return fGrContext->contextPriv().getTextBlobCache(); in textBlobCache() 91 auto* atlasManager = fGrContext->contextPriv().getAtlasManager(); in flush()
|
D | SkInternalAtlasTextContext.h | 35 GrContext* grContext() const { return fGrContext.get(); } in grContext() 79 sk_sp<GrContext> fGrContext; variable
|
/external/skqp/tests/ |
D | VkHardwareBufferTest.cpp | 112 GrContext* grContext() override { return fGrContext; } in grContext() 138 GrContext* fGrContext = nullptr; member in EGLTestHelper 143 fGrContext = fGLESContextInfo.grContext(); in init() 145 if (!fGrContext || !fGLCtx) { in init() 251 fGrContext->resetContext(kTextureBinding_GrGLBackendState); in importHardwareBuffer() 268 sk_sp<SkImage> image = SkImage::MakeFromTexture(fGrContext, in importHardwareBufferForRead() 296 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext, in importHardwareBufferForWrite() 406 fGrContext.reset(); in cleanup() 432 if (!fGrContext) { in doClientSync() 436 fGrContext->contextPriv().getGpu()->testingOnly_flushGpuAndSync(); in doClientSync() [all …]
|
/external/skia/experimental/minimal_ios_mtl_skia_app/ |
D | main.mm | 92 GrContextHolder fGrContext; 101 if (!fGrContext) { 104 fGrContext = SkMetalDeviceToGrContext([self metalDevice], [self metalQueue]); 116 [viewDelegate setGrContext:fGrContext.get()];
|