#include <GL/glx.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>
#include "zgl.h"
Go to the source code of this file.
|
Bool | glXQueryExtension (Display *dpy, int *errorb, int *event) |
|
XVisualInfo * | glXChooseVisual (Display *dpy, int screen, int *attribList) |
|
GLXContext | glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct) |
|
void | glXDestroyContext (Display *dpy, GLXContext ctx1) |
|
int | glX_resize_viewport (GLContext *c, int *xsize_ptr, int *ysize_ptr) |
|
Bool | glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx1) |
|
void | glXSwapBuffers (Display *dpy, GLXDrawable drawable) |
|
void | glXWaitGL (void) |
|
void | glXWaitX (void) |
|
◆ glX_resize_viewport()
int glX_resize_viewport |
( |
GLContext * |
c, |
|
|
int * |
xsize_ptr, |
|
|
int * |
ysize_ptr |
|
) |
| |
◆ glXChooseVisual()
XVisualInfo * glXChooseVisual |
( |
Display * |
dpy, |
|
|
int |
screen, |
|
|
int * |
attribList |
|
) |
| |
Definition at line 30 of file glx.c.
◆ glXCreateContext()
Definition at line 57 of file glx.c.
◆ glXDestroyContext()
void glXDestroyContext |
( |
Display * |
dpy, |
|
|
GLXContext |
ctx1 |
|
) |
| |
Definition at line 72 of file glx.c.
◆ glXMakeCurrent()
◆ glXQueryExtension()
Bool glXQueryExtension |
( |
Display * |
dpy, |
|
|
int * |
errorb, |
|
|
int * |
event |
|
) |
| |
Definition at line 24 of file glx.c.
◆ glXSwapBuffers()
void glXSwapBuffers |
( |
Display * |
dpy, |
|
|
GLXDrawable |
drawable |
|
) |
| |
◆ glXWaitGL()
◆ glXWaitX()