FreeBASIC  0.91.0
fb_gfx_gl.h File Reference
#include <GL/gl.h>
#include "../rtlib/fb_private_hdynload.h"
Include dependency graph for fb_gfx_gl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FB_GL
 
struct  FB_GL_PARAMS
 

Macros

#define FBGL_EXTENSIONS_STRING_SIZE   16384
 
#define GL_ARB_multisample
 
#define GL_MULTISAMPLE_ARB   0x809D
 

Typedefs

typedef void(APIENTRY * GLENABLE )(GLenum)
 
typedef void(APIENTRY * GLDISABLE )(GLenum)
 
typedef const GLubyte *(APIENTRY * GLGETSTRING )(GLenum)
 
typedef void(APIENTRY * GLVIEWPORT )(GLint, GLint, GLsizei, GLsizei)
 
typedef void(APIENTRY * GLMATRIXMODE )(GLenum)
 
typedef void(APIENTRY * GLLOADIDENTITY )(void)
 
typedef void(APIENTRY * GLORTHO )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)
 
typedef void(APIENTRY * GLSHADEMODEL )(GLenum)
 
typedef void(APIENTRY * GLDEPTHMASK )(GLboolean)
 
typedef void(APIENTRY * GLCLEARCOLOR )(GLclampf, GLclampf, GLclampf, GLclampf)
 
typedef void(APIENTRY * GLCLEAR )(GLbitfield)
 
typedef void(APIENTRY * GLGENTEXTURES )(GLsizei, GLuint *)
 
typedef void(APIENTRY * GLDELETETEXTURES )(GLsizei, GLuint *)
 
typedef void(APIENTRY * GLBINDTEXTURE )(GLenum, GLuint)
 
typedef void(APIENTRY * GLTEXIMAGE2D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)
 
typedef struct FB_GL FB_GL
 
typedef struct FB_GL_PARAMS FB_GL_PARAMS
 

Functions

void fb_hGL_NormalizeParameters (int gl_options)
 
int fb_hGL_Init (FB_DYLIB lib, char *os_extensions)
 
int fb_hGL_ExtensionSupported (const char *extension)
 
void * fb_hGL_GetProcAddress (const char *proc)
 

Variables

FB_GL __fb_gl
 
FB_GL_PARAMS __fb_gl_params
 

Macro Definition Documentation

#define FBGL_EXTENSIONS_STRING_SIZE   16384

Definition at line 14 of file fb_gfx_gl.h.

#define GL_ARB_multisample

Definition at line 17 of file fb_gfx_gl.h.

#define GL_MULTISAMPLE_ARB   0x809D

Definition at line 18 of file fb_gfx_gl.h.

Typedef Documentation

typedef struct FB_GL FB_GL
typedef struct FB_GL_PARAMS FB_GL_PARAMS
typedef void(APIENTRY * GLBINDTEXTURE)(GLenum, GLuint)

Definition at line 34 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLCLEAR)(GLbitfield)

Definition at line 31 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLCLEARCOLOR)(GLclampf, GLclampf, GLclampf, GLclampf)

Definition at line 30 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLDELETETEXTURES)(GLsizei, GLuint *)

Definition at line 33 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLDEPTHMASK)(GLboolean)

Definition at line 29 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLDISABLE)(GLenum)

Definition at line 22 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLENABLE)(GLenum)

Definition at line 21 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLGENTEXTURES)(GLsizei, GLuint *)

Definition at line 32 of file fb_gfx_gl.h.

typedef const GLubyte*(APIENTRY * GLGETSTRING)(GLenum)

Definition at line 23 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLLOADIDENTITY)(void)

Definition at line 26 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLMATRIXMODE)(GLenum)

Definition at line 25 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLORTHO)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)

Definition at line 27 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLSHADEMODEL)(GLenum)

Definition at line 28 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLTEXIMAGE2D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)

Definition at line 35 of file fb_gfx_gl.h.

typedef void(APIENTRY * GLVIEWPORT)(GLint, GLint, GLsizei, GLsizei)

Definition at line 24 of file fb_gfx_gl.h.

Function Documentation

int fb_hGL_ExtensionSupported ( const char *  extension)

Definition at line 45 of file gfx_opengl.c.

Here is the caller graph for this function:

void* fb_hGL_GetProcAddress ( const char *  proc)

Definition at line 60 of file gfx_driver_opengl_x11.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int fb_hGL_Init ( FB_DYLIB  lib,
char *  os_extensions 
)

Definition at line 158 of file gfx_opengl.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void fb_hGL_NormalizeParameters ( int  gl_options)

Definition at line 100 of file gfx_opengl.c.

Here is the caller graph for this function:

Variable Documentation

FB_GL __fb_gl

Definition at line 23 of file gfx_opengl.c.

FB_GL_PARAMS __fb_gl_params

Definition at line 24 of file gfx_opengl.c.