Home
last modified time | relevance | path

Searched refs:mDisplay (Results 1 – 17 of 17) sorted by relevance

/device/generic/vulkan-cereal/stream-servers/testlibs/x11/
DX11Window.cpp158 mDisplay(nullptr), in X11Window()
169 mDisplay(nullptr), in X11Window()
185 mDisplay = XOpenDisplay(nullptr); in initialize()
186 if (!mDisplay) in initialize()
192 int screen = DefaultScreen(mDisplay); in initialize()
193 Window root = RootWindow(mDisplay, screen); in initialize()
198 visual = DefaultVisual(mDisplay, screen); in initialize()
206 … XVisualInfo *visuals = XGetVisualInfo(mDisplay, VisualIDMask, &visualTemplate, &numVisuals); in initialize()
217 int depth = DefaultDepth(mDisplay, screen); in initialize()
218 Colormap colormap = XCreateColormap(mDisplay, root, visual, AllocNone); in initialize()
[all …]
DX11Window.h49 Display *mDisplay; variable
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/EGL/
DEglOsApi_egl.cpp237 mDisplay(display), in EglOsEglContext()
242 if (!mDispatcher->eglDestroyContext(mDisplay, mNativeCtx)) { in ~EglOsEglContext()
254 EGLDisplay mDisplay; member in __anon6e909d630111::EglOsEglContext
319 EGLDisplay mDisplay = EGL_NO_DISPLAY; member in __anon6e909d630111::EglOsEglDisplay
342 mDisplay = mDispatcher.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in EglOsEglDisplay()
346 if (mDisplay == EGL_NO_DISPLAY) { in EglOsEglDisplay()
362 mDisplay = mDispatcher.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in EglOsEglDisplay()
366 if (mDisplay == EGL_NO_DISPLAY) { in EglOsEglDisplay()
372 if (mDisplay == EGL_NO_DISPLAY) in EglOsEglDisplay()
373 mDisplay = mDispatcher.eglGetDisplay(EGL_DEFAULT_DISPLAY); in EglOsEglDisplay()
[all …]
DEglOsApi_glx.cpp274 mDisplay(display), in GlxContext()
281 getGlxApi()->glXDestroyContext(mDisplay, mContext); in ~GlxContext()
288 X11Display* mDisplay = nullptr; member in __anon150808160111::GlxContext
296 explicit GlxDisplay(X11Display* disp) : mDisplay(disp) {} in GlxDisplay()
303 getGlxApi()->glXDestroyPbuffer(mDisplay, in ~GlxDisplay()
310 getGlxApi()->glXDestroyPbuffer(mDisplay, in ~GlxDisplay()
315 getX11Api()->XCloseDisplay(mDisplay); in ~GlxDisplay()
333 GLXFBConfig* frmtList = glx->glXGetFBConfigs(mDisplay, DefaultScreen(mDisplay), &n); in queryConfigs()
338 mDisplay, in queryConfigs()
349 glx->glXQueryVersion(mDisplay, in queryConfigs()
[all …]
/device/generic/vulkan-cereal/stream-servers/gl/
DDisplaySurfaceGl.cpp34 : mDisplay(display), in DisplaySurfaceGlContextHelper()
37 if (mDisplay == EGL_NO_DISPLAY) { in DisplaySurfaceGlContextHelper()
59 if (!s_egl.eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in setupContext()
82 if (!s_egl.eglMakeCurrent(mDisplay, in teardownContext()
100 EGLDisplay mDisplay = EGL_NO_DISPLAY; member in gfxstream::gl::__anon41c32adf0111::DisplaySurfaceGlContextHelper
166 : mDisplay(display), in DisplaySurfaceGl()
172 if (mDisplay != EGL_NO_DISPLAY) { in ~DisplaySurfaceGl()
174 s_egl.eglDestroySurface(mDisplay, mSurface); in ~DisplaySurfaceGl()
177 s_egl.eglDestroyContext(mDisplay, mContext); in ~DisplaySurfaceGl()
DEmulatedEglWindowSurface.cpp41 mDisplay(display), in EmulatedEglWindowSurface()
46 s_egl.eglDestroySurface(mDisplay, mSurface); in ~EmulatedEglWindowSurface()
130 if (!s_egl.eglMakeCurrent(mDisplay, in flushColorBuffer()
143 s_egl.eglMakeCurrent(mDisplay, prevDrawSurf, prevReadSurf, prevContext); in flushColorBuffer()
166 mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in resize()
173 s_egl.eglDestroySurface(mDisplay, mSurface); in resize()
184 mSurface = s_egl.eglCreatePbufferSurface(mDisplay, in resize()
197 mDisplay, in resize()
227 s_egl.eglSaveConfig(mDisplay, mConfig, stream); in onSave()
DEmulatedEglFenceSync.cpp120 mDisplay(display), in EmulatedEglFenceSync()
142 s_egl.eglClientWaitSyncKHR(mDisplay, mSync, in wait()
150 s_egl.eglWaitSyncKHR(mDisplay, mSync, 0); in waitAsync()
157 mDisplay, mSync, EGL_SYNC_STATUS_KHR, &val)) in isSignaled()
164 s_egl.eglDestroySyncKHR(mDisplay, mSync); in destroy()
DEmulatedEglConfig.cpp135 : mDisplay(display), mGlesDispatchMaxVersion(version) { in EmulatedEglConfigList()
164 if (!s_egl.eglGetConfigs(mDisplay, NULL, 0, &numHostConfigs)) { in chooseConfig()
227 if (s_egl.eglChooseConfig(mDisplay, in chooseConfig()
243 if (!isCompatibleHostConfig(matchedConfigs[n], mDisplay)) { in chooseConfig()
249 mDisplay, matchedConfigs[n], EGL_CONFIG_ID, &hostConfigId); in chooseConfig()
DEmulatedEglContext.cpp92 mDisplay(display), in EmulatedEglContext()
100 s_egl.eglDestroyContext(mDisplay, mContext); in ~EmulatedEglContext()
109 s_egl.eglSaveContext(mDisplay, mContext, static_cast<EGLStreamKHR>(stream)); in onSave()
DDisplayGl.cpp72 s_egl.eglSwapBuffers(surfaceGl->mDisplay, surfaceGl->mSurface); in post()
115 s_egl.eglSwapBuffers(surfaceGl->mDisplay, surfaceGl->mSurface); in clear()
DDisplaySurfaceGl.h62 EGLDisplay mDisplay = EGL_NO_DISPLAY; variable
DEmulatedEglFenceSync.h152 EGLDisplay mDisplay; variable
DEmulatedEglContext.h94 EGLDisplay mDisplay; variable
DEmulatedEglWindowSurface.h122 EGLDisplay mDisplay = EGL_NO_DISPLAY; variable
DEmulatedEglConfig.h164 EGLDisplay mDisplay = 0; variable
/device/generic/vulkan-cereal/stream-servers/
DSyncThread.cpp212 egl->eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in cleanup()
214 egl->eglDestroyContext(mDisplay, mContext[workerId]); in cleanup()
215 egl->eglDestroySurface(mDisplay, mSurface[workerId]); in cleanup()
297 mDisplay = egl->eglGetDisplay(EGL_DEFAULT_DISPLAY); in initSyncEGLContext()
299 egl->eglInitialize(mDisplay, &eglMaj, &eglMin); in initSyncEGLContext()
318 egl->eglChooseConfig(mDisplay, configAttribs, &config, 1, &nConfigs); in initSyncEGLContext()
324 mSurface[workerId] = egl->eglCreatePbufferSurface(mDisplay, config, pbufferAttribs); in initSyncEGLContext()
328 egl->eglCreateContext(mDisplay, config, EGL_NO_CONTEXT, contextAttribs); in initSyncEGLContext()
330 egl->eglMakeCurrent(mDisplay, mSurface[workerId], mSurface[workerId], in initSyncEGLContext()
DSyncThread.h139 EGLDisplay mDisplay = EGL_NO_DISPLAY; variable