Home
last modified time | relevance | path

Searched refs:mEglManager (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp50 : SkiaGpuPipeline(thread), mEglManager(thread.eglManager()) { in SkiaOpenGLPipeline()
59 bool wasSurfaceless = mEglManager.isCurrent(EGL_NO_SURFACE); in makeCurrent()
70 if (!mEglManager.makeCurrent(mEglSurface, &error)) { in makeCurrent()
113 return mEglManager.beginFrame(mEglSurface); in getFrame()
123 mEglManager.damageFrame(frame, dirty); in draw()
207 *requireSwap = drawResult.success || mEglManager.damageRequiresSwap(); in swapBuffers()
209 if (*requireSwap && (CC_UNLIKELY(!mEglManager.swapBuffers(frame, screenDirty)))) { in swapBuffers()
223 mEglManager.destroySurface(mEglSurface); in onContextDestroyed()
229 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
230 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.cpp299 : mSurfaceManager(new SurfaceManager), mEglManager(new EglManager), mProgram(new Program) { in BufferGenerator()
307 if (!mEglManager->initialize(mSurfaceManager->getSurface())) return; in BufferGenerator()
309 mEglManager->makeCurrent(); in BufferGenerator()
325 mEglManager->makeCurrent(); in ~BufferGenerator()
344 mEglManager->makeCurrent(); in get()
354 mEglManager->present(); in get()
DBufferGenerator.h46 std::unique_ptr<EglManager> mEglManager; variable
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp145 mEglManager.destroy(); in onDestroy()
148 mEglManager.destroy(); in onIdle()
152 if (!mEglManager.hasEglContext()) { in onBeginUpload()
154 this->mEglManager.initialize(); in onBeginUpload()
165 LOG_ALWAYS_FATAL_IF(!mEglManager.hasEglContext(), "Forgot to begin an upload?"); in getUploadEglDisplay()
166 return mEglManager.eglDisplay(); in getUploadEglDisplay()
228 renderthread::EglManager mEglManager; member in android::uirenderer::EGLUploader
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp233 , mEglManager(nullptr) in RenderThread()
266 mEglManager = new EglManager(); in initThreadLocals()
278 if (mEglManager->hasEglContext()) { in requireGlContext()
281 mEglManager->initialize(); in requireGlContext()
327 if (mEglManager->hasEglContext()) { in destroyRenderingContext()
329 mEglManager->destroy(); in destroyRenderingContext()
DRenderThread.h147 EglManager& eglManager() const { return *mEglManager; } in eglManager()
237 EglManager* mEglManager; variable
/frameworks/base/libs/hwui/platform/android/pipeline/skia/
DSkiaOpenGLPipeline.h72 renderthread::EglManager& mEglManager;
/frameworks/base/libs/hwui/platform/host/renderthread/
DRenderThread.cpp61 , mEglManager(nullptr) in RenderThread()