Home
last modified time | relevance | path

Searched refs:GrDirectContext (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.h37 AutoBackendTextureRelease(GrDirectContext* context,
51 GrDirectContext* context);
53 void newBufferContent(GrDirectContext* context);
55 void releaseQueueOwnership(GrDirectContext* context);
DAutoBackendTextureRelease.cpp34 AutoBackendTextureRelease::AutoBackendTextureRelease(GrDirectContext* context, in AutoBackendTextureRelease()
119 GrDirectContext* context) { in makeImage()
132 void AutoBackendTextureRelease::newBufferContent(GrDirectContext* context) { in newBufferContent()
138 void AutoBackendTextureRelease::releaseQueueOwnership(GrDirectContext* context) { in releaseQueueOwnership()
DDeferredLayerUpdater.h113 bool forceCreate, GrDirectContext* context);
115 void releaseQueueOwnership(GrDirectContext* context);
117 void clear(GrDirectContext* context);
DMesh.h120 void updateBuffers(GrDirectContext* context) const { in updateBuffers()
121 GrDirectContext::DirectContextID currentId = context == nullptr in updateBuffers()
122 ? GrDirectContext::DirectContextID() in updateBuffers()
163 GrDirectContext::DirectContextID fGenerationId = GrDirectContext::DirectContextID();
DDeferredLayerUpdater.cpp230 GrDirectContext* context) { in createIfNeeded()
254 void DeferredLayerUpdater::ImageSlot::clear(GrDirectContext* context) { in clear()
267 void DeferredLayerUpdater::ImageSlot::releaseQueueOwnership(GrDirectContext* context) { in releaseQueueOwnership()
DReadback.cpp120 sk_sp<GrDirectContext> grContext = mRenderThread.requireGrContext(); in copySurfaceInto()
318 sk_sp<GrDirectContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto()
/frameworks/native/libs/renderengine/skia/compat/
DGaneshGpuContext.h27 GaneshGpuContext(sk_sp<GrDirectContext> grContext);
30 sk_sp<GrDirectContext> grDirectContext() override;
50 const sk_sp<GrDirectContext> mGrContext;
DGaneshBackendTexture.h33 GaneshBackendTexture(sk_sp<GrDirectContext> grContext, AHardwareBuffer* buffer,
50 const sk_sp<GrDirectContext> mGrContext;
DGaneshGpuContext.cpp65 GaneshGpuContext::GaneshGpuContext(sk_sp<GrDirectContext> grContext) : mGrContext(grContext) { in GaneshGpuContext()
74 sk_sp<GrDirectContext> GaneshGpuContext::grDirectContext() { in grDirectContext()
DSkiaGpuContext.h73 virtual sk_sp<GrDirectContext> grDirectContext() { in grDirectContext()
DGaneshBackendTexture.cpp40 GaneshBackendTexture::GaneshBackendTexture(sk_sp<GrDirectContext> grContext, in GaneshBackendTexture()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.h40 sk_sp<SkColorSpace> colorSpace, GrDirectContext* grContext,
112 VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, GrDirectContext* grContext);
131 GrDirectContext* mGrContext;
DVulkanManager.h81 GrDirectContext* grContext,
99 status_t fenceWait(int fence, GrDirectContext* grContext);
103 status_t createReleaseFence(int* nativeFence, GrDirectContext* grContext);
117 sk_sp<GrDirectContext> createContext(GrContextOptions& options,
DRenderThread.h152 GrDirectContext* getGrContext() const { return mGrContext.get(); } in getGrContext()
153 void setGrContext(sk_sp<GrDirectContext> cxt);
154 sk_sp<GrDirectContext> requireGrContext();
243 sk_sp<GrDirectContext> mGrContext;
DCacheManager.h79 void reset(sk_sp<GrDirectContext> grContext);
86 sk_sp<GrDirectContext> mGrContext;
DRenderThread.cpp291 sk_sp<GrDirectContext> grContext(GrDirectContexts::MakeGL(std::move(glInterface), options)); in requireGlContext()
309 sk_sp<GrDirectContext> grContext = mVkManager->createContext(options); in requireVkContext()
385 void RenderThread::setGrContext(sk_sp<GrDirectContext> context) { in setGrContext()
397 sk_sp<GrDirectContext> RenderThread::requireGrContext() { in requireGrContext()
DVulkanManager.cpp500 sk_sp<GrDirectContext> VulkanManager::createContext(GrContextOptions& options, in createContext()
679 GrDirectContext* context = GrAsDirectContext(surface->recordingContext()); in finishFrame()
750 GrDirectContext* grContext, in createSurface()
761 status_t VulkanManager::fenceWait(int fence, GrDirectContext* grContext) { in fenceWait()
811 status_t VulkanManager::createReleaseFence(int* nativeFence, GrDirectContext* grContext) { in createReleaseFence()
DDrawFrameTask.cpp147 if (GrDirectContext* grContext = mRenderThread->getGrContext()) { in run()
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.h30 class GrDirectContext; variable
89 void onVkFrameFlushed(GrDirectContext* context);
DSkiaGpuPipeline.cpp37 sk_sp<GrDirectContext> cachedContext; in renderLayersImpl()
54 GrDirectContext* currentContext = in renderLayersImpl()
138 GrDirectContext* context = thread.getGrContext(); in prepareToDraw()
DATraceMemoryDump.h54 void logTraces(bool gpuMemoryIsAlreadyInDump, GrDirectContext* grContext);
DATraceMemoryDump.cpp128 void ATraceMemoryDump::logTraces(bool gpuMemoryIsAlreadyInDump, GrDirectContext* grContext) { in logTraces()
/frameworks/base/libs/hwui/platform/host/renderthread/
DRenderThread.cpp98 void RenderThread::setGrContext(sk_sp<GrDirectContext> context) {} in setGrContext()
100 sk_sp<GrDirectContext> RenderThread::requireGrContext() { in requireGrContext()
/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp31 static size_t getCacheUsage(GrDirectContext* grContext) { in getCacheUsage()
41 GrDirectContext* grContext = renderThread.getGrContext(); in RENDERTHREAD_TEST()
/frameworks/native/libs/renderengine/skia/
DGaneshVkRenderEngine.cpp79 sk_sp<GrDirectContext> grContext = context->grDirectContext(); in flushAndSubmit()

12