32 virtual std::string get_interface_name()
const;
37 bool find_best_depth_format(
DXScreenData &Display, D3DDISPLAYMODE &Test_display_mode,
38 D3DFORMAT *pBestFmt,
bool bWantStencil,
39 bool bForce16bpp,
bool bVerboseMode =
false)
const;
42 UINT RequestedX_Size, UINT RequestedY_Size,
43 bool bWantZBuffer,
bool bWantStencil,
44 UINT *p_supported_screen_depths_mask,
45 bool *pCouldntFindAnyValidZBuf,
46 D3DFORMAT *pSuggestedPixFmt,
47 bool bForce16bppZBuffer,
48 bool bVerboseMode =
false);
50 bool special_check_fullscreen_resolution(
DXScreenData &scrn, UINT x_size,UINT y_size);
65 bool find_all_card_memavails();
68 dx7_driver_enum_callback(GUID *pGUID, TCHAR *strDesc, TCHAR *strName,
69 VOID *argptr, HMONITOR hm);
77 typedef LPDIRECT3D9 (WINAPI *Direct3DCreate9_ProcPtr)(UINT SDKVersion);
78 typedef HRESULT (WINAPI * LPDIRECTDRAWCREATEEX)(GUID FAR * lpGuid, LPVOID *lplpDD, REFIID iid, IUnknown FAR *pUnkOuter);
80 LPDIRECTDRAWCREATEEX _DirectDrawCreateEx;
81 LPDIRECTDRAWENUMERATEEX _DirectDrawEnumerateExA;
82 Direct3DCreate9_ProcPtr _Direct3DCreate9;
88 DWORD _max_available_video_memory;
89 bool _is_low_memory_card;
91 DWORD VendorID, DeviceID;
101 static void init_type() {
102 WinGraphicsPipe::init_type();
104 WinGraphicsPipe::get_class_type());
107 return get_class_type();
109 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...