All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
glewinfo.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/glew.h>
#include <GL/glxew.h>

Go to the source code of this file.


GLboolean glewCreateContext (const char *display, int *visual)
void glewDestroyContext ()
static void glewInfo (void)
static void glewInfoFunc (const char *name, GLint undefined)
GLboolean glewParseArgs (int argc, char **argv, char **display, int *visual)
static void glewPrintExt (const char *name, GLboolean def1, GLboolean def2, GLboolean def3)
static void glxewInfo ()
int main (int argc, char **argv)


Colormap cmap = 0
GLXContext ctx = NULL
Display * dpy = NULL
static FILE * f
XVisualInfo * vi = NULL
XVisualInfo * vis = NULL
Window wnd = 0

Function Documentation

GLboolean glewCreateContext ( const char *  display,
int visual 
void glewDestroyContext ( )

Definition at line 10669 of file glewinfo.c.

References glXDestroyContext, NULL, XCloseDisplay, and XDestroyWindow.

Referenced by main().

static void glewInfo ( void  )

Definition at line 8493 of file glewinfo.c.

Referenced by main().

static void glewInfoFunc ( const char *  name,
GLint  undefined 

Definition at line 93 of file glewinfo.c.

References i.

GLboolean glewParseArgs ( int  argc,
char **  argv,
char **  display,
int visual 

Definition at line 10491 of file glewinfo.c.

References GL_FALSE, GL_TRUE, int, and NULL.

Referenced by main().

static void glewPrintExt ( const char *  name,
GLboolean  def1,
GLboolean  def2,
GLboolean  def3 

Definition at line 76 of file glewinfo.c.

References i.

static void glxewInfo ( )

Definition at line 10208 of file glewinfo.c.

Referenced by main().

Variable Documentation

Colormap cmap = 0

Definition at line 10623 of file glewinfo.c.

Definition at line 10621 of file glewinfo.c.

Display* dpy = NULL

Definition at line 10618 of file glewinfo.c.


Definition at line 46 of file glewinfo.c.

XVisualInfo* vi = NULL

Definition at line 10619 of file glewinfo.c.

XVisualInfo* vis = NULL

Definition at line 10620 of file glewinfo.c.

Window wnd = 0

Definition at line 10622 of file glewinfo.c.