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

panda/src/dxgsg7/wdxGraphicsWindow7.cxx File Reference

#include "wdxGraphicsWindow7.h"
#include "config_dxgsg7.h"
#include "config_windisplay.h"
#include "wdxGraphicsPipe7.h"
#include "dxGraphicsStateGuardian7.h"
#include <wingdi.h>

Go to the source code of this file.

Compounds

struct  DisplayModeInfo

Defines

#define MAX_DX_ZBUF_FMTS   20
#define REGHALIDX   0
#define TNLHALIDX   1
#define SWRASTIDX   2
#define MAX_DISPLAY_MODES   100
#define IS_NVIDIA(DDDEVICEID)   ((DDDEVICEID.dwVendorId==0x10DE) || (DDDEVICEID.dwVendorId==0x12D2))
#define IS_ATI(DDDEVICEID)   (DDDEVICEID.dwVendorId==0x1002)
#define IS_MATROX(DDDEVICEID)   (DDDEVICEID.dwVendorId==0x102B)
#define SET_ZBUF_DEPTH(DEPTH)   { assert(pz##DEPTH != NULL); Display.depth_buffer_bitdepth=DEPTH; ddsd.ddpfPixelFormat = *pz##DEPTH;}
#define LOWVIDMEMTHRESHOLD   5500000
#define CRAPPY_DRIVER_IS_LYING_VIDMEMTHRESHOLD   1000000

Functions

DWORD BitDepth_2_DDBDMask (DWORD iBitDepth)
HRESULT CALLBACK EnumZBufFmtsCallback (LPDDPIXELFORMAT pddpf, VOID *param)
HRESULT CALLBACK EnumDevicesCallback (LPSTR pDeviceDescription, LPSTR pDeviceName, LPD3DDEVICEDESC7 pD3DDeviceDesc, LPVOID pContext)
HRESULT WINAPI EnumDisplayModesCallBack (LPDDSURFACEDESC2 lpDDSurfaceDesc, LPVOID lpContext)

Variables

int cNumZBufFmts


Detailed Description

Definition in file wdxGraphicsWindow7.cxx.


Define Documentation

#define CRAPPY_DRIVER_IS_LYING_VIDMEMTHRESHOLD   1000000
 

#define IS_ATI (  DDDEVICEID   )     (DDDEVICEID.dwVendorId==0x1002)
 

Definition at line 111 of file wdxGraphicsWindow7.cxx.

#define IS_MATROX (  DDDEVICEID   )     (DDDEVICEID.dwVendorId==0x102B)
 

Definition at line 112 of file wdxGraphicsWindow7.cxx.

#define IS_NVIDIA (  DDDEVICEID   )     ((DDDEVICEID.dwVendorId==0x10DE) || (DDDEVICEID.dwVendorId==0x12D2))
 

Definition at line 110 of file wdxGraphicsWindow7.cxx.

#define LOWVIDMEMTHRESHOLD   5500000
 

#define MAX_DISPLAY_MODES   100
 

Definition at line 80 of file wdxGraphicsWindow7.cxx.

#define MAX_DX_ZBUF_FMTS   20
 

Definition at line 44 of file wdxGraphicsWindow7.cxx.

#define REGHALIDX   0
 

#define SET_ZBUF_DEPTH (  DEPTH   )     { assert(pz##DEPTH != NULL); Display.depth_buffer_bitdepth=DEPTH; ddsd.ddpfPixelFormat = *pz##DEPTH;}
 

#define SWRASTIDX   2
 

#define TNLHALIDX   1
 


Function Documentation

DWORD BitDepth_2_DDBDMask (  DWORD  iBitDepth  )  [static]
 

Definition at line 31 of file wdxGraphicsWindow7.cxx.

HRESULT CALLBACK EnumDevicesCallback (  LPSTR  pDeviceDescription,
LPSTR  pDeviceName,
LPD3DDEVICEDESC7  pD3DDeviceDesc,
LPVOID  pContext
) 
 

Definition at line 57 of file wdxGraphicsWindow7.cxx.

HRESULT WINAPI EnumDisplayModesCallBack (  LPDDSURFACEDESC2  lpDDSurfaceDesc,
LPVOID  lpContext
) 
 

Definition at line 89 of file wdxGraphicsWindow7.cxx.

HRESULT CALLBACK EnumZBufFmtsCallback (  LPDDPIXELFORMAT  pddpf,
VOID *  param
) 
 

Definition at line 48 of file wdxGraphicsWindow7.cxx.

References cNumZBufFmts.


Variable Documentation

int cNumZBufFmts [static]
 

Definition at line 45 of file wdxGraphicsWindow7.cxx.

Referenced by EnumZBufFmtsCallback().


Generated on Fri May 2 00:45:22 2003 for Panda by doxygen1.3