#include <stdlib.h>#include <string.h>#include <stdio.h>#include <X11/Xlib.h>#include <X11/Xatom.h>#include "glutint.h"Include dependency graph for glut_init.c:

Go to the source code of this file.
Defines | |
| #define | XSGIFastInternAtom(dpy, string, fast_name, how) XInternAtom(dpy,string,how) |
Functions | |
| void | __glutOpenXConnection (char *display) |
| void | __glutInitTime (struct timeval *beginning) |
| static void | removeArgs (int *argcp, char **argv, int numToRemove) |
| void APIENTRY | glutInit (int *argcp, char **argv) |
| void APIENTRY | glutInitWindowPosition (int x, int y) |
| void APIENTRY | glutInitWindowSize (int width, int height) |
| void APIENTRY | glutInitDisplayMode (unsigned int mask) |
| void APIENTRY | glutInitWacom (void) |
Variables | |
| char * | __glutProgramName = NULL |
| int | __glutArgc = 0 |
| char ** | __glutArgv = NULL |
| char * | __glutGeometry = NULL |
| Display * | __glutDisplay = NULL |
| int | __glutScreen |
| Window | __glutRoot |
| int | __glutScreenHeight |
| int | __glutScreenWidth |
| GLboolean | __glutIconic = GL_FALSE |
| GLboolean | __glutDebug = GL_FALSE |
| unsigned int | __glutDisplayMode |
| char * | __glutDisplayString = NULL |
| int | __glutConnectionFD |
| XSizeHints | __glutSizeHints = {0} |
| int | __glutInitWidth = 300 |
| int | __glutInitHeight = 300 |
| int | __glutInitX = -1 |
| int | __glutInitY = -1 |
| GLboolean | __glutForceDirect = GL_FALSE |
| GLboolean | __glutTryDirect = GL_TRUE |
| Atom | __glutWMDeleteWindow |
| static Bool | synchronize = False |
|
|
Definition at line 22 of file glut_init.c. Referenced by __glutOpenXConnection(). |
|
|
Definition at line 149 of file glut_init.c. References GETTIMEOFDAY. Referenced by glutInit(). |
|
|
Definition at line 123 of file glut_init.c. References __glutConnectionFD, __glutDisplay, __glutFatalError(), __glutRoot, __glutScreen, __glutScreenHeight, __glutScreenWidth, __glutWMDeleteWindow, glXQueryExtension(), synchronize, and XSGIFastInternAtom. Referenced by __glutCreateWindow(), and glutInit(). |
|
||||||||||||
|
Definition at line 174 of file glut_init.c. References __glutArgc, __glutArgv, __glutDebug, __glutDisplay, __glutFatalError(), __glutForceDirect, __glutIconic, __glutInitHeight, __glutInitTime(), __glutInitWidth, __glutInitX, __glutInitY, __glutOpenXConnection(), __glutProgramName, __glutScreen, __glutSizeHints, __glutStrdup(), __glutTryDirect, __glutWarning(), GL_FALSE, GL_TRUE, glutInitWindowPosition(), glutInitWindowSize(), removeArgs(), and synchronize. Referenced by GLUT_WINSYS::GLUT_WINSYS(). |
|
|
Definition at line 346 of file glut_init.c. References __glutDisplayMode. Referenced by GLUT_WINSYS::setup(). |
|
|
Definition at line 352 of file glut_init.c. References __glutWacomCalibrate(). Referenced by GLUT_MOUSE::GLUT_MOUSE(). |
|
||||||||||||
|
Definition at line 318 of file glut_init.c. References __glutInitX, __glutInitY, and __glutSizeHints. Referenced by glutInit(), and GLUT_WINSYS::setup(). |
|
||||||||||||
|
Definition at line 332 of file glut_init.c. References __glutInitHeight, __glutInitWidth, and __glutSizeHints. Referenced by glutInit(), and GLUT_WINSYS::setup(). |
|
||||||||||||||||
|
Definition at line 162 of file glut_init.c. References j. Referenced by glutInit(). |
|
|
Definition at line 30 of file glut_init.c. Referenced by glutCreateWindow(), and glutInit(). |
|
|
Definition at line 31 of file glut_init.c. Referenced by glutCreateWindow(), and glutInit(). |
|
|
Definition at line 43 of file glut_init.c. Referenced by __glutOpenXConnection(), interruptibleXNextEvent(), and waitForSomething(). |
|
|
Definition at line 39 of file glut_init.c. Referenced by __glutSetWindow(), and glutInit(). |
|
|
|
Initial value: GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH Definition at line 40 of file glut_init.c. Referenced by __glutDetermineWindowVisual(), determineOverlayVisual(), and glutInitDisplayMode(). |
|
|
Definition at line 42 of file glut_init.c. Referenced by __glutDetermineVisual(), __glutDetermineWindowVisual(), determineOverlayVisual(), getVisualInfoCI(), and getVisualInfoRGB(). |
|
|
Definition at line 47 of file glut_init.c. Referenced by __glutCreateWindow(), glutEstablishOverlay(), and glutInit(). |
|
|
Definition at line 32 of file glut_init.c. |
|
|
Definition at line 38 of file glut_init.c. Referenced by glutCreateWindow(), and glutInit(). |
|
|
Definition at line 45 of file glut_init.c. Referenced by glutCreateWindow(), glutInit(), and glutInitWindowSize(). |
|
|
Definition at line 45 of file glut_init.c. Referenced by glutCreateWindow(), glutInit(), and glutInitWindowSize(). |
|
|
Definition at line 46 of file glut_init.c. Referenced by glutInit(), and glutInitWindowPosition(). |
|
|
Definition at line 46 of file glut_init.c. Referenced by glutInit(), and glutInitWindowPosition(). |
|
|
Definition at line 29 of file glut_init.c. Referenced by glutInit(). |
|
|
Definition at line 35 of file glut_init.c. Referenced by __glutCreateWindow(), and __glutOpenXConnection(). |
|
|
Definition at line 34 of file glut_init.c. Referenced by __glutOpenXConnection(), getOverlayVisualInfoCI(), getVisualInfoCI(), getVisualInfoRGB(), glutInit(), and processWindowWorkList(). |
|
|
Definition at line 36 of file glut_init.c. Referenced by __glutOpenXConnection(). |
|
|
Definition at line 37 of file glut_init.c. Referenced by __glutOpenXConnection(). |
|
|
Definition at line 44 of file glut_init.c. Referenced by glutCreateWindow(), glutInit(), glutInitWindowPosition(), and glutInitWindowSize(). |
|
|
Definition at line 48 of file glut_init.c. Referenced by __glutCreateWindow(), glutEstablishOverlay(), and glutInit(). |
|
|
Definition at line 49 of file glut_init.c. Referenced by __glutOpenXConnection(), glutCreateWindow(), and processEventsAndTimeouts(). |
|
|
Definition at line 52 of file glut_init.c. Referenced by __glutOpenXConnection(), and glutInit(). |
1.4.4