Panda3D
|
This graphics pipe represents the interface for creating DirectX8 graphics windows. More...
#include "wdxGraphicsPipe8.h"
Classes | |
struct | CardID |
Public Member Functions | |
bool | find_best_depth_format (DXScreenData &Display, D3DDISPLAYMODE &Test_display_mode, D3DFORMAT *pBestFmt, bool bWantStencil, bool bForce16bpp, bool bVerboseMode=false) const |
virtual TypeHandle | force_init_type () |
virtual string | get_interface_name () const |
Returns the name of the rendering interface associated with this GraphicsPipe. | |
virtual TypeHandle | get_type () const |
virtual | PT (GraphicsDevice) make_device(void *scrn) |
void | search_for_valid_displaymode (DXScreenData &scrn, UINT RequestedX_Size, UINT RequestedY_Size, bool bWantZBuffer, bool bWantStencil, UINT *p_supported_screen_depths_mask, bool *pCouldntFindAnyValidZBuf, D3DFORMAT *pSuggestedPixFmt, bool bForce16bppZBuffer, bool bVerboseMode=false) |
All ptr args are output parameters. | |
bool | special_check_fullscreen_resolution (DXScreenData &scrn, UINT x_size, UINT y_size) |
overrides of the general estimator for known working cases | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
static | PT (GraphicsPipe) pipe_constructor() |
Protected Member Functions | |
virtual | PT (GraphicsOutput) make_output(const string &name |
Protected Attributes | |
virtual const FrameBufferProperties const WindowProperties int GraphicsEngine * | engine |
virtual const FrameBufferProperties & | fb_prop |
virtual const FrameBufferProperties const WindowProperties int | flags |
virtual const FrameBufferProperties const WindowProperties int GraphicsEngine GraphicsStateGuardian * | gsg |
virtual const FrameBufferProperties const WindowProperties int GraphicsEngine GraphicsStateGuardian GraphicsOutput * | host |
virtual const FrameBufferProperties const WindowProperties int GraphicsEngine GraphicsStateGuardian GraphicsOutput int bool & | precertify |
virtual const FrameBufferProperties const WindowProperties int GraphicsEngine GraphicsStateGuardian GraphicsOutput int | retry |
virtual const FrameBufferProperties const WindowProperties & | win_prop |
Friends | |
class | wdxGraphicsWindow8 |
This graphics pipe represents the interface for creating DirectX8 graphics windows.
Definition at line 29 of file wdxGraphicsPipe8.h.
string wdxGraphicsPipe8::get_interface_name | ( | ) | const [virtual] |
Returns the name of the rendering interface associated with this GraphicsPipe.
This is used to present to the user to allow him/her to choose between several possible GraphicsPipes available on a particular platform, so the name should be meaningful and unique for a given platform.
Implements GraphicsPipe.
Definition at line 63 of file wdxGraphicsPipe8.cxx.
static void wdxGraphicsPipe8::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from WinGraphicsPipe.
Definition at line 104 of file wdxGraphicsPipe8.h.
References WinGraphicsPipe::init_type().
void wdxGraphicsPipe8::search_for_valid_displaymode | ( | DXScreenData & | scrn, |
UINT | RequestedX_Size, | ||
UINT | RequestedY_Size, | ||
bool | bWantZBuffer, | ||
bool | bWantStencil, | ||
UINT * | p_supported_screen_depths_mask, | ||
bool * | pCouldntFindAnyValidZBuf, | ||
D3DFORMAT * | pSuggestedPixFmt, | ||
bool | bForce16bppZBuffer, | ||
bool | bVerboseMode = false |
||
) |
All ptr args are output parameters.
If no valid mode found, returns *pSuggestedPixFmt = D3DFMT_UNKNOWN;
Definition at line 568 of file wdxGraphicsPipe8.cxx.
References special_check_fullscreen_resolution().
Referenced by wdxGraphicsWindow8::do_fullscreen_resize(), and wdxGraphicsWindow8::verify_window_sizes().
bool wdxGraphicsPipe8::special_check_fullscreen_resolution | ( | DXScreenData & | scrn, |
UINT | x_size, | ||
UINT | y_size | ||
) |
overrides of the general estimator for known working cases
Definition at line 540 of file wdxGraphicsPipe8.cxx.
Referenced by wdxGraphicsWindow8::do_fullscreen_resize(), search_for_valid_displaymode(), and wdxGraphicsWindow8::verify_window_sizes().