/hardware/google/gfxstream/host/gl/ |
D | EmulatedEglWindowSurface.cpp | 45 if (mSurface) { in ~EmulatedEglWindowSurface() 46 s_egl.eglDestroySurface(mDisplay, mSurface); in ~EmulatedEglWindowSurface() 128 prevReadSurf != mSurface || prevDrawSurf != mSurface; in flushColorBuffer() 131 mSurface, in flushColorBuffer() 132 mSurface, in flushColorBuffer() 151 if (mSurface && mWidth == p_width && mHeight == p_height) { in resize() 159 EGLSurface prevPbuf = mSurface; in resize() 160 bool needRebindContext = mSurface && in resize() 161 (prevReadSurf == mSurface || in resize() 162 prevDrawSurf == mSurface); in resize() [all …]
|
D | DisplaySurfaceGl.cpp | 51 mSurface(surface), in DisplaySurfaceGlContextHelper() 57 if (mSurface == EGL_NO_SURFACE) { in DisplaySurfaceGlContextHelper() 75 currentDrawSurface != mSurface || in setupContext() 76 currentReadSurface != mSurface); in setupContext() 85 if (!s_egl.eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in setupContext() 133 EGLSurface mSurface = EGL_NO_SURFACE; member in gfxstream::gl::__anon7946768e0111::DisplaySurfaceGlContextHelper 190 if (!s_egl.eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in bindContext() 201 mSurface(surface), in DisplaySurfaceGl() 207 if (mSurface) { in ~DisplaySurfaceGl() 208 s_egl.eglDestroySurface(mDisplay, mSurface); in ~DisplaySurfaceGl()
|
D | DisplaySurfaceGl.h | 53 EGLSurface getSurface() const { return mSurface; } in getSurface() 65 EGLSurface mSurface = EGL_NO_SURFACE; variable
|
D | DisplayGl.cpp | 68 s_egl.eglSwapBuffers(surfaceGl->mDisplay, surfaceGl->mSurface); in post() 87 s_egl.eglSwapBuffers(surfaceGl->mDisplay, surfaceGl->mSurface); in clear()
|
D | EmulatedEglWindowSurface.h | 54 EGLSurface getEGLSurface() const { return mSurface; } in getEGLSurface() 115 EGLSurface mSurface = EGL_NO_SURFACE; variable
|
D | ReadbackWorkerGl.cpp | 40 : mSurface(std::move(surface)), in ReadbackWorkerGl() 201 RecursiveScopedContextBind contextBind(mSurface->getContextHelper()); in flushPipeline()
|
D | ReadbackWorkerGl.h | 103 std::unique_ptr<DisplaySurfaceGl> mSurface; variable
|
/hardware/google/gfxstream/host/vulkan/ |
D | DisplaySurfaceVk.cpp | 54 : mVk(vk), mInstance(instance), mSurface(surface) {} in DisplaySurfaceVk() 57 if (mSurface != VK_NULL_HANDLE) { in ~DisplaySurfaceVk() 58 mVk.vkDestroySurfaceKHR(mInstance, mSurface, nullptr); in ~DisplaySurfaceVk()
|
D | DisplaySurfaceVk.h | 34 VkSurfaceKHR getSurface() const { return mSurface; } in getSurface() 41 VkSurfaceKHR mSurface = VK_NULL_HANDLE; variable
|
/hardware/interfaces/automotive/evs/aidl/impl/default/src/ |
D | GlWrapper.cpp | 265 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize() 266 if (mSurface == EGL_NO_SURFACE) { in initialize() 282 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize() 321 eglDestroySurface(mDisplay, mSurface); in shutdown() 324 mSurface = EGL_NO_SURFACE; in shutdown() 441 if (eglSwapBuffers(mDisplay, mSurface) == EGL_FALSE) { in renderImageToScreen()
|
/hardware/interfaces/automotive/evs/1.1/default/ |
D | GlWrapper.cpp | 257 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize() 258 if (mSurface == EGL_NO_SURFACE) { in initialize() 275 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize() 312 eglDestroySurface(mDisplay, mSurface); in shutdown() 315 mSurface = EGL_NO_SURFACE; in shutdown() 445 eglSwapBuffers(mDisplay, mSurface); in renderImageToScreen()
|
D | GlWrapper.h | 57 EGLSurface mSurface; variable
|
/hardware/google/gfxstream/host/tests/ |
D | SampleApplication.cpp | 276 mSurface = mFb->createEmulatedEglWindowSurface(0, mWidth, mHeight); in SampleApplication() 278 mFb->bindContext(mContext, mSurface, mSurface); in SampleApplication() 279 mFb->setEmulatedEglWindowSurfaceColorBuffer(mSurface, mColorBuffer); in SampleApplication() 297 mFb->destroyEmulatedEglWindowSurface(mSurface); in ~SampleApplication() 304 mFb->bindContext(mContext, mSurface, mSurface); in rebind() 314 mFb->flushEmulatedEglWindowSurfaceColorBuffer(mSurface); in drawLoop() 552 mFb->flushEmulatedEglWindowSurfaceColorBuffer(mSurface); in drawOnce()
|
D | SampleApplication.h | 107 unsigned int mSurface = 0; variable
|
D | GLSnapshotRendering_unittest.cpp | 46 mFb->flushEmulatedEglWindowSurfaceColorBuffer(mSurface); in drawLoop()
|
D | DefaultFramebufferBlit_unittest.cpp | 68 mFb->setEmulatedEglWindowSurfaceColorBuffer(mSurface, mColorBuffer); in ClearColor()
|
/hardware/google/gfxstream/host/ |
D | SyncThread.cpp | 207 mSurface[workerId] = egl->eglCreatePbufferSurface(mDisplay, config, pbufferAttribs); in initSyncEGLContext() 213 egl->eglMakeCurrent(mDisplay, mSurface[workerId], mSurface[workerId], in initSyncEGLContext() 365 egl->eglDestroySurface(mDisplay, mSurface[workerId]); in cleanup() 367 mSurface[workerId] = EGL_NO_SURFACE; in cleanup()
|
D | SyncThread.h | 151 EGLSurface mSurface[kNumWorkerThreads]; variable
|
/hardware/interfaces/automotive/evs/aidl/impl/default/include/ |
D | GlWrapper.h | 56 EGLSurface mSurface; variable
|
/hardware/google/gfxstream/common/end2end/ |
D | GfxstreamEnd2EndGlTests.cpp | 104 &mSurface); in SetUp() 108 TearDownEglContextAndSurface(mDisplay, mContext, mSurface); in TearDown() 117 EGLSurface mSurface; member in gfxstream::tests::__anonae118ccb0111::GfxstreamEnd2EndGlTest 188 ASSERT_THAT(mGl->eglMakeCurrent(mDisplay, mSurface, mSurface, mContext), IsTrue()); in TEST_P()
|