gCAD3D 2.35
gui_gtk2/gtk_gl_x11.c File Reference

Gtk-binding OpenGL Unix. More...

#include <stdio.h>
#include <stdlib.h>
#include <GL/gl.h>
#include <GL/glx.h>
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include "../gui_gtk2/gtk_gl_x11.h"

Functions

void * GLB_Create ()
 
int GLB_pending ()
 
int GLB_DrawInit (void *widget)
 
void GLB_DrawExit ()
 
int GLB_Query ()
 

Variables

static GLXContext GLB_x_context
 
static Display * GLB_display
 
static int GLB_x_id = 0
 

Detailed Description

Gtk-binding OpenGL Unix.

=====================================================
List_functions_start:
GLB_DrawInit start OpenGL-commandblock
GLB_DrawExit execute OpenGL-commandblock
GLB_Create create opengl-window (used by GUI_gl__)
GLB_Query display OpenGL-vendorstring (used by GUI_gl__)
List_functions_end:
=====================================================

Function Documentation

void* GLB_Create ( )

GLB_Create create opengl-window (used by GUI_gl__)

int GLB_pending ( )
int GLB_DrawInit ( void *  widget)

GLB_DrawInit start OpenGL-commandblock

void GLB_DrawExit ( )

GLB_DrawExit execute OpenGL-commandblock

int GLB_Query ( )

GLB_Query display OpenGL-vendorstring (used by GUI_gl__)

Variable Documentation

GLXContext GLB_x_context
static
Display* GLB_display
static
int GLB_x_id = 0
static