Searched refs:fGrContext (Results 1 – 9 of 9) sorted by relevance
/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() 293 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal() 301 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, context.fOptions); in getContextInfoInternal() 311 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getSharedContextInfo()
|
D | GrContextFactory.h | 161 GrContext* fGrContext; member 180 GrContext* grContext() const { return fGrContext; } in grContext() 194 : fType(type), fTestContext(testContext), fGrContext(grContext), fOptions(options) {} in ContextInfo() 199 GrContext* fGrContext = nullptr; variable
|
/external/skia/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() 293 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal() 301 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, context.fOptions); in getContextInfoInternal() 311 if (!fContexts[i].fAbandoned && fContexts[i].fGrContext == shareContext) { in getSharedContextInfo()
|
D | GrContextFactory.h | 161 GrContext* fGrContext; member 180 GrContext* grContext() const { return fGrContext; } in grContext() 194 : fType(type), fTestContext(testContext), fGrContext(grContext), fOptions(options) {} in ContextInfo() 199 GrContext* fGrContext = nullptr; variable
|
/external/skia/src/atlastext/ |
D | SkInternalAtlasTextContext.cpp | 35 fGrContext = GrContext::MakeMock(nullptr, options); in SkInternalAtlasTextContext() 41 auto restrictedAtlasManager = fGrContext->contextPriv().getRestrictedAtlasManager(); in ~SkInternalAtlasTextContext() 51 return fGrContext->contextPriv().getGlyphCache(); in glyphCache() 55 return fGrContext->contextPriv().getTextBlobCache(); in textBlobCache() 89 auto* restrictedAtlasManager = fGrContext->contextPriv().getRestrictedAtlasManager(); in flush()
|
D | SkInternalAtlasTextContext.h | 35 GrContext* grContext() const { return fGrContext.get(); } in grContext() 79 sk_sp<GrContext> fGrContext; variable
|
/external/skqp/src/atlastext/ |
D | SkInternalAtlasTextContext.cpp | 35 fGrContext = GrContext::MakeMock(nullptr, options); in SkInternalAtlasTextContext() 41 auto atlasGlyphCache = fGrContext->contextPriv().getAtlasGlyphCache(); in ~SkInternalAtlasTextContext() 49 return fGrContext->contextPriv().getAtlasGlyphCache(); in atlasGlyphCache() 53 return fGrContext->contextPriv().getTextBlobCache(); in textBlobCache() 87 auto* atlasGlyphCache = fGrContext->contextPriv().getAtlasGlyphCache(); in flush()
|
D | SkInternalAtlasTextContext.h | 34 GrContext* grContext() const { return fGrContext.get(); } in grContext() 78 sk_sp<GrContext> fGrContext; variable
|
/external/skqp/tests/ |
D | VkHardwareBufferTest.cpp | 114 GrContext* grContext() override { return fGrContext; } in grContext() 140 GrContext* fGrContext = nullptr; member in EGLTestHelper 145 fGrContext = fGLESContextInfo.grContext(); in init() 147 if (!fGrContext || !fGLCtx) { in init() 252 fGrContext->resetContext(kTextureBinding_GrGLBackendState); in importHardwareBuffer() 269 sk_sp<SkImage> image = SkImage::MakeFromTexture(fGrContext, in importHardwareBufferForRead() 297 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext, in importHardwareBufferForWrite() 435 fGrContext.reset(); in cleanup() 446 if (!fGrContext) { in doClientSync() 450 fGrContext->contextPriv().getGpu()->testingOnly_flushGpuAndSync(); in doClientSync() [all …]
|