#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 |
|
|
|
Definition at line 108 of file wdxGraphicsWindow7.cxx. |
|
Definition at line 109 of file wdxGraphicsWindow7.cxx. |
|
Definition at line 107 of file wdxGraphicsWindow7.cxx. Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device(), and wdxGraphicsPipe8::find_best_depth_format(). |
|
|
|
Definition at line 77 of file wdxGraphicsWindow7.cxx. Referenced by wdxGraphicsWindow7::choose_device(), wdxGraphicsWindow7::do_fullscreen_resize(), and EnumDisplayModesCallBack(). |
|
Definition at line 41 of file wdxGraphicsWindow7.cxx. Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device(), and EnumZBufFmtsCallback(). |
|
|
|
|
|
|
|
|
|
Definition at line 28 of file wdxGraphicsWindow7.cxx. Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device(), wdxGraphicsWindow7::do_fullscreen_resize(), and EnumDisplayModesCallBack(). |
|
Definition at line 54 of file wdxGraphicsWindow7.cxx. Referenced by wdxGraphicsWindow7::choose_device(). |
|
Definition at line 86 of file wdxGraphicsWindow7.cxx. References BitDepth_2_DDBDMask(), DisplayModeInfo::cNumSurfDescs, MAX_DISPLAY_MODES, DisplayModeInfo::maxHeight, DisplayModeInfo::maxWidth, DisplayModeInfo::pDDSD_Arr, and DisplayModeInfo::supportedBitDepths. Referenced by wdxGraphicsWindow7::choose_device(), and wdxGraphicsWindow7::do_fullscreen_resize(). |
|
Definition at line 45 of file wdxGraphicsWindow7.cxx. References cNumZBufFmts, MAX_DX_ZBUF_FMTS, and param. Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device(). |
|
Definition at line 42 of file wdxGraphicsWindow7.cxx. Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device(), and EnumZBufFmtsCallback(). |