Home
last modified time | relevance | path

Searched refs:mSurface (Results 1 – 20 of 20) sorted by relevance

/hardware/google/gfxstream/host/gl/
DEmulatedEglWindowSurface.cpp45 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 …]
DDisplaySurfaceGl.cpp51 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()
DDisplaySurfaceGl.h53 EGLSurface getSurface() const { return mSurface; } in getSurface()
65 EGLSurface mSurface = EGL_NO_SURFACE; variable
DDisplayGl.cpp68 s_egl.eglSwapBuffers(surfaceGl->mDisplay, surfaceGl->mSurface); in post()
87 s_egl.eglSwapBuffers(surfaceGl->mDisplay, surfaceGl->mSurface); in clear()
DEmulatedEglWindowSurface.h54 EGLSurface getEGLSurface() const { return mSurface; } in getEGLSurface()
115 EGLSurface mSurface = EGL_NO_SURFACE; variable
DReadbackWorkerGl.cpp40 : mSurface(std::move(surface)), in ReadbackWorkerGl()
201 RecursiveScopedContextBind contextBind(mSurface->getContextHelper()); in flushPipeline()
DReadbackWorkerGl.h103 std::unique_ptr<DisplaySurfaceGl> mSurface; variable
/hardware/google/gfxstream/host/vulkan/
DDisplaySurfaceVk.cpp54 : mVk(vk), mInstance(instance), mSurface(surface) {} in DisplaySurfaceVk()
57 if (mSurface != VK_NULL_HANDLE) { in ~DisplaySurfaceVk()
58 mVk.vkDestroySurfaceKHR(mInstance, mSurface, nullptr); in ~DisplaySurfaceVk()
DDisplaySurfaceVk.h34 VkSurfaceKHR getSurface() const { return mSurface; } in getSurface()
41 VkSurfaceKHR mSurface = VK_NULL_HANDLE; variable
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DGlWrapper.cpp265 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/
DGlWrapper.cpp257 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()
DGlWrapper.h57 EGLSurface mSurface; variable
/hardware/google/gfxstream/host/tests/
DSampleApplication.cpp276 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()
DSampleApplication.h107 unsigned int mSurface = 0; variable
DGLSnapshotRendering_unittest.cpp46 mFb->flushEmulatedEglWindowSurfaceColorBuffer(mSurface); in drawLoop()
DDefaultFramebufferBlit_unittest.cpp68 mFb->setEmulatedEglWindowSurfaceColorBuffer(mSurface, mColorBuffer); in ClearColor()
/hardware/google/gfxstream/host/
DSyncThread.cpp207 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()
DSyncThread.h151 EGLSurface mSurface[kNumWorkerThreads]; variable
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DGlWrapper.h56 EGLSurface mSurface; variable
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndGlTests.cpp104 &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()