#include <wdxGraphicsPipe8.h>
Inheritance diagram for wdxGraphicsPipe8:
Public Member Functions | |
wdxGraphicsPipe8 () | |
virtual | ~wdxGraphicsPipe8 () |
virtual string | get_interface_name () const |
virtual | PT (GraphicsStateGuardian) make_gsg(const FrameBufferProperties &properties) |
bool | find_best_depth_format (DXScreenData &Display, D3DDISPLAYMODE &TestDisplayMode, D3DFORMAT *pBestFmt, bool bWantStencil, bool bForce16bpp, bool bVerboseMode=false) const |
void | search_for_valid_displaymode (DXScreenData &scrn, UINT RequestedX_Size, UINT RequestedY_Size, bool bWantZBuffer, bool bWantStencil, UINT *pSupportedScreenDepthsMask, bool *pCouldntFindAnyValidZBuf, D3DFORMAT *pSuggestedPixFmt, bool bForce16bppZBuffer, bool bVerboseMode=false) |
bool | special_check_fullscreen_resolution (DXScreenData &scrn, UINT x_size, UINT y_size) |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
PT (GraphicsPipe) pipe_ const ructor() | |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
virtual | PT (GraphicsWindow) make_window(GraphicsStateGuardian *gsg) |
Private Types | |
typedef LPDIRECT3D8(WINAPI * | Direct3DCreate8_ProcPtr )(UINT SDKVersion) |
typedef HRESULT(WINAPI * | LPDIRECTDRAWCREATEEX )(GUID FAR *lpGuid, LPVOID *lplpDD, REFIID iid, IUnknown FAR *pUnkOuter) |
typedef pvector< CardID > | CardIDs |
Private Member Functions | |
bool | init () |
bool | find_all_card_memavails () |
Static Private Member Functions | |
BOOL WINAPI | dx7_driver_enum_callback (GUID *pGUID, TCHAR *strDesc, TCHAR *strName, VOID *argptr, HMONITOR hm) |
Private Attributes | |
HINSTANCE | _hDDrawDLL |
HINSTANCE | _hD3D8_DLL |
LPDIRECT3D8 | _pD3D8 |
LPDIRECTDRAWCREATEEX | _DirectDrawCreateEx |
LPDIRECTDRAWENUMERATEEX | _DirectDrawEnumerateExA |
Direct3DCreate8_ProcPtr | _Direct3DCreate8 |
CardIDs | _card_ids |
bool | _bIsDX81 |
Static Private Attributes | |
TypeHandle | _type_handle |
Friends | |
class | wdxGraphicsWindow8 |
|
Definition at line 103 of file wdxGraphicsPipe8.h. |
|
Definition at line 85 of file wdxGraphicsPipe8.h. |
|
Definition at line 86 of file wdxGraphicsPipe8.h. |
|
Definition at line 36 of file wdxGraphicsPipe8.cxx. References _hD3D8_DLL, _hDDrawDLL, GraphicsPipe::_is_valid, _pD3D8, init(), and NULL. |
|
Definition at line 49 of file wdxGraphicsPipe8.cxx. References _hD3D8_DLL, _hDDrawDLL, _pD3D8, RELEASE, RELEASE_DOWN_TO_ZERO, and SAFE_FREELIB. |
|
Definition at line 349 of file wdxGraphicsPipe8.cxx. References _card_ids, wdxGraphicsPipe8::CardID::DX7_DeviceGUID, wdxGraphicsPipe8::CardID::hMon, wdxGraphicsPipe8::CardID::MaxAvailVidMem, NULL, and UNKNOWN_VIDMEM_SIZE. Referenced by find_all_card_memavails(). |
|
Definition at line 186 of file wdxGraphicsPipe8.cxx. References _card_ids, count, D3DERRORSTRING, dx7_driver_enum_callback(), dx_do_vidmemsize_check, ISPOW2, NULL, and UNKNOWN_VIDMEM_SIZE. Referenced by init(). |
|
Definition at line 382 of file wdxGraphicsPipe8.cxx. References DXScreenData::CardIDNum, D3DERRORSTRING, D3DFormatStr(), DXScreenData::DXDeviceID, IS_16BPP_DISPLAY_FORMAT, IS_16BPP_ZBUFFER, IS_NVIDIA, and DXScreenData::pD3D8. Referenced by wdxGraphicsWindow8::create_screen_buffers_and_device(), and search_for_valid_displaymode(). |
|
Reimplemented from WinGraphicsPipe. Definition at line 119 of file wdxGraphicsPipe8.h. References WinGraphicsPipe::get_class_type(), and WinGraphicsPipe::init_type(). |
|
Reimplemented from WinGraphicsPipe. Definition at line 108 of file wdxGraphicsPipe8.h. Referenced by init_libdxgsg8(). |
|
Implements GraphicsPipe. Definition at line 67 of file wdxGraphicsPipe8.cxx. |
|
Reimplemented from WinGraphicsPipe. Definition at line 116 of file wdxGraphicsPipe8.h. References WinGraphicsPipe::get_class_type(). |
|
Definition at line 109 of file wdxGraphicsPipe8.cxx. References _bIsDX81, _Direct3DCreate8, _DirectDrawCreateEx, _DirectDrawEnumerateExA, _hD3D8_DLL, _hDDrawDLL, _pD3D8, find_all_card_memavails(), HANDLE(), Init_D3DFORMAT_map(), MyGetProcAddr(), MyLoadLib(), and NULL. Referenced by wdxGraphicsPipe8(). |
|
Reimplemented from WinGraphicsPipe. Definition at line 111 of file wdxGraphicsPipe8.h. References WinGraphicsPipe::get_class_type(), WinGraphicsPipe::init_type(), and register_type(). Referenced by init_libdxgsg8(). |
|
Implements GraphicsPipe. |
|
Reimplemented from GraphicsPipe. |
|
|
|
|
Definition at line 478 of file wdxGraphicsPipe8.cxx. References DXScreenData::DXDeviceID. Referenced by wdxGraphicsWindow8::do_fullscreen_resize(), search_for_valid_displaymode(), and wdxGraphicsWindow8::verify_window_sizes(). |
|
Definition at line 124 of file wdxGraphicsPipe8.h. |
|
Definition at line 105 of file wdxGraphicsPipe8.h. Referenced by wdxGraphicsWindow8::choose_device(), init(), and wdxGraphicsWindow8::search_for_device(). |
|
Definition at line 104 of file wdxGraphicsPipe8.h. Referenced by dx7_driver_enum_callback(), find_all_card_memavails(), and wdxGraphicsWindow8::search_for_device(). |
|
Definition at line 90 of file wdxGraphicsPipe8.h. Referenced by init(). |
|
Definition at line 88 of file wdxGraphicsPipe8.h. Referenced by init(). |
|
Definition at line 89 of file wdxGraphicsPipe8.h. Referenced by init(). |
|
Definition at line 81 of file wdxGraphicsPipe8.h. Referenced by init(), wdxGraphicsPipe8(), and ~wdxGraphicsPipe8(). |
|
Definition at line 80 of file wdxGraphicsPipe8.h. Referenced by init(), wdxGraphicsPipe8(), and ~wdxGraphicsPipe8(). |
|
Definition at line 82 of file wdxGraphicsPipe8.h. Referenced by wdxGraphicsWindow8::choose_device(), init(), wdxGraphicsWindow8::search_for_device(), wdxGraphicsPipe8(), and ~wdxGraphicsPipe8(). |
|
Reimplemented from WinGraphicsPipe. Definition at line 23 of file wdxGraphicsPipe8.cxx. |