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

GraphicsEngine::WindowRenderer Class Reference

Inheritance diagram for GraphicsEngine::WindowRenderer:

GraphicsEngine::RenderThread List of all members.

Public Member Functions

void add_gsg (GraphicsStateGuardian *gsg)
void add_window (Windows &wlist, GraphicsWindow *window)
void remove_window (GraphicsWindow *window)
void do_frame (GraphicsEngine *engine)
void do_flip (GraphicsEngine *engine)
void do_release (GraphicsEngine *engine)
void do_close (GraphicsEngine *engine)
void do_pending (GraphicsEngine *engine)
bool any_done_gsgs () const

Public Attributes

Windows _cull
Windows _cdraw
Windows _draw
Windows _window
Windows _pending_release
Windows _pending_close
GSGs _gsgs
Mutex _wl_lock

Member Function Documentation

void GraphicsEngine::WindowRenderer::add_gsg GraphicsStateGuardian gsg  ) 
 

Definition at line 898 of file graphicsEngine.cxx.

References _gsgs, and _wl_lock.

Referenced by GraphicsEngine::make_window().

void GraphicsEngine::WindowRenderer::add_window Windows wlist,
GraphicsWindow window
 

Definition at line 910 of file graphicsEngine.cxx.

References _wl_lock.

Referenced by GraphicsEngine::make_window().

bool GraphicsEngine::WindowRenderer::any_done_gsgs  )  const
 

Definition at line 1129 of file graphicsEngine.cxx.

References _gsgs.

Referenced by do_frame().

void GraphicsEngine::WindowRenderer::do_close GraphicsEngine engine  ) 
 

Definition at line 1049 of file graphicsEngine.cxx.

References _gsgs, _window, _wl_lock, GraphicsEngine::close_gsg(), GraphicsStateGuardian::get_pipe(), WindowProperties::set_open(), GraphicsWindow::set_properties_now(), and win.

Referenced by GraphicsEngine::remove_all_windows(), and GraphicsEngine::RenderThread::thread_main().

void GraphicsEngine::WindowRenderer::do_flip GraphicsEngine engine  ) 
 

Definition at line 1021 of file graphicsEngine.cxx.

References _cdraw, _draw, _wl_lock, and GraphicsEngine::flip_windows().

Referenced by GraphicsEngine::do_flip_frame(), and GraphicsEngine::RenderThread::thread_main().

void GraphicsEngine::WindowRenderer::do_frame GraphicsEngine engine  ) 
 

Definition at line 987 of file graphicsEngine.cxx.

References _cdraw, _cull, _gsgs, _window, _wl_lock, any_done_gsgs(), GraphicsEngine::close_gsg(), GraphicsEngine::cull_and_draw_together(), GraphicsEngine::cull_bin_draw(), GraphicsStateGuardian::get_pipe(), and GraphicsEngine::process_events().

Referenced by GraphicsEngine::render_frame(), and GraphicsEngine::RenderThread::thread_main().

void GraphicsEngine::WindowRenderer::do_pending GraphicsEngine engine  ) 
 

Definition at line 1085 of file graphicsEngine.cxx.

References _pending_close, _pending_release, _wl_lock, GraphicsWindow::get_gsg(), NULL, GraphicsWindow::release_gsg(), WindowProperties::set_open(), GraphicsWindow::set_properties_now(), and win.

Referenced by GraphicsEngine::do_remove_window(), and GraphicsEngine::RenderThread::thread_main().

void GraphicsEngine::WindowRenderer::do_release GraphicsEngine engine  ) 
 

Definition at line 1034 of file graphicsEngine.cxx.

References _draw, _wl_lock, GraphicsWindow::release_gsg(), and win.

Referenced by GraphicsEngine::remove_all_windows(), and GraphicsEngine::RenderThread::thread_main().

void GraphicsEngine::WindowRenderer::remove_window GraphicsWindow window  ) 
 

Definition at line 924 of file graphicsEngine.cxx.

References _cdraw, _cull, _draw, _pending_close, _pending_release, _window, _wl_lock, GraphicsEngine::PT(), and WindowProperties::set_open().

Referenced by GraphicsEngine::do_remove_window().


Member Data Documentation

Windows GraphicsEngine::WindowRenderer::_cdraw
 

Definition at line 133 of file graphicsEngine.h.

Referenced by do_flip(), do_frame(), GraphicsEngine::make_window(), and remove_window().

Windows GraphicsEngine::WindowRenderer::_cull
 

Definition at line 132 of file graphicsEngine.h.

Referenced by do_frame(), GraphicsEngine::make_window(), and remove_window().

Windows GraphicsEngine::WindowRenderer::_draw
 

Definition at line 134 of file graphicsEngine.h.

Referenced by do_flip(), do_release(), GraphicsEngine::make_window(), and remove_window().

GSGs GraphicsEngine::WindowRenderer::_gsgs
 

Definition at line 138 of file graphicsEngine.h.

Referenced by add_gsg(), any_done_gsgs(), do_close(), and do_frame().

Windows GraphicsEngine::WindowRenderer::_pending_close
 

Definition at line 137 of file graphicsEngine.h.

Referenced by do_pending(), and remove_window().

Windows GraphicsEngine::WindowRenderer::_pending_release
 

Definition at line 136 of file graphicsEngine.h.

Referenced by do_pending(), and remove_window().

Windows GraphicsEngine::WindowRenderer::_window
 

Definition at line 135 of file graphicsEngine.h.

Referenced by do_close(), do_frame(), GraphicsEngine::make_window(), and remove_window().

Mutex GraphicsEngine::WindowRenderer::_wl_lock
 

Definition at line 139 of file graphicsEngine.h.

Referenced by add_gsg(), add_window(), do_close(), do_flip(), do_frame(), do_pending(), do_release(), and remove_window().


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