arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

glew.c File Reference

#include <GL/glew.h>
#include <GL/wglew.h>
#include <GL/glxew.h>

Go to the source code of this file.

Defines

#define glewGetProcAddress(name)   (*glXGetProcAddressARB)(name)

Functions

int _glewStrLen (const char *s)
int _glewStrCLen (const char *s, char c)
int _glewStrSame (const char *a, const char *b, int n)
void * _glewMemSet (void *s, char c, int n)
GLboolean glewGetExtension (const char *name)
GLboolean glxewGetExtension (const char *name)
const char * glewGetErrorString (GLint error)
GLint glewInit ()

Variables

GLEW glew
GLXEW glxew
GLboolean glewExperimental = GL_FALSE


Define Documentation

#define glewGetProcAddress name   )     (*glXGetProcAddressARB)(name)
 

Definition at line 103 of file glew.c.


Function Documentation

void* _glewMemSet void *  s,
char  c,
int  n
 

Definition at line 2593 of file glew.c.

References n, and s.

int _glewStrCLen const char *  s,
char  c
 

Definition at line 2579 of file glew.c.

References s.

Referenced by glewGetExtension(), and glxewGetExtension().

int _glewStrLen const char *  s  ) 
 

Definition at line 2572 of file glew.c.

References s.

Referenced by glewGetExtension(), and glxewGetExtension().

int _glewStrSame const char *  a,
const char *  b,
int  n
 

Definition at line 2586 of file glew.c.

References n.

Referenced by glewGetExtension(), and glxewGetExtension().

const char* glewGetErrorString GLint  error  ) 
 

Definition at line 3349 of file glew.c.

Referenced by main().

GLboolean glewGetExtension const char *  name  ) 
 

Definition at line 2607 of file glew.c.

References _glewStrCLen(), _glewStrLen(), _glewStrSame(), end, GL_EXTENSIONS, GL_FALSE, GL_TRUE, GLboolean, glGetString(), len, n, and name.

GLint glewInit  ) 
 

Definition at line 3365 of file glew.c.

References GLint, and r.

Referenced by BasicQGL::initializeGL(), and main().

GLboolean glxewGetExtension const char *  name  ) 
 

Definition at line 3188 of file glew.c.

References _glewStrCLen(), _glewStrLen(), _glewStrSame(), end, GL_FALSE, GL_TRUE, GLboolean, glXGetCurrentDisplay, glXQueryExtensionsString(), len, n, and name.


Variable Documentation

struct GLEW glew
 

Definition at line 3357 of file glew.c.

Referenced by getInternalFormat(), and init().

GLboolean glewExperimental = GL_FALSE
 

Definition at line 3363 of file glew.c.

Referenced by main().

struct GLXEW glxew
 

Definition at line 3361 of file glew.c.


Send questions, comments, and bug reports to:
jmk