#include <list>
#include <vector>
#include <GL/glx.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/XUtil.h>
#include <GL/glext.h>
#include <hash_map>
Go to the source code of this file.
Namespaces | |
namespace | glAsync |
Classes | |
class | glAsync::Thread |
For multi-threaded rendering, use one instance of this class for each rendering thread. More... | |
Defines | |
#define | GL_GLEXT_PROTOTYPES |
Functions | |
Bool | glAsync::XMapContext (Display *display, XVisualInfo *visInfo, GLXContext context) |
Map a context to be used for asynchronous functions. | |
void | glAsync::XUnmapContext (Display *display, GLXContext context) |
Unmap a context to be used for asynchronous functions. | |
Bool | glAsync::XMakeCurrent (Display *display, GLXContext context) |
Attach a rendering context to the asynchronous thread. | |
void | glAsync::bindTexture (GLenum target, GLuint texture) |
Bind a named texture to a texturing target for the following asynchronous texture operations on the target. | |
GLuint | glAsync::texImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
Specify a two-dimensional texture image. | |
GLuint | glAsync::texImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
Specify a three-dimensional texture image. | |
Bool | glAsync::poll (GLuint marker) |
Poll for the completion of an operation. | |
Bool | glAsync::isIdle () |
Poll for the completion of all operations. | |
void | glAsync::finish (GLuint marker) |
Finish an operation. | |
void | glAsync::finishAll () |
Finish all pending operations. |
#define GL_GLEXT_PROTOTYPES |