#include <stdio.h>
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
Go to the source code of this file.
Defines | |
| #define | WGL_DRAW_TO_PBUFFER_ARB 0x202D |
| #define | WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 |
Typedefs | |
| typedef const char *APIENTRY * | wglGetExtensionsStringARBPROC (HDC hdc) |
| typedef const char *APIENTRY * | wglGetExtensionsStringEXTPROC () |
| typedef int | iPixelFormat |
| typedef int int | iLayerPlane |
| typedef int int UINT | nAttributes |
| typedef int int UINT const int * | piAttributes |
| typedef int int UINT const int int * | piValues |
| typedef const int * | piAttribIList |
| typedef const int const FLOAT * | pfAttribFList |
| typedef const int const FLOAT UINT | nMaxFormats |
| typedef const int const FLOAT UINT int * | piFormats |
| typedef const int const FLOAT UINT int UINT * | nNumFormats |
Functions | |
| typedef | BOOL (APIENTRY *wglGetPixelFormatAttribivARBPROC)(HDC hdc |
| void | VisualInfo (HDC hDC, int verbose) |
| LONG WINAPI | WindowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| HWND | CreateGLWindow (char *title, int x, int y, int width, int height, BYTE type, DWORD flags) |
| void | PrintExtensions (char *s) |
| int | main (int argc, char **argv) |
Variables | |
| int | drawableonly = 0 |
| int | pixelformatok = 0 |
| int | dontcreatecontext = 0 |
| int | displaystdout = 0 |
| int | verbose = 0 |
| FILE * | file = stdout |
| wglGetExtensionsStringARBPROC | wglGetExtensionsStringARB = NULL |
| wglGetExtensionsStringEXTPROC | wglGetExtensionsStringEXT = NULL |
| wglGetPixelFormatAttribivARBPROC | wglGetPixelFormatAttribivARB = NULL |
| wglChoosePixelFormatARBPROC | wglChoosePixelFormatARB = NULL |
|
|
Definition at line 53 of file wglinfo.c. Referenced by main(). |
|
|
Definition at line 54 of file wglinfo.c. Referenced by main(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 56 of file wglinfo.c. Referenced by main(). |
|
|
Definition at line 57 of file wglinfo.c. Referenced by main(). |
|
|
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 219 of file wglinfo.c. References height, pixelformatok, width, WindowProc(), x, and y. Referenced by main(). |
|
||||||||||||
|
|
Definition at line 296 of file wglinfo.c. Referenced by main(). |
|
||||||||||||
|
Definition at line 67 of file wglinfo.c. References drawableonly, file, and verbose. Referenced by main(). |
|
||||||||||||||||||||
|
Definition at line 185 of file wglinfo.c. Referenced by CreateGLWindow(). |
|
|
Definition at line 49 of file wglinfo.c. Referenced by main(). |
|
|
Definition at line 48 of file wglinfo.c. Referenced by main(). |
|
|
Definition at line 46 of file wglinfo.c. Referenced by main(), and VisualInfo(). |
|
|
Definition at line 51 of file wglinfo.c. Referenced by SlicerBase::confMenu(), PShaderWin::confMenu(), main(), PrintExtensions(), Nrro::readNrrd(), and VisualInfo(). |
|
|
Definition at line 47 of file wglinfo.c. Referenced by CreateGLWindow(), and main(). |
|
|
Definition at line 50 of file wglinfo.c. Referenced by main(), and VisualInfo(). |
|
|
Definition at line 64 of file wglinfo.c. Referenced by main(). |
|
|
Definition at line 61 of file wglinfo.c. Referenced by main(). |
|
|
Definition at line 62 of file wglinfo.c. Referenced by main(). |
|
|
Definition at line 63 of file wglinfo.c. Referenced by main(). |