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

indirect.cxx File Reference

#include <eventHandler.h>
#include <texture.h>
#include <graphicsWindow.h>
#include <graphicsStateGuardian.h>
#include <pixelBuffer.h>
#include <dconfig.h>
#include <chancfg.h>
#include <string>

Go to the source code of this file.

Functions

 Configure (indirect)
int framework_main (int argc, char *argv[])
int binary_log_cap (int x)
void indirect_display_func (void)
void indirect_init (void)
void indirect_keys (EventHandler &)
int main (int argc, char *argv[])

Variables

GraphicsWindowwin
std::string chan_config
void(* extra_display_func )()
void(* define_keys )(EventHandler &)
void(* first_init )()
Texturet = (Texture*)0L
PixelBufferpb = (PixelBuffer *)0L
DisplayRegiondr1 = (DisplayRegion*)0L
DisplayRegiondr2 = (DisplayRegion*)0L
bool use_canned_texture = indirect.GetBool("canned-texture", false)
bool use_texture = indirect.GetBool("use-texture", true)
bool full_region = indirect.GetBool("full-region", true)
bool side_by_side = indirect.GetBool("side-by-side", true)
bool right_to_left = indirect.GetBool("right-to-left", true)
int logs [] = { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 0 }


Function Documentation

int binary_log_cap int  x  ) 
 

Definition at line 51 of file indirect.cxx.

References logs, and x.

Referenced by GLGraphicsStateGuardian::copy_texture(), CRGraphicsStateGuardian::copy_texture(), indirect_display_func(), and DXGraphicsStateGuardian7::prepare_texture().

Configure indirect   ) 
 

int framework_main int  argc,
char *  argv[]
 

void indirect_display_func void   ) 
 

Definition at line 59 of file indirect.cxx.

References PixelBuffer::_image, a, b, binary_log_cap(), dr1, dr2, g, GraphicsWindow::get_gsg(), DisplayRegion::get_region_pixels(), pb, PTA_uchar, PixelBuffer::read(), PixelBuffer::set_xsize(), PixelBuffer::set_ysize(), t, RenderBuffer::T_back, RenderBuffer::T_front, use_canned_texture, w, and win.

Referenced by main().

void indirect_init void   ) 
 

Definition at line 150 of file indirect.cxx.

References chan_config.

Referenced by main().

void indirect_keys EventHandler  ) 
 

Definition at line 155 of file indirect.cxx.

References dr1, dr2, DisplayRegion::set_active(), and win.

Referenced by main().

int main int  argc,
char *  argv[]
 

Definition at line 168 of file indirect.cxx.

References define_keys, extra_display_func, first_init, framework_main(), indirect_display_func(), indirect_init(), and indirect_keys().


Variable Documentation

std::string chan_config
 

Definition at line 31 of file indirect.cxx.

Referenced by indirect_init().

void(* define_keys)(EventHandler&)
 

Definition at line 35 of file indirect.cxx.

DisplayRegion* dr1 = (DisplayRegion*)0L
 

Definition at line 40 of file indirect.cxx.

Referenced by indirect_display_func(), and indirect_keys().

DisplayRegion* dr2 = (DisplayRegion*)0L
 

Definition at line 41 of file indirect.cxx.

Referenced by indirect_display_func(), and indirect_keys().

void(* extra_display_func)()
 

Definition at line 34 of file indirect.cxx.

void(* first_init)()
 

Definition at line 36 of file indirect.cxx.

Referenced by main().

bool full_region = indirect.GetBool("full-region", true)
 

Definition at line 45 of file indirect.cxx.

int logs[] = { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 0 }
 

Definition at line 49 of file indirect.cxx.

Referenced by binary_log_cap(), and DXGraphicsStateGuardian7::prepare_texture().

PixelBuffer* pb = (PixelBuffer *)0L
 

Definition at line 39 of file indirect.cxx.

Referenced by GLGraphicsStateGuardian::apply_texture_immediate(), CRGraphicsStateGuardian::apply_texture_immediate(), GLGraphicsStateGuardian::build_phony_mipmap_level(), CRGraphicsStateGuardian::build_phony_mipmap_level(), GLGraphicsStateGuardian::build_phony_mipmaps(), CRGraphicsStateGuardian::build_phony_mipmaps(), SceneGraphAnalyzer::collect_statistics(), PixelBuffer::copy(), GLGraphicsStateGuardian::copy_pixel_buffer(), DXGraphicsStateGuardian8::copy_pixel_buffer(), CRGraphicsStateGuardian::copy_pixel_buffer(), GLGraphicsStateGuardian::copy_texture(), DXGraphicsStateGuardian8::copy_texture(), CRGraphicsStateGuardian::copy_texture(), SomeViz::DisplayPixelBuffer(), BaseViz::DisplayPixelBuffer(), SomeViz::DisplayTexture(), BaseViz::DisplayTexture(), GLGraphicsStateGuardian::draw_pixel_buffer(), TextureContext::estimate_texture_memory(), DisplayRegion::get_pixels(), indirect_display_func(), Spotlight::make_image(), DXGraphicsStateGuardian7::prepare_texture(), GLGraphicsStateGuardian::save_mipmap_images(), CRGraphicsStateGuardian::save_mipmap_images(), EggPolysetMaker::sorts_less(), GLGraphicsStateGuardian::texture_to_pixel_buffer(), DXGraphicsStateGuardian8::texture_to_pixel_buffer(), and CRGraphicsStateGuardian::texture_to_pixel_buffer().

bool right_to_left = indirect.GetBool("right-to-left", true)
 

Definition at line 47 of file indirect.cxx.

bool side_by_side = indirect.GetBool("side-by-side", true)
 

Definition at line 46 of file indirect.cxx.

Texture* t = (Texture*)0L
 

Definition at line 38 of file indirect.cxx.

Referenced by ChanCfgOverrides::getBool(), ChanCfgOverrides::getDouble(), ChanCfgOverrides::getFloat(), ChanCfgOverrides::getInt(), ChanCfgOverrides::getString(), ChanCfgOverrides::getUInt(), and main().

bool use_canned_texture = indirect.GetBool("canned-texture", false)
 

Definition at line 43 of file indirect.cxx.

Referenced by indirect_display_func().

bool use_texture = indirect.GetBool("use-texture", true)
 

Definition at line 44 of file indirect.cxx.

GraphicsWindow* win
 

Definition at line 30 of file indirect.cxx.

Referenced by NonlinearImager::add_viewer(), ChanConfig::chan_eval(), PandaFramework::close_all_windows(), PandaFramework::close_window(), DisplayRegion::compute_pixels(), CRGraphicsStateGuardian::CRGraphicsStateGuardian(), GraphicsEngine::cull_and_draw_together(), GraphicsEngine::cull_bin_draw(), GraphicsEngine::WindowRenderer::do_close(), GraphicsEngine::WindowRenderer::do_pending(), GraphicsEngine::WindowRenderer::do_release(), PandaFramework::event_window_event(), PandaFramework::find_window(), GraphicsEngine::flip_windows(), indirect_display_func(), indirect_keys(), CRGraphicsStateGuardian::make_GlGraphicsStateGuardian(), RIBGraphicsStateGuardian::make_RIBGraphicsStateGuardian(), motion_display_func(), Oldviz::Oldviz(), PandaFramework::open_window(), GraphicsEngine::process_events(), GraphicsEngine::remove_all_windows(), RIBGraphicsStateGuardian::RIBGraphicsStateGuardian(), and DisplayRegion::set_dimensions().


Generated on Fri Apr 18 00:10:50 2003 for Panda by doxygen1.3