Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GraphicsPipe Class Reference

#include <graphicsPipe.h>

Inheritance diagram for GraphicsPipe:

TypedReferenceCount TypedObject ReferenceCount glxGraphicsPipe WinGraphicsPipe wdxGraphicsPipe7 wdxGraphicsPipe8 wglGraphicsPipe List of all members.

Public Member Functions

virtual int get_num_hw_channels ()
virtual HardwareChannelget_hw_channel (GraphicsWindow *window, int index)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

 GraphicsPipe ()
virtual PT (GraphicsStateGuardian) make_gsg(const FrameBufferProperties &properties)
virtual void close_gsg (GraphicsStateGuardian *gsg)
virtual PT (GraphicsWindow) make_window(GraphicsStateGuardian *gsg)=0

Protected Attributes

Mutex _lock
bool _is_valid
bool _supports_fullscreen
int _display_width
int _display_height

Private Member Functions

 GraphicsPipe (const GraphicsPipe &copy)
void operator= (const GraphicsPipe &copy)
INLINE bool is_valid () const
INLINE bool supports_fullscreen () const
INLINE int get_display_width () const
INLINE int get_display_height () const
virtual string get_interface_name () const=0

Private Attributes

PUBLISHED __pad0__: virtual ~GraphicsPipe()

Static Private Attributes

TypeHandle _type_handle

Friends

class GraphicsEngine

Constructor & Destructor Documentation

GraphicsPipe::GraphicsPipe  )  [protected]
 

Definition at line 31 of file graphicsPipe.cxx.

References _display_height, _display_width, _is_valid, and _supports_fullscreen.

GraphicsPipe::GraphicsPipe const GraphicsPipe &  copy  )  [private]
 

Definition at line 50 of file graphicsPipe.cxx.

References _is_valid.


Member Function Documentation

void GraphicsPipe::close_gsg GraphicsStateGuardian gsg  )  [protected, virtual]
 

Definition at line 130 of file graphicsPipe.cxx.

References GraphicsStateGuardian::close_gsg(), and NULL.

virtual TypeHandle GraphicsPipe::force_init_type void   )  [inline, virtual]
 

Reimplemented from TypedReferenceCount.

Reimplemented in wdxGraphicsPipe7, wdxGraphicsPipe8, glxGraphicsPipe, wglGraphicsPipe, and WinGraphicsPipe.

Definition at line 100 of file graphicsPipe.h.

References ReferenceCount::get_class_type(), and TypedReferenceCount::init_type().

TypeHandle GraphicsPipe::get_class_type void   )  [inline, static]
 

Reimplemented from ReferenceCount.

Reimplemented in wdxGraphicsPipe7, wdxGraphicsPipe8, glxGraphicsPipe, wglGraphicsPipe, and WinGraphicsPipe.

Definition at line 89 of file graphicsPipe.h.

Referenced by GraphicsPipeSelection::add_pipe_type(), WinGraphicsPipe::force_init_type(), WinGraphicsPipe::get_type(), WinGraphicsPipe::init_type(), and glxGraphicsPipe::init_type().

INLINE int GraphicsPipe::get_display_height  )  const [private]
 

INLINE int GraphicsPipe::get_display_width  )  const [private]
 

HardwareChannel * GraphicsPipe::get_hw_channel GraphicsWindow window,
int  index
[virtual]
 

Definition at line 100 of file graphicsPipe.cxx.

Referenced by GraphicsWindow::get_channel().

virtual string GraphicsPipe::get_interface_name  )  const [private, pure virtual]
 

Implemented in wdxGraphicsPipe7, wdxGraphicsPipe8, glxGraphicsPipe, and wglGraphicsPipe.

int GraphicsPipe::get_num_hw_channels  )  [virtual]
 

Definition at line 81 of file graphicsPipe.cxx.

virtual TypeHandle GraphicsPipe::get_type void   )  const [inline, virtual]
 

Reimplemented from TypedReferenceCount.

Reimplemented in wdxGraphicsPipe7, wdxGraphicsPipe8, glxGraphicsPipe, wglGraphicsPipe, and WinGraphicsPipe.

Definition at line 97 of file graphicsPipe.h.

References ReferenceCount::get_class_type().

void GraphicsPipe::init_type void   )  [inline, static]
 

Reimplemented from TypedReferenceCount.

Reimplemented in wdxGraphicsPipe7, wdxGraphicsPipe8, glxGraphicsPipe, wglGraphicsPipe, and WinGraphicsPipe.

Definition at line 92 of file graphicsPipe.h.

References TypedObject::get_class_type(), TypedReferenceCount::init_type(), and register_type().

Referenced by WinGraphicsPipe::force_init_type(), init_libdisplay(), WinGraphicsPipe::init_type(), and glxGraphicsPipe::init_type().

INLINE bool GraphicsPipe::is_valid  )  const [private]
 

void GraphicsPipe::operator= const GraphicsPipe &  copy  )  [private]
 

Definition at line 61 of file graphicsPipe.cxx.

virtual GraphicsPipe::PT GraphicsWindow   )  [protected, pure virtual]
 

Implemented in wdxGraphicsPipe7, wdxGraphicsPipe8, glxGraphicsPipe, and wglGraphicsPipe.

virtual GraphicsPipe::PT GraphicsStateGuardian   )  const [protected, virtual]
 

Reimplemented in wdxGraphicsPipe7, wdxGraphicsPipe8, glxGraphicsPipe, and wglGraphicsPipe.

INLINE bool GraphicsPipe::supports_fullscreen  )  const [private]
 


Friends And Related Function Documentation

friend class GraphicsEngine [friend]
 

Definition at line 104 of file graphicsPipe.h.


Member Data Documentation

PUBLISHED GraphicsPipe::__pad0__ [private]
 

Reimplemented from TypedReferenceCount.

Definition at line 59 of file graphicsPipe.h.

int GraphicsPipe::_display_height [protected]
 

Definition at line 86 of file graphicsPipe.h.

Referenced by glxGraphicsPipe::glxGraphicsPipe(), and GraphicsPipe().

int GraphicsPipe::_display_width [protected]
 

Definition at line 85 of file graphicsPipe.h.

Referenced by glxGraphicsPipe::glxGraphicsPipe(), and GraphicsPipe().

bool GraphicsPipe::_is_valid [protected]
 

Definition at line 83 of file graphicsPipe.h.

Referenced by glxGraphicsPipe::glxGraphicsPipe(), GraphicsPipe(), wdxGraphicsPipe7::wdxGraphicsPipe7(), and wdxGraphicsPipe8::wdxGraphicsPipe8().

Mutex GraphicsPipe::_lock [protected]
 

Definition at line 81 of file graphicsPipe.h.

bool GraphicsPipe::_supports_fullscreen [protected]
 

Definition at line 84 of file graphicsPipe.h.

Referenced by glxGraphicsPipe::glxGraphicsPipe(), and GraphicsPipe().

TypeHandle GraphicsPipe::_type_handle [static, private]
 

Reimplemented from TypedReferenceCount.

Reimplemented in wdxGraphicsPipe7, wdxGraphicsPipe8, glxGraphicsPipe, wglGraphicsPipe, and WinGraphicsPipe.

Definition at line 23 of file graphicsPipe.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:29 2003 for Panda by doxygen1.3