#include <wdxGraphicsWindow8.h>
Inheritance diagram for wdxGraphicsWindow8:
Public Member Functions | |
wdxGraphicsWindow8 (GraphicsPipe *pipe, GraphicsStateGuardian *gsg) | |
virtual | ~wdxGraphicsWindow8 () |
virtual bool | open_window (void) |
virtual int | verify_window_sizes (int numsizes, int *dimen) |
virtual bool | begin_frame () |
virtual void | end_flip () |
virtual LONG | window_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
virtual bool | handle_mouse_motion (int x, int y) |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
virtual void | make_current (void) |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
virtual void | fullscreen_restored (WindowProperties &properties) |
virtual void | handle_reshape () |
virtual bool | do_fullscreen_resize (int x_size, int y_size) |
Private Member Functions | |
void | create_screen_buffers_and_device (DXScreenData &Display, bool force_16bpp_zbuffer) |
bool | choose_device (void) |
bool | search_for_device (wdxGraphicsPipe8 *dxpipe, DXDeviceInfo *device_info) |
bool | reset_device_resize_window (UINT new_xsize, UINT new_ysize) |
void | init_resized_window () |
Static Private Member Functions | |
int | D3DFMT_to_DepthBits (D3DFORMAT fmt) |
bool | is_badvidmem_card (D3DADAPTER_IDENTIFIER8 *pDevID) |
Private Attributes | |
DXGraphicsStateGuardian8 * | _dxgsg |
DXScreenData | _wcontext |
int | _depth_buffer_bpp |
bool | _awaiting_restore |
Static Private Attributes | |
TypeHandle | _type_handle |
Friends | |
class | wdxGraphicsPipe8 |
|
Definition at line 76 of file wdxGraphicsWindow8.cxx. References _awaiting_restore, _depth_buffer_bpp, _dxgsg, _wcontext, and DCAST. |
|
Definition at line 94 of file wdxGraphicsWindow8.cxx. |
|
Reimplemented from GraphicsWindow. Definition at line 223 of file wdxGraphicsWindow8.cxx. References _awaiting_restore, _dxgsg, GraphicsWindow::begin_frame(), DXGraphicsStateGuardian8::CheckCooperativeLevel(), and init_resized_window(). |
|
Definition at line 869 of file wdxGraphicsWindow8.cxx. References wdxGraphicsPipe8::_bIsDX81, wdxGraphicsPipe8::_pD3D8, DXDeviceInfo::cardID, D3DERRORSTRING, DCAST_INTO_R, DXDeviceInfo::DeviceID, dx_preferred_device_id, DXDeviceInfoVec, DXDeviceInfo::guidDeviceIdentifier, DXDeviceInfo::hMon, NULL, search_for_device(), DXDeviceInfo::szDescription, DXDeviceInfo::szDriver, and DXDeviceInfo::VendorID. Referenced by open_window(). |
|
|
Definition at line 1623 of file wdxGraphicsWindow8.cxx. Referenced by create_screen_buffers_and_device(). |
|
|
Reimplemented from GraphicsWindow. Definition at line 250 of file wdxGraphicsWindow8.cxx. References _dxgsg, GraphicsWindow::is_active(), NULL, and DXGraphicsStateGuardian8::show_frame(). |
|
Reimplemented from WinGraphicsWindow. Definition at line 98 of file wdxGraphicsWindow8.h. References WinGraphicsWindow::get_class_type(), and WinGraphicsWindow::init_type(). |
|
Reimplemented from WinGraphicsWindow. Definition at line 266 of file wdxGraphicsWindow8.cxx. References _awaiting_restore, _dxgsg, and NULL. |
|
Reimplemented from WinGraphicsWindow. Definition at line 87 of file wdxGraphicsWindow8.h. |
|
Reimplemented from WinGraphicsWindow. Definition at line 95 of file wdxGraphicsWindow8.h. References WinGraphicsWindow::get_class_type(). |
|
Reimplemented from WinGraphicsWindow. Definition at line 1687 of file wdxGraphicsWindow8.cxx. References _wcontext, dx_use_dx_cursor, WinGraphicsWindow::handle_mouse_motion(), GraphicsWindow::is_fullscreen(), NULL, DXScreenData::pD3DDevice, x, and y. |
|
Reimplemented from WinGraphicsWindow. Definition at line 285 of file wdxGraphicsWindow8.cxx. References _dxgsg, GraphicsWindow::get_properties(), WindowProperties::get_x_origin(), WindowProperties::get_x_size(), WindowProperties::get_y_origin(), WindowProperties::get_y_size(), WinGraphicsWindow::handle_reshape(), NULL, and reset_device_resize_window(). |
|
|
Reimplemented from WinGraphicsWindow. Definition at line 90 of file wdxGraphicsWindow8.h. References WinGraphicsWindow::get_class_type(), WinGraphicsWindow::init_type(), and register_type(). Referenced by init_libdxgsg8(). |
|
Definition at line 1654 of file wdxGraphicsWindow8.cxx. Referenced by search_for_device(). |
|
Reimplemented from GraphicsWindow. Definition at line 98 of file wdxGraphicsWindow8.cxx. References _wcontext, DCAST_INTO_V, GraphicsStateGuardian::reset_if_new(), and DXGraphicsStateGuardian8::set_context(). |
|
Reimplemented from WinGraphicsWindow. Definition at line 1671 of file wdxGraphicsWindow8.cxx. References WinGraphicsWindow::_hWnd, _wcontext, choose_device(), create_screen_buffers_and_device(), dx_force_16bpp_zbuffer, DXScreenData::hWnd, and WinGraphicsWindow::open_window(). |
|
Definition at line 1493 of file wdxGraphicsWindow8.cxx. References _dxgsg, _wcontext, D3DERRORSTRING, init_resized_window(), DXScreenData::PresParams, and DXGraphicsStateGuardian8::reset_d3d_device(). Referenced by do_fullscreen_resize(), and handle_reshape(). |
|
|
Reimplemented from GraphicsWindow. Definition at line 156 of file wdxGraphicsWindow8.cxx. References _dxgsg, _wcontext, DXScreenData::bIsLowVidMemCard, DCAST_INTO_R, dx_force_16bpp_zbuffer, IS_STENCIL_FORMAT, IS_VALID_PTR, DXScreenData::PresParams, wdxGraphicsPipe8::search_for_valid_displaymode(), wdxGraphicsPipe8::special_check_fullscreen_resolution(), and DXScreenData::SupportedScreenDepthsMask. |
|
Reimplemented from WinGraphicsWindow. Definition at line 401 of file wdxGraphicsWindow8.cxx. References WinGraphicsWindow::window_proc(). |
|
Definition at line 103 of file wdxGraphicsWindow8.h. |
|
Definition at line 84 of file wdxGraphicsWindow8.h. Referenced by begin_frame(), fullscreen_restored(), and wdxGraphicsWindow8(). |
|
Definition at line 83 of file wdxGraphicsWindow8.h. Referenced by create_screen_buffers_and_device(), and wdxGraphicsWindow8(). |
|
Definition at line 80 of file wdxGraphicsWindow8.h. Referenced by begin_frame(), create_screen_buffers_and_device(), end_flip(), fullscreen_restored(), handle_reshape(), init_resized_window(), reset_device_resize_window(), search_for_device(), verify_window_sizes(), and wdxGraphicsWindow8(). |
|
Reimplemented from WinGraphicsWindow. Definition at line 38 of file wdxGraphicsWindow8.cxx. |
|
Definition at line 81 of file wdxGraphicsWindow8.h. Referenced by create_screen_buffers_and_device(), do_fullscreen_resize(), handle_mouse_motion(), init_resized_window(), make_current(), open_window(), reset_device_resize_window(), search_for_device(), verify_window_sizes(), and wdxGraphicsWindow8(). |