Searched refs:_eglut (Results 1 - 4 of 4) sorted by last modified time

/xsrc/external/mit/mesa-demos/dist/src/egl/eglut/
H A Deglut.c45 struct eglut_state *_eglut = &_eglut_state; variable in typeref:struct:eglut_state *
79 if (_eglut->surface_type != EGL_PBUFFER_BIT)
80 eglDestroySurface(_eglut->dpy, win->surface);
84 eglDestroyContext(_eglut->dpy, win->context);
105 config_attribs[i++] = _eglut->surface_type;
109 if (_eglut->api_mask & EGLUT_OPENGL_BIT)
111 if (_eglut->api_mask & EGLUT_OPENGL_ES1_BIT)
113 if (_eglut->api_mask & EGLUT_OPENGL_ES2_BIT)
115 if (_eglut->api_mask & EGLUT_OPENVG_BIT)
121 if (!eglChooseConfig(_eglut
[all...]
H A Deglut_wayland.c86 _eglut->native_dpy = display.display = wl_display_connect(NULL);
88 if (!_eglut->native_dpy)
91 registry = wl_display_get_registry(_eglut->native_dpy);
93 wayland_roundtrip(_eglut->native_dpy);
96 _eglut->surface_type = EGL_WINDOW_BIT;
97 _eglut->redisplay = 1;
103 wl_display_flush(_eglut->native_dpy);
104 wl_display_disconnect(_eglut->native_dpy);
155 struct eglut_window *win = _eglut->current;
163 if (!_eglut
[all...]
H A Deglut_x11.c35 _eglut->native_dpy = XOpenDisplay(_eglut->display_name);
36 if (!_eglut->native_dpy)
39 _eglut->surface_type = EGL_WINDOW_BIT;
45 XCloseDisplay(_eglut->native_dpy);
59 if (!eglGetConfigAttrib(_eglut->dpy,
65 visInfo = XGetVisualInfo(_eglut->native_dpy,
70 root = RootWindow(_eglut->native_dpy, DefaultScreen(_eglut->native_dpy));
75 attr.colormap = XCreateColormap(_eglut
[all...]
H A Deglutint.h79 extern struct eglut_state *_eglut;

Completed in 4 milliseconds