summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/x11/glxinit.h
blob: 4078aef2feeae96fbea2d63718305fb9bd182f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef GLXINIT_INCLUDED
#define GLXINIT_INCLUDED

#include <X11/Xlib.h>
#include <GL/gl.h>

typedef struct {
   __GLcontextModes *configs;
   char *serverGLXexts;
} __GLXscreenConfigs;

typedef struct {
   Display *dpy;
   __GLXscreenConfigs **screenConfigs;
   char *serverGLXversion;
   int majorOpcode;
   struct x11_screen *xscr;
} __GLXdisplayPrivate;

extern __GLXdisplayPrivate *__glXInitialize(Display * dpy);

#endif /* GLXINIT_INCLUDED */