/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() 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/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/skia/src/atlastext/ |
D | SkInternalAtlasTextContext.cpp | 35 fGrContext = GrContext::MakeMock(nullptr, options); in SkInternalAtlasTextContext() 41 auto atlasManager = fGrContext->priv().getAtlasManager(); in ~SkInternalAtlasTextContext() 53 return fGrContext->priv().getGrStrikeCache(); in glyphCache() 57 return fGrContext->priv().getTextBlobCache(); in textBlobCache() 91 auto* atlasManager = fGrContext->priv().getAtlasManager(); in flush()
|
D | SkInternalAtlasTextContext.h | 35 GrContext* grContext() const { return fGrContext.get(); } in grContext() 79 sk_sp<GrContext> fGrContext; variable
|
/external/skia/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() 250 fGrContext->resetContext(kTextureBinding_GrGLBackendState); in importHardwareBuffer() 267 sk_sp<SkImage> image = SkImage::MakeFromTexture(fGrContext, in importHardwareBufferForRead() 295 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext, in importHardwareBufferForWrite() 403 fGrContext.reset(); in cleanup() 434 if (!fGrContext) { in doClientSync() 438 fGrContext->priv().getGpu()->testingOnly_flushGpuAndSync(); in doClientSync() [all …]
|
/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() 250 fGrContext->resetContext(kTextureBinding_GrGLBackendState); in importHardwareBuffer() 267 sk_sp<SkImage> image = SkImage::MakeFromTexture(fGrContext, in importHardwareBufferForRead() 295 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext, in importHardwareBufferForWrite() 405 fGrContext.reset(); in cleanup() 431 if (!fGrContext) { in doClientSync() 435 fGrContext->contextPriv().getGpu()->testingOnly_flushGpuAndSync(); in doClientSync() [all …]
|