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

panda/src/testbed/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 }


Detailed Description

Definition in file indirect.cxx.


Function Documentation

int binary_log_cap int  x  ) 
 

Definition at line 54 of file indirect.cxx.

References logs.

Configure indirect   ) 
 

int framework_main int  argc,
char *  argv[]
 

void indirect_display_func void   ) 
 

Definition at line 62 of file indirect.cxx.

References dr1, and t.

void indirect_init void   ) 
 

Definition at line 153 of file indirect.cxx.

Referenced by main().

void indirect_keys EventHandler  ) 
 

Definition at line 158 of file indirect.cxx.

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

int main int  argc,
char *  argv[]
 

Definition at line 171 of file indirect.cxx.

References first_init, and indirect_init().


Variable Documentation

std::string chan_config
 

Definition at line 34 of file indirect.cxx.

void(* define_keys)(EventHandler&)
 

Definition at line 38 of file indirect.cxx.

DisplayRegion* dr1 = (DisplayRegion*)0L
 

Definition at line 43 of file indirect.cxx.

Referenced by indirect_display_func(), and indirect_keys().

DisplayRegion* dr2 = (DisplayRegion*)0L
 

Definition at line 44 of file indirect.cxx.

Referenced by indirect_keys().

void(* extra_display_func)()
 

Definition at line 37 of file indirect.cxx.

void(* first_init)()
 

Definition at line 39 of file indirect.cxx.

Referenced by main().

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

Definition at line 48 of file indirect.cxx.

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

Definition at line 52 of file indirect.cxx.

Referenced by binary_log_cap().

PixelBuffer* pb = (PixelBuffer *)0L
 

Definition at line 42 of file indirect.cxx.

Referenced by GLGraphicsStateGuardian::begin_bind_clip_planes(), GLGraphicsStateGuardian::begin_bind_lights(), GLGraphicsStateGuardian::bind_clip_plane(), CRGraphicsStateGuardian::bind_texture(), GLGraphicsStateGuardian::copy_texture(), DXGraphicsStateGuardian8::copy_texture(), CRGraphicsStateGuardian::copy_texture(), SomeViz::DisplayTexture(), BaseViz::DisplayTexture(), GLGraphicsStateGuardian::draw_geom_node(), DXGraphicsStateGuardian8::dx_cleanup(), EggPolysetMaker::get_bin_number(), DXGraphicsStateGuardian8::get_class_type(), DXGraphicsStateGuardian8::init_type(), Spotlight::make_image(), CRGraphicsStateGuardian::release_geom_node(), CRGraphicsStateGuardian::set_blend_mode(), GLGraphicsStateGuardian::set_draw_buffer(), CRGraphicsStateGuardian::set_read_buffer(), EggPolysetMaker::sorts_less(), GLGraphicsStateGuardian::texture_to_pixel_buffer(), CRGraphicsStateGuardian::texture_to_pixel_buffer(), and Spotlight::write().

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

Definition at line 50 of file indirect.cxx.

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

Definition at line 49 of file indirect.cxx.

Texture* t = (Texture*)0L
 

Definition at line 41 of file indirect.cxx.

Referenced by CurveFitter::add_xyz(), PiecewiseCurve::adjust_point(), PiecewiseCurve::adjust_tangent(), SpheretexShader::apply(), Patchfile::calc_hash(), ChanViewport::ChanViewport(), Lens::compute_projection_mat(), CubicCurveseg::CubicCurveseg(), ProjectionScreen::cull_callback(), ChanCfgOverrides::defined(), NurbsCurveResult::eval_point(), NurbsCurveResult::eval_tangent(), ParametricCurveCollection::evaluate_hpr(), ParametricCurveCollection::evaluate_xyz(), MesherStrip< PrimType >::find_adjacent_edge(), ParametricCurve::get_bezier_seg(), PiecewiseCurve::get_bezier_segs(), NurbsCurveResult::get_end_t(), NurbsMatrixVector::get_from(), AutonomousLerp::get_functor(), ZSpinParticle::get_initial_angle(), NurbsPPCurve::get_knot(), LinearNoiseForce::get_lattice_entry(), NurbsPPCurve::get_num_cvs(), ClassicNurbsCurve::get_num_cvs(), PiecewiseCurve::get_point(), CubicCurveseg::get_point(), DisplayRegion::get_right(), CurveFitter::get_sample_hpr(), CurveFitter::get_sample_tangent(), Lerp::get_step_size(), PiecewiseCurve::get_tangent(), CubicCurveseg::get_tangent(), ChanCfgOverrides::getBool(), ChanCfgOverrides::getDouble(), ChanCfgOverrides::getFloat(), ChanCfgOverrides::getInt(), ChanCfgOverrides::getString(), ChanCfgOverrides::getUInt(), BuilderPrimTempl< VTX >::has_any_color(), HermiteCurve::HermiteCurve(), indirect_display_func(), MesherStrip< PrimType >::invert(), FFTCompressor::is_compression_available(), SphereVolumeEmitter::make_copy(), LineEmitter::make_copy(), CharacterJoint::make_copy(), PiecewiseCurve::make_nurbs(), motion_display_func(), MesherStrip< PrimType >::must_invert(), PosHprScaleLerpFunctor::operator()(), SimpleLerpFunctor< value >::operator()(), LerpBlendType::operator=(), DisplayRegion::operator=(), CircBuffer< Thing, max_size >::pop_front(), EggGroup::r_flatten_transforms(), PiecewiseCurve::rebuild_curveseg(), NurbsPPCurve::recompute(), NurbsPPCurve::remove_all_cvs(), ClassicNurbsCurve::remove_all_cvs(), SpriteParticleRenderer::render(), CurveFitter::reset(), RopeNode::reset_bound(), ParametricCurveCollection::reset_max_t(), ParametricCurveDrawer::set_color(), ParametricCurveDrawer::set_frame_accurate(), NurbsPPCurve::set_knot(), BuilderVertexTempl< VT, NT, TT, CT >::set_normal(), ProjectionScreen::set_projector(), ParametricCurveDrawer::set_tick_color(), PiecewiseCurve::set_tlength(), ChanCfgOverrides::setField(), TextNode::tack_on_accent(), CollisionPolygon::test_intersection_from_ray(), philosopher::thread_main(), CubicCurveseg::~CubicCurveseg(), LineEmitter::~LineEmitter(), and SphereVolumeEmitter::~SphereVolumeEmitter().

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

Definition at line 46 of file indirect.cxx.

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

Definition at line 47 of file indirect.cxx.

GraphicsWindow* win
 

Definition at line 33 of file indirect.cxx.

Referenced by GraphicsEngine::WindowRenderer::add_gsg(), GraphicsEngine::WindowRenderer::add_window(), ChanConfig::chan_eval(), GraphicsEngine::cull_and_draw_together(), PandaFramework::event_B(), PandaFramework::find_window(), GraphicsEngine::flip_frame(), DisplayRegion::get_pipe(), DisplayRegion::get_right(), motion_display_func(), NonlinearImager::set_source_camera(), and NonlinearImager::set_texture_size().


Generated on Fri May 2 00:46:14 2003 for Panda by doxygen1.3