Home
last modified time | relevance | path

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

/third_party/mesa3d/src/glx/tests/
Dclientinfo_unittest.cpp84 fake_glx_display *glx_dpy; member in glX_send_client_info_test
222 : glx_dpy(0), display(0) in glX_send_client_info_test()
229 if (glx_dpy) in ~glX_send_client_info_test()
230 delete glx_dpy; in ~glX_send_client_info_test()
271 this->glx_dpy = new fake_glx_display(this->display, major, minor); in create_single_screen_display()
272 this->glx_dpy->init_screen(0, glx_ext); in create_single_screen_display()
282 __glX_send_client_info(this->glx_dpy); in common_protocol_expected_false_test()
293 __glX_send_client_info(this->glx_dpy); in common_protocol_expected_true_test()
505 __glX_send_client_info(this->glx_dpy); in TEST_F()
512 __glX_send_client_info(this->glx_dpy); in TEST_F()
[all …]
Dfake_glx_screen.h27 fake_glx_screen(struct glx_display *glx_dpy, int num, const char *ext) in fake_glx_screen() argument
38 this->display = glx_dpy; in fake_glx_screen()
39 this->dpy = (glx_dpy != NULL) ? glx_dpy->dpy : NULL; in fake_glx_screen()
56 fake_glx_screen_direct(struct glx_display *glx_dpy, int num, in fake_glx_screen_direct() argument
58 : fake_glx_screen(glx_dpy, num, ext) in fake_glx_screen_direct()
/third_party/mesa3d/src/glx/
Dclientinfo.c32 __glX_send_client_info(struct glx_display *glx_dpy) in __glX_send_client_info() argument
120 if (glx_dpy->minorVersion == 0) in __glX_send_client_info()
126 for (i = 0; i < ScreenCount(glx_dpy->dpy); i++) { in __glX_send_client_info()
127 struct glx_screen *src = glx_dpy->screens[i]; in __glX_send_client_info()
165 c = XGetXCBConnection(glx_dpy->dpy); in __glX_send_client_info()
173 if (glx_dpy->minorVersion == 4 in __glX_send_client_info()
184 } else if (glx_dpy->minorVersion == 4 in __glX_send_client_info()
Dglx_error.c41 struct glx_display *glx_dpy = __glXInitialize(dpy); in __glXSendError() local
44 assert(glx_dpy); in __glXSendError()
54 error.errorCode = glx_dpy->codes.first_error + errorCode; in __glXSendError()
60 error.majorCode = glx_dpy->codes.major_opcode; in __glXSendError()
Dapplegl_glx.c189 applegl_create_display(struct glx_display *glx_dpy) in applegl_create_display() argument
191 if(!apple_init_glx(glx_dpy->dpy)) in applegl_create_display()
Dglxext.c148 struct glx_display *glx_dpy = __glXInitialize(dpy); in XEXT_GENERATE_ERROR_STRING() local
150 if (glx_dpy == NULL) in XEXT_GENERATE_ERROR_STRING()
153 switch ((wire->u.u.type & 0x7f) - glx_dpy->codes.first_event) { in XEXT_GENERATE_ERROR_STRING()
214 struct glx_display *glx_dpy = __glXInitialize(dpy); in __glXEventToWire() local
216 if (glx_dpy == NULL) in __glXEventToWire()
Dglxclient.h733 __glX_send_client_info(struct glx_display *glx_dpy);
Ddri2_glx.c697 struct glx_display *glx_dpy = __glXInitialize(dpy); in dri2GetSwapEventType() local
702 return glx_dpy->codes.first_event + GLX_BufferSwapComplete; in dri2GetSwapEventType()