#include "OpenGLUtils_FrameBuffer.h"
#include <utilities.h>
#include <cstring>
#include <GL/glx.h>
#include <dlfcn.h>
Macros | |
#define | GLX_GLXEXT_LEGACY |
#define | APIENTRY |
#define | APIENTRYP APIENTRY * |
#define | GL_FRAMEBUFFER_EXT 0x8D40 |
#define | GL_RENDERBUFFER_EXT 0x8D41 |
#define | GL_COLOR_ATTACHMENT0_EXT 0x8CE0 |
#define | GL_DEPTH_ATTACHMENT_EXT 0x8D00 |
#define | GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 |
#define | GL_GetProcAddress(x) glXGetProcAddressARB( (const GLubyte*)x ) |
Typedefs | |
typedef void(* | PFNGLGENFRAMEBUFFERSEXTPROC )(GLsizei n, GLuint *framebuffers) |
typedef void(* | PFNGLBINDFRAMEBUFFEREXTPROC )(GLenum target, GLuint framebuffer) |
typedef void(* | PFNGLFRAMEBUFFERTEXTURE2DEXTPROC )(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
typedef GLenum(* | PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC )(GLenum target) |
typedef void(* | PFNGLDELETEFRAMEBUFFERSEXTPROC )(GLsizei n, const GLuint *framebuffers) |
typedef void(* | PFNGLGENRENDERBUFFERSEXTPROC )(GLsizei n, GLuint *renderbuffers) |
typedef void(* | PFNGLBINDRENDERBUFFEREXTPROC )(GLenum target, GLuint renderbuffer) |
typedef void(* | PFNGLRENDERBUFFERSTORAGEEXTPROC )(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
typedef void(* | PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC )(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
typedef void(* | PFNGLDELETERENDERBUFFERSEXTPROC )(GLsizei n, const GLuint *renderbuffers) |
Functions | |
bool | InitializeEXT () |
Variables | |
static PFNGLGENFRAMEBUFFERSEXTPROC | vglGenFramebuffersEXT = NULL |
static PFNGLBINDFRAMEBUFFEREXTPROC | vglBindFramebufferEXT = NULL |
static PFNGLFRAMEBUFFERTEXTURE2DEXTPROC | vglFramebufferTexture2DEXT = NULL |
static PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC | vglCheckFramebufferStatusEXT = NULL |
static PFNGLDELETEFRAMEBUFFERSEXTPROC | vglDeleteFramebuffersEXT = NULL |
static PFNGLGENRENDERBUFFERSEXTPROC | vglGenRenderbuffersEXT = NULL |
static PFNGLBINDRENDERBUFFEREXTPROC | vglBindRenderbufferEXT = NULL |
static PFNGLRENDERBUFFERSTORAGEEXTPROC | vglRenderbufferStorageEXT = NULL |
static PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC | vglFramebufferRenderbufferEXT = NULL |
static PFNGLDELETERENDERBUFFERSEXTPROC | vglDeleteRenderbuffersEXT = NULL |
static bool | IsEXTInitialized = InitializeEXT() |
#define APIENTRY |
#define APIENTRYP APIENTRY * |
#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 |
#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 |
#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 |
#define GL_FRAMEBUFFER_EXT 0x8D40 |
#define GL_GetProcAddress | ( | x | ) | glXGetProcAddressARB( (const GLubyte*)x ) |
#define GL_RENDERBUFFER_EXT 0x8D41 |
#define GLX_GLXEXT_LEGACY |
typedef void( * PFNGLBINDFRAMEBUFFEREXTPROC)(GLenum target, GLuint framebuffer) |
typedef void( * PFNGLBINDRENDERBUFFEREXTPROC)(GLenum target, GLuint renderbuffer) |
typedef GLenum( * PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)(GLenum target) |
typedef void( * PFNGLDELETEFRAMEBUFFERSEXTPROC)(GLsizei n, const GLuint *framebuffers) |
typedef void( * PFNGLDELETERENDERBUFFERSEXTPROC)(GLsizei n, const GLuint *renderbuffers) |
typedef void( * PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
typedef void( * PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
typedef void( * PFNGLGENFRAMEBUFFERSEXTPROC)(GLsizei n, GLuint *framebuffers) |
typedef void( * PFNGLGENRENDERBUFFERSEXTPROC)(GLsizei n, GLuint *renderbuffers) |
typedef void( * PFNGLRENDERBUFFERSTORAGEEXTPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
bool InitializeEXT | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |