#include <windows.h>
#include <winuser.h>
#include "VMDApp.h"
#include "OpenGLDisplayDevice.h"
#include "Inform.h"
#include "utilities.h"
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <GL/gl.h>
#include "../msvc/winvmd/res/resource.h"
#include <GL/glext.h>
#include <GL/wglext.h>
Go to the source code of this file.
| Defines | |
| #define | _WIN32_WINNT 0x0400 | 
| Functions | |
| __declspec (dllexport) DWORD AmdPowerXpressRequestHighPerformance=1 | |
| LRESULT WINAPI | vmdWindowProc (HWND, UINT, WPARAM, LPARAM) | 
| int | OpenWin32Connection (wgldata *glwsrv) | 
| int | PFDHasStereo (int ID, HDC hDC) | 
| HGLRC | SetupOpenGL (wgldata *glwsrv) | 
| int | myCreateWindow (OpenGLDisplayDevice *ogldispdev, int xpos, int ypos, int xs, int ys) | 
| void | vmd_transwin32mouse (OpenGLDisplayDevice *d, LPARAM l) | 
| Variables | |
| const char * | glStereoNameStr [OPENGL_STEREO_MODES] | 
| const char * | glRenderNameStr [OPENGL_RENDER_MODES] | 
| const char * | glCacheNameStr [OPENGL_CACHE_MODES] | 
| char | szAppName [] = "VMD" | 
| char | szAppTitle [] = "VMD " VMDVERSION " OpenGL Display" | 
Renders drawing commands into a single window.
Definition in file Win32OpenGLDisplayDevice.C.
| 
 | 
| 
 Definition at line 25 of file Win32OpenGLDisplayDevice.C. | 
| 
 | 
| 
 | 
| 
 | ||||||||||||||||||||||||
| 
 Definition at line 258 of file Win32OpenGLDisplayDevice.C. References NULL, szAppName, and szAppTitle. | 
| 
 | 
| 
 Definition at line 92 of file Win32OpenGLDisplayDevice.C. References NULL, szAppName, and vmdWindowProc. | 
| 
 | ||||||||||||
| 
 Definition at line 131 of file Win32OpenGLDisplayDevice.C. Referenced by SetupOpenGL. | 
| 
 | 
| 
 Definition at line 203 of file Win32OpenGLDisplayDevice.C. References NULL, and PFDHasStereo. Referenced by vmdWindowProc. | 
| 
 | ||||||||||||
| 
 Definition at line 292 of file Win32OpenGLDisplayDevice.C. References DisplayDevice::ySize. Referenced by vmdWindowProc. | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 378 of file Win32OpenGLDisplayDevice.C. References VMDApp::molecule_load, NULL, OpenGLDisplayDevice::reshape, OpenGLDisplayDevice::set_cursor, SetupOpenGL, vmd_transwin32mouse, DisplayDevice::vmdapp, DisplayDevice::xSize, and DisplayDevice::ySize. Referenced by OpenWin32Connection. | 
| 
 | 
| Initial value:  
{ "Off",
  "On" }Definition at line 83 of file Win32OpenGLDisplayDevice.C. | 
| 
 | 
| Initial value: 
{ "Normal",
  "GLSL",
  "Acrobat3D" }Definition at line 78 of file Win32OpenGLDisplayDevice.C. | 
| 
 | 
| Initial value:  
 { "Off", 
   "QuadBuffered", 
   "HDTV SideBySide",
   "Checkerboard",
   "ColumnInterleaved",
   "RowInterleaved",
   "Anaglyph",
   "SideBySide", 
   "AboveBelow",
   "Left", 
   "Right" }Definition at line 65 of file Win32OpenGLDisplayDevice.C. | 
| 
 | 
| 
 Definition at line 87 of file Win32OpenGLDisplayDevice.C. Referenced by myCreateWindow, and OpenWin32Connection. | 
| 
 | 
| 
 Definition at line 88 of file Win32OpenGLDisplayDevice.C. Referenced by myCreateWindow. | 
 1.2.14 written by Dimitri van Heesch,
 © 1997-2002
1.2.14 written by Dimitri van Heesch,
 © 1997-2002