Home
last modified time | relevance | path

Searched refs:glx_dpy (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/glx/
Dclientinfo.c32 __glX_send_client_info(struct glx_display *glx_dpy) in __glX_send_client_info() argument
77 if (glx_dpy->majorVersion == 1 && glx_dpy->minorVersion == 0) in __glX_send_client_info()
83 for (i = 0; i < ScreenCount(glx_dpy->dpy); i++) { in __glX_send_client_info()
84 struct glx_screen *src = glx_dpy->screens[i]; in __glX_send_client_info()
118 c = XGetXCBConnection(glx_dpy->dpy); in __glX_send_client_info()
126 if (glx_dpy->majorVersion == 1 && glx_dpy->minorVersion == 4 in __glX_send_client_info()
137 } else if (glx_dpy->majorVersion == 1 && glx_dpy->minorVersion == 4 in __glX_send_client_info()
Dglx_error.c41 struct glx_display *glx_dpy = __glXInitialize(dpy); in __glXSendError() local
45 assert(glx_dpy); in __glXSendError()
56 error.errorCode = glx_dpy->codes->first_error + errorCode; in __glXSendError()
Dapplegl_glx.c188 applegl_create_display(struct glx_display *glx_dpy) in applegl_create_display() argument
190 if(!apple_init_glx(glx_dpy->dpy)) in applegl_create_display()
Dglxext.c110 struct glx_display *glx_dpy = __glXInitialize(dpy); in XEXT_GENERATE_ERROR_STRING() local
112 if (glx_dpy == NULL) in XEXT_GENERATE_ERROR_STRING()
115 switch ((wire->u.u.type & 0x7f) - glx_dpy->codes->first_event) { in XEXT_GENERATE_ERROR_STRING()
167 struct glx_display *glx_dpy = __glXInitialize(dpy); in __glXEventToWire() local
169 if (glx_dpy == NULL) in __glXEventToWire()
Dglxclient.h737 __glX_send_client_info(struct glx_display *glx_dpy);
Ddri2_glx.c673 struct glx_display *glx_dpy = __glXInitialize(dpy); in dri2GetSwapEventType() local
678 return glx_dpy->codes->first_event + GLX_BufferSwapComplete; in dri2GetSwapEventType()
/external/mesa3d/src/glx/tests/
Dclientinfo_unittest.cpp89 fake_glx_display *glx_dpy; member in glX_send_client_info_test
227 : glx_dpy(0), display(0) in glX_send_client_info_test()
234 if (glx_dpy) in ~glX_send_client_info_test()
235 delete glx_dpy; in ~glX_send_client_info_test()
244 if (this->glx_dpy != NULL) { in destroy_display()
245 if (this->glx_dpy->screens != NULL) { in destroy_display()
247 delete [] this->glx_dpy->screens[i]->serverGLXexts; in destroy_display()
248 delete this->glx_dpy->screens[i]; in destroy_display()
251 delete [] this->glx_dpy->screens; in destroy_display()
254 delete this->glx_dpy; in destroy_display()
[all …]
Dfake_glx_screen.h29 fake_glx_screen(struct glx_display *glx_dpy, int num, const char *ext) in fake_glx_screen() argument
40 this->display = glx_dpy; in fake_glx_screen()
41 this->dpy = (glx_dpy != NULL) ? glx_dpy->dpy : NULL; in fake_glx_screen()
58 fake_glx_screen_direct(struct glx_display *glx_dpy, int num, in fake_glx_screen_direct() argument
60 : fake_glx_screen(glx_dpy, num, ext) in fake_glx_screen_direct()
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dx11_screen.c49 __GLXdisplayPrivate *glx_dpy; member
105 if (xscr->glx_dpy) in x11_screen_destroy()
106 xscr->glx_dpy->xscr = NULL; in x11_screen_destroy()
132 if (!xscr->glx_dpy) in x11_screen_init_glx()
133 xscr->glx_dpy = __glXInitialize(xscr->dpy); in x11_screen_init_glx()
134 return (xscr->glx_dpy != NULL); in x11_screen_init_glx()
224 ? xscr->glx_dpy->screenConfigs[xscr->number]->configs in x11_screen_get_glx_configs()
301 if (xscr->glx_dpy->xscr) { in x11_screen_enable_dri2()
308 xscr->glx_dpy->xscr = xscr; in x11_screen_enable_dri2()