Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

wglGraphicsWindow.cxx File Reference

#include "wglGraphicsWindow.h"
#include "config_wgldisplay.h"
#include "config_windisplay.h"
#include "wglGraphicsPipe.h"
#include "glGraphicsStateGuardian.h"
#include <wingdi.h>
#include <ddraw.h>

Go to the source code of this file.

Defines

#define MY_DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
#define LOWVIDMEMTHRESHOLD   3500000

Functions

char * ConvDDErrorToString (const HRESULT &error)
 MY_DEFINE_GUID (IID_IDirectDraw2, 0xB3A6F3E0, 0x2B43, 0x11CF, 0xA2, 0xDE, 0x00, 0xAA, 0x00, 0xB9, 0x33, 0x56)
DWORD GetAvailVidMem ()


Define Documentation

#define LOWVIDMEMTHRESHOLD   3500000
 

#define MY_DEFINE_GUID name,
l,
w1,
w2,
b1,
b2,
b3,
b4,
b5,
b6,
b7,
b8   ) 
 

Value:

EXTERN_C const GUID DECLSPEC_SELECTANY name \
                = { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }

Definition at line 33 of file wglGraphicsWindow.cxx.


Function Documentation

char * ConvDDErrorToString const HRESULT &  error  )  [static]
 

Definition at line 417 of file wglGraphicsWindow.cxx.

Referenced by GetAvailVidMem().

DWORD GetAvailVidMem  )  [static]
 

Definition at line 44 of file wglGraphicsWindow.cxx.

References ConvDDErrorToString(), and NULL.

Referenced by wglGraphicsWindow::reconsider_fullscreen_size().

MY_DEFINE_GUID IID_IDirectDraw2  ,
0xB3A6F3E0  ,
0x2B43  ,
0x11CF  ,
0xA2  ,
0xDE  ,
0x00  ,
0xAA  ,
0x00  ,
0xB9  ,
0x33  ,
0x56 
 


Generated on Fri Apr 18 00:11:07 2003 for Panda by doxygen1.3