Panda3D
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends

wdxGraphicsPipe9 Class Reference

This graphics pipe represents the interface for creating DirectX9 graphics windows. More...

#include "wdxGraphicsPipe9.h"

Inheritance diagram for wdxGraphicsPipe9:
WinGraphicsPipe GraphicsPipe TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

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 wdxGraphicsWindow9

Detailed Description

This graphics pipe represents the interface for creating DirectX9 graphics windows.

Definition at line 29 of file wdxGraphicsPipe9.h.


Member Function Documentation

string wdxGraphicsPipe9::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 wdxGraphicsPipe9.cxx.

static void wdxGraphicsPipe9::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 wdxGraphicsPipe9.h.

References WinGraphicsPipe::init_type().

void wdxGraphicsPipe9::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 571 of file wdxGraphicsPipe9.cxx.

References special_check_fullscreen_resolution().

Referenced by wdxGraphicsWindow9::do_fullscreen_resize(), and wdxGraphicsWindow9::verify_window_sizes().

bool wdxGraphicsPipe9::special_check_fullscreen_resolution ( DXScreenData scrn,
UINT  x_size,
UINT  y_size 
)

overrides of the general estimator for known working cases

Definition at line 543 of file wdxGraphicsPipe9.cxx.

Referenced by wdxGraphicsWindow9::do_fullscreen_resize(), search_for_valid_displaymode(), and wdxGraphicsWindow9::verify_window_sizes().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations