FreeBASIC
0.91.0
|
Go to the source code of this file.
Macros | |
#define | FBGL_TEXTURE 0x1 |
#define | FBGL_BLEND 0x2 |
#define | GL_BGRA 0x80E1 |
Functions | |
static int | next_pow2 (int n) |
FBCALL void * | fb_GfxGetGLProcAddress (const char *proc) |
int | fb_hGL_ExtensionSupported (const char *extension) |
void | fb_hGL_SetState (int state) |
GLuint | fb_hGL_ImageCreate (PUT_HEADER *image, unsigned int color) |
void | fb_hGL_ImageDestroy (GLuint id) |
void | fb_hGL_NormalizeParameters (int gl_options) |
int | fb_hGL_Init (FB_DYLIB lib, char *os_extensions) |
void | fb_hGL_SetupProjection (void) |
Variables | |
FB_GL | __fb_gl |
FB_GL_PARAMS | __fb_gl_params = { 0 } |
#define FBGL_BLEND 0x2 |
Definition at line 17 of file gfx_opengl.c.
#define FBGL_TEXTURE 0x1 |
Definition at line 16 of file gfx_opengl.c.
#define GL_BGRA 0x80E1 |
Definition at line 20 of file gfx_opengl.c.
FBCALL void* fb_GfxGetGLProcAddress | ( | const char * | proc) |
int fb_hGL_ExtensionSupported | ( | const char * | extension) |
GLuint fb_hGL_ImageCreate | ( | PUT_HEADER * | image, |
unsigned int | color | ||
) |
void fb_hGL_ImageDestroy | ( | GLuint | id) |
Definition at line 95 of file gfx_opengl.c.
int fb_hGL_Init | ( | FB_DYLIB | lib, |
char * | os_extensions | ||
) |
Definition at line 158 of file gfx_opengl.c.
void fb_hGL_NormalizeParameters | ( | int | gl_options) |
void fb_hGL_SetState | ( | int | state) |
Definition at line 60 of file gfx_opengl.c.
void fb_hGL_SetupProjection | ( | void | ) |
Definition at line 184 of file gfx_opengl.c.
|
static |
FB_GL __fb_gl |
Definition at line 23 of file gfx_opengl.c.
FB_GL_PARAMS __fb_gl_params = { 0 } |
Definition at line 24 of file gfx_opengl.c.