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

CRGraphicsStateGuardian Class Reference

#include <crGraphicsStateGuardian.h>

Inheritance diagram for CRGraphicsStateGuardian:

GraphicsStateGuardian GraphicsStateGuardianBase TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 CRGraphicsStateGuardian (GraphicsWindow *win)
 ~CRGraphicsStateGuardian ()
virtual void reset ()
virtual void clear (const RenderBuffer &buffer)
virtual void clear (const RenderBuffer &buffer, const DisplayRegion *region)
virtual void prepare_display_region ()
virtual bool prepare_lens ()
virtual void draw_point (GeomPoint *geom, GeomContext *gc)
virtual void draw_line (GeomLine *geom, GeomContext *gc)
virtual void draw_linestrip (GeomLinestrip *geom, GeomContext *gc)
virtual void draw_sprite (GeomSprite *geom, GeomContext *gc)
virtual void draw_polygon (GeomPolygon *geom, GeomContext *gc)
virtual void draw_quad (GeomQuad *geom, GeomContext *gc)
virtual void draw_tri (GeomTri *geom, GeomContext *gc)
virtual void draw_tristrip (GeomTristrip *geom, GeomContext *gc)
virtual void draw_trifan (GeomTrifan *geom, GeomContext *gc)
virtual void draw_sphere (GeomSphere *geom, GeomContext *gc)
virtual TextureContextprepare_texture (Texture *tex)
virtual void apply_texture (TextureContext *tc)
virtual void release_texture (TextureContext *tc)
virtual GeomNodeContextprepare_geom_node (GeomNode *node)
virtual void draw_geom_node (GeomNode *node, const RenderState *state, GeomNodeContext *gnc)
virtual void release_geom_node (GeomNodeContext *gnc)
virtual void copy_texture (TextureContext *tc, const DisplayRegion *dr)
virtual void copy_texture (TextureContext *tc, const DisplayRegion *dr, const RenderBuffer &rb)
virtual void texture_to_pixel_buffer (TextureContext *tc, PixelBuffer *pb)
virtual void texture_to_pixel_buffer (TextureContext *tc, PixelBuffer *pb, const DisplayRegion *dr)
virtual void copy_pixel_buffer (PixelBuffer *pb, const DisplayRegion *dr)
virtual void copy_pixel_buffer (PixelBuffer *pb, const DisplayRegion *dr, const RenderBuffer &rb)
virtual void draw_pixel_buffer (PixelBuffer *pb, const DisplayRegion *dr, const NodeTransitions &na=NodeTransitions())
virtual void draw_pixel_buffer (PixelBuffer *pb, const DisplayRegion *dr, const RenderBuffer &rb, const NodeTransitions &na=NodeTransitions())
virtual void apply_material (const Material *material)
void apply_fog (Fog *fog)
virtual void issue_transform (const TransformState *transform)
virtual void issue_tex_matrix (const TexMatrixAttrib *attrib)
virtual void issue_texture (const TextureAttrib *attrib)
virtual void issue_material (const MaterialAttrib *attrib)
virtual void issue_render_mode (const RenderModeAttrib *attrib)
virtual void issue_texture_apply (const TextureApplyAttrib *attrib)
virtual void issue_color_write (const ColorWriteAttrib *attrib)
virtual void issue_depth_test (const DepthTestAttrib *attrib)
virtual void issue_depth_write (const DepthWriteAttrib *attrib)
virtual void issue_cull_face (const CullFaceAttrib *attrib)
virtual void issue_fog (const FogAttrib *attrib)
virtual void issue_depth_offset (const DepthOffsetAttrib *attrib)
virtual void bind_light (PointLight *light, int light_id)
virtual void bind_light (DirectionalLight *light, int light_id)
virtual void bind_light (Spotlight *light, int light_id)
virtual bool wants_normals (void) const
virtual bool wants_texcoords (void) const
virtual bool depth_offset_decals ()
virtual CoordinateSystem get_internal_coordinate_system () const
virtual float compute_distance_to (const LPoint3f &point) const
void print_gfx_visual ()
void dump_state (void)
INLINE const LMatrix4f & get_current_color_mat () const
INLINE const float & get_current_alpha_offset () const
INLINE const float & get_current_alpha_scale () const
void issue_transformed_color (const Colorf &color) const
virtual TypeHandle get_type (void) const
virtual TypeHandle force_init_type ()

Static Public Member Functions

GraphicsStateGuardianmake_GlGraphicsStateGuardian (const FactoryParams &params)
TypeHandle get_class_type (void)
void init_type (void)

Static Public Attributes

PStatCollector _vertices_display_list_pcollector

Protected Member Functions

virtual void enable_lighting (bool enable)
virtual void set_ambient_light (const Colorf &color)
virtual void enable_light (int light_id, bool enable)
virtual void begin_bind_lights ()
virtual void end_bind_lights ()
virtual void set_blend_mode (ColorWriteAttrib::Mode color_write_mode, ColorBlendAttrib::Mode color_blend_mode, TransparencyAttrib::Mode transparency_mode)
void free_pointers ()
virtual PT (SavedFrameBuffer) save_frame_buffer(const RenderBuffer &buffer
virtual CPT (DisplayRegion) dr)
virtual void restore_frame_buffer (SavedFrameBuffer *frame_buffer)
INLINE void activate ()
INLINE void call_glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
INLINE void call_glClearDepth (GLclampd depth)
INLINE void call_glClearStencil (GLint s)
INLINE void call_glClearAccum (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
INLINE void call_glDrawBuffer (GLenum mode)
INLINE void call_glReadBuffer (GLenum mode)
INLINE void call_glShadeModel (GLenum mode)
INLINE void call_glBlendFunc (GLenum sfunc, GLenum dfunc)
INLINE void call_glCullFace (GLenum mode)
INLINE void call_glScissor (GLint x, GLint y, GLsizei width, GLsizei height)
INLINE void call_glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
INLINE void call_glLightModelLocal (GLboolean local)
INLINE void call_glLightModelTwoSide (GLboolean twoside)
INLINE void call_glStencilFunc (GLenum func, GLint refval, GLuint mask)
INLINE void call_glStencilOp (GLenum fail, GLenum zfail, GLenum pass)
INLINE void call_glClipPlane (GLenum plane, const double equation[4])
INLINE void call_glLineWidth (GLfloat width)
INLINE void call_glPointSize (GLfloat size)
INLINE void call_glFogMode (GLint mode)
INLINE void call_glFogStart (GLfloat start)
INLINE void call_glFogEnd (GLfloat end)
INLINE void call_glFogDensity (GLfloat density)
INLINE void call_glFogColor (const Colorf &color)
INLINE void call_glAlphaFunc (GLenum func, GLclampf ref)
INLINE void call_glPolygonMode (GLenum mode)
INLINE void set_pack_alignment (GLint alignment)
INLINE void set_unpack_alignment (GLint alignment)
INLINE void enable_multisample (bool val)
INLINE void enable_line_smooth (bool val)
INLINE void enable_point_smooth (bool val)
INLINE void enable_texturing (bool val)
INLINE void enable_scissor (bool val)
INLINE void enable_dither (bool val)
INLINE void enable_stencil_test (bool val)
INLINE void enable_clip_plane (int clip_plane, bool val)
INLINE void enable_multisample_alpha_one (bool val)
INLINE void enable_multisample_alpha_mask (bool val)
INLINE void enable_blend (bool val)
INLINE void enable_depth_test (bool val)
INLINE void enable_fog (bool val)
INLINE void enable_alpha_test (bool val)
INLINE void enable_polygon_offset (bool val)
INLINE GLenum get_light_id (int index) const
INLINE GLenum get_clip_plane_id (int index) const
INLINE void issue_scene_graph_color ()
void set_draw_buffer (const RenderBuffer &rb)
void set_read_buffer (const RenderBuffer &rb)
void bind_texture (TextureContext *tc)
void specify_texture (Texture *tex)
bool apply_texture_immediate (Texture *tex)
GLenum get_texture_wrap_mode (Texture::WrapMode wm)
GLenum get_texture_filter_type (Texture::FilterType ft)
GLenum get_image_type (PixelBuffer::Type type)
GLenum get_external_image_format (PixelBuffer::Format format)
GLenum get_internal_image_format (PixelBuffer::Format format)
GLint get_texture_apply_mode_type (TextureApplyProperty::Mode am) const
GLint get_texture_apply_mode_type (TextureApplyAttrib::Mode am) const
GLenum get_depth_func_type (DepthTestProperty::Mode m) const
GLenum get_depth_func_type (DepthTestAttrib::Mode m) const
GLenum get_stencil_func_type (StencilProperty::Mode m) const
GLenum get_stencil_action_type (StencilProperty::Action a) const
GLenum get_fog_mode_type (Fog::Mode m) const
void build_phony_mipmaps (Texture *tex)
void build_phony_mipmap_level (int level, int xsize, int ysize)
void save_mipmap_images (Texture *tex)
 PTA (PlaneNode *) _available_clip_plane_ids
 CPT (DisplayRegion) _actual_display_region

Protected Attributes

GLclampf _clear_color_red
GLclampf _clear_color_green
GLclampf _clear_color_blue
GLclampf _clear_color_alpha
GLclampd _clear_depth
GLint _clear_stencil
GLclampf _clear_accum_red
GLclampf _clear_accum_green
GLclampf _clear_accum_blue
GLclampf _clear_accum_alpha
GLenum _draw_buffer_mode
GLenum _read_buffer_mode
GLenum _shade_model_mode
GLint _scissor_x
GLint _scissor_y
GLsizei _scissor_width
GLsizei _scissor_height
GLint _viewport_x
GLint _viewport_y
GLsizei _viewport_width
GLsizei _viewport_height
GLboolean _lmodel_local
GLboolean _lmodel_twoside
Colorf _material_ambient
Colorf _material_diffuse
Colorf _material_specular
float _material_shininess
Colorf _material_emission
GLenum _stencil_func
GLenum _stencil_op
GLfloat _line_width
GLfloat _point_size
GLenum _blend_source_func
GLenum _blend_dest_func
GLboolean _depth_mask
GLint _fog_mode
GLfloat _fog_start
GLfloat _fog_end
GLfloat _fog_density
Colorf _fog_color
GLenum _alpha_func
GLclampf _alpha_func_ref
GLenum _polygon_mode
GLint _pack_alignment
GLint _unpack_alignment
bool _multisample_enabled
bool _line_smooth_enabled
bool _point_smooth_enabled
bool _scissor_enabled
bool _texturing_enabled
bool _dither_enabled
bool _stencil_test_enabled
bool _multisample_alpha_one_enabled
bool _multisample_alpha_mask_enabled
bool _blend_enabled
bool _depth_test_enabled
bool _fog_enabled
bool _dithering_enabled
bool _alpha_test_enabled
bool _polygon_offset_enabled
int _decal_level
int _cur_light_id
LMatrix4f _current_projection_mat
int _projection_mat_stack_count
int _max_clip_planes
bool * _clip_plane_enabled
bool * _cur_clip_plane_enabled
int _cur_clip_plane_id
int _pass_number

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

CRGraphicsStateGuardian::CRGraphicsStateGuardian GraphicsWindow win  ) 
 

Definition at line 136 of file crGraphicsStateGuardian.cxx.

References _clip_plane_enabled, _cur_clip_plane_enabled, NULL, reset(), and win.

Referenced by make_GlGraphicsStateGuardian().

CRGraphicsStateGuardian::~CRGraphicsStateGuardian  ) 
 

Definition at line 158 of file crGraphicsStateGuardian.cxx.

References free_pointers(), and GraphicsStateGuardian::release_all_geoms().


Member Function Documentation

INLINE void CRGraphicsStateGuardian::activate  )  [protected]
 

Referenced by reset().

void CRGraphicsStateGuardian::apply_fog Fog fog  ) 
 

Definition at line 2013 of file crGraphicsStateGuardian.cxx.

References call_glFogColor(), call_glFogDensity(), call_glFogEnd(), call_glFogMode(), call_glFogStart(), Fog::get_color(), Fog::get_exp_density(), get_fog_mode_type(), Fog::get_linear_range(), and Fog::get_mode().

Referenced by issue_fog().

void CRGraphicsStateGuardian::apply_material const Material material  )  [virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1967 of file crGraphicsStateGuardian.cxx.

References call_glLightModelLocal(), call_glLightModelTwoSide(), chromium, Material::get_ambient(), Material::get_diffuse(), Material::get_emission(), Material::get_local(), Material::get_shininess(), Material::get_specular(), Material::get_twoside(), Material::has_ambient(), and Material::has_diffuse().

Referenced by issue_material(), and reset().

void CRGraphicsStateGuardian::apply_texture TextureContext tc  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 1542 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::add_to_texture_record(), apply_texture_immediate(), bind_texture(), Texture::DF_filter, Texture::DF_image, Texture::DF_mipmap, Texture::DF_wrap, specify_texture(), and tc.

bool CRGraphicsStateGuardian::apply_texture_immediate Texture tex  )  [protected]
 

Definition at line 2737 of file crGraphicsStateGuardian.cxx.

References PixelBuffer::_image, build_phony_mipmaps(), chromium, compute_cr_image_size(), cr_force_mipmaps, cr_ignore_mipmaps, cr_supports_bgr, PointerToArray< unsigned char >::empty(), PixelBuffer::get_border(), get_external_image_format(), PixelBuffer::get_format(), PixelBuffer::get_image_type(), get_image_type(), get_internal_image_format(), Texture::get_ram_image(), PixelBuffer::get_xsize(), PixelBuffer::get_ysize(), image, NULL, pb, save_mipmap_images(), set_unpack_alignment(), PixelBuffer::T_unsigned_byte, tex, type, uchar, uchar_bgr_to_rgb(), uchar_bgra_to_rgba(), and Texture::uses_mipmaps().

Referenced by apply_texture(), and prepare_texture().

void CRGraphicsStateGuardian::begin_bind_lights  )  [protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3211 of file crGraphicsStateGuardian.cxx.

References chromium.

void CRGraphicsStateGuardian::bind_light Spotlight light,
int  light_id
[virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2351 of file crGraphicsStateGuardian.cxx.

References chromium, Colorf, Spotlight::get_attenuation(), Lens::get_hfov(), LensNode::get_lens(), get_light_id(), NodePath::get_mat(), Lens::get_nodal_point(), Spotlight::get_specular_color(), Lens::get_view_vector(), id, and NULL.

void CRGraphicsStateGuardian::bind_light DirectionalLight light,
int  light_id
[virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2309 of file crGraphicsStateGuardian.cxx.

References chromium, Colorf, DirectionalLight::get_direction(), get_light_id(), NodePath::get_mat(), and id.

void CRGraphicsStateGuardian::bind_light PointLight light,
int  light_id
[virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2268 of file crGraphicsStateGuardian.cxx.

References chromium, Colorf, PointLight::get_attenuation(), get_light_id(), NodePath::get_mat(), PointLight::get_point(), and id.

void CRGraphicsStateGuardian::bind_texture TextureContext tc  )  [protected]
 

Definition at line 2583 of file crGraphicsStateGuardian.cxx.

References CRTextureContext::_index, chromium, DCAST, tc, and tex.

Referenced by apply_texture(), copy_texture(), and prepare_texture().

void CRGraphicsStateGuardian::build_phony_mipmap_level int  level,
int  xsize,
int  ysize
[protected]
 

Definition at line 3480 of file crGraphicsStateGuardian.cxx.

References PixelBuffer::_image, chromium, PNMImage::fill(), PixelBuffer::get_border(), get_external_image_format(), PixelBuffer::get_format(), PixelBuffer::get_image_type(), get_image_type(), get_internal_image_format(), get_model_path(), get_texture_path(), PixelBuffer::get_xsize(), PixelBuffer::get_ysize(), PNMImage::is_valid(), level, PixelBuffer::load(), pb, PNMImage::quick_filter_from(), PNMImage::read(), RGBColorf, and type.

Referenced by build_phony_mipmaps().

void CRGraphicsStateGuardian::build_phony_mipmaps Texture tex  )  [protected]
 

Definition at line 3437 of file crGraphicsStateGuardian.cxx.

References build_phony_mipmap_level(), PixelBuffer::get_xsize(), PixelBuffer::get_ysize(), level, pb, and tex.

Referenced by apply_texture_immediate().

INLINE void CRGraphicsStateGuardian::call_glAlphaFunc GLenum  func,
GLclampf  ref
[protected]
 

Referenced by set_blend_mode().

INLINE void CRGraphicsStateGuardian::call_glBlendFunc GLenum  sfunc,
GLenum  dfunc
[protected]
 

Referenced by set_blend_mode().

INLINE void CRGraphicsStateGuardian::call_glClearAccum GLclampf  red,
GLclampf  green,
GLclampf  blue,
GLclampf  alpha
[protected]
 

Referenced by clear().

INLINE void CRGraphicsStateGuardian::call_glClearColor GLclampf  red,
GLclampf  green,
GLclampf  blue,
GLclampf  alpha
[protected]
 

Referenced by clear().

INLINE void CRGraphicsStateGuardian::call_glClearDepth GLclampd  depth  )  [protected]
 

Referenced by clear().

INLINE void CRGraphicsStateGuardian::call_glClearStencil GLint  s  )  [protected]
 

Referenced by clear().

INLINE void CRGraphicsStateGuardian::call_glClipPlane GLenum  plane,
const double  equation[4]
[protected]
 

INLINE void CRGraphicsStateGuardian::call_glCullFace GLenum  mode  )  [protected]
 

INLINE void CRGraphicsStateGuardian::call_glDrawBuffer GLenum  mode  )  [protected]
 

Referenced by set_draw_buffer().

INLINE void CRGraphicsStateGuardian::call_glFogColor const Colorf color  )  [protected]
 

Referenced by apply_fog().

INLINE void CRGraphicsStateGuardian::call_glFogDensity GLfloat  density  )  [protected]
 

Referenced by apply_fog().

INLINE void CRGraphicsStateGuardian::call_glFogEnd GLfloat  end  )  [protected]
 

Referenced by apply_fog().

INLINE void CRGraphicsStateGuardian::call_glFogMode GLint  mode  )  [protected]
 

Referenced by apply_fog().

INLINE void CRGraphicsStateGuardian::call_glFogStart GLfloat  start  )  [protected]
 

Referenced by apply_fog().

INLINE void CRGraphicsStateGuardian::call_glLightModelLocal GLboolean  local  )  [protected]
 

Referenced by apply_material().

INLINE void CRGraphicsStateGuardian::call_glLightModelTwoSide GLboolean  twoside  )  [protected]
 

Referenced by apply_material().

INLINE void CRGraphicsStateGuardian::call_glLineWidth GLfloat  width  )  [protected]
 

Referenced by draw_line(), draw_linestrip(), and issue_render_mode().

INLINE void CRGraphicsStateGuardian::call_glPointSize GLfloat  size  )  [protected]
 

Referenced by draw_point().

INLINE void CRGraphicsStateGuardian::call_glPolygonMode GLenum  mode  )  [protected]
 

Referenced by issue_render_mode().

INLINE void CRGraphicsStateGuardian::call_glReadBuffer GLenum  mode  )  [protected]
 

Referenced by set_read_buffer().

INLINE void CRGraphicsStateGuardian::call_glScissor GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height
[protected]
 

Referenced by prepare_display_region().

INLINE void CRGraphicsStateGuardian::call_glShadeModel GLenum  mode  )  [protected]
 

Referenced by draw_line(), draw_linestrip(), draw_polygon(), draw_quad(), draw_sphere(), draw_tri(), draw_trifan(), and draw_tristrip().

INLINE void CRGraphicsStateGuardian::call_glStencilFunc GLenum  func,
GLint  refval,
GLuint  mask
[protected]
 

INLINE void CRGraphicsStateGuardian::call_glStencilOp GLenum  fail,
GLenum  zfail,
GLenum  pass
[protected]
 

INLINE void CRGraphicsStateGuardian::call_glViewport GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height
[protected]
 

Referenced by prepare_display_region().

void CRGraphicsStateGuardian::clear const RenderBuffer buffer,
const DisplayRegion region
[virtual]
 

Definition at line 406 of file crGraphicsStateGuardian.cxx.

References buffer, clear(), GraphicsStateGuardian::pop_display_region(), prepare_display_region(), and GraphicsStateGuardian::push_display_region().

void CRGraphicsStateGuardian::clear const RenderBuffer buffer  )  [virtual]
 

Definition at line 334 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_accum_clear_value, GraphicsStateGuardian::_color_clear_value, GraphicsStateGuardian::_depth_clear_value, _depth_mask, GraphicsStateGuardian::_stencil_clear_value, buffer, call_glClearAccum(), call_glClearColor(), call_glClearDepth(), call_glClearStencil(), chromium, CPT(), DO_PSTATS_STUFF, DepthWriteAttrib::M_on, ColorWriteAttrib::M_on, GraphicsStateGuardian::modify_state(), set_draw_buffer(), RenderBuffer::T_accum, RenderBuffer::T_color, RenderBuffer::T_depth, and RenderBuffer::T_stencil.

Referenced by clear().

float CRGraphicsStateGuardian::compute_distance_to const LPoint3f &  point  )  const [virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 2443 of file crGraphicsStateGuardian.cxx.

void CRGraphicsStateGuardian::copy_pixel_buffer PixelBuffer pb,
const DisplayRegion dr,
const RenderBuffer rb
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1955 of file crGraphicsStateGuardian.cxx.

References copy_pixel_buffer(), pb, and set_read_buffer().

void CRGraphicsStateGuardian::copy_pixel_buffer PixelBuffer pb,
const DisplayRegion dr
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1881 of file crGraphicsStateGuardian.cxx.

References PixelBuffer::_image, chromium, PointerToArray< unsigned char >::empty(), get_external_image_format(), PixelBuffer::get_format(), PixelBuffer::get_image_type(), get_image_type(), DisplayRegion::get_region_pixels(), PixelBuffer::get_xorg(), PixelBuffer::get_xsize(), PixelBuffer::get_yorg(), PixelBuffer::get_ysize(), NULL, PointerToArray< unsigned char >::p(), pb, set_pack_alignment(), and w.

Referenced by copy_pixel_buffer(), and texture_to_pixel_buffer().

void CRGraphicsStateGuardian::copy_texture TextureContext tc,
const DisplayRegion dr,
const RenderBuffer rb
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1814 of file crGraphicsStateGuardian.cxx.

References copy_texture(), set_read_buffer(), and tc.

void CRGraphicsStateGuardian::copy_texture TextureContext tc,
const DisplayRegion dr
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1773 of file crGraphicsStateGuardian.cxx.

References binary_log_cap(), bind_texture(), chromium, PixelBuffer::get_border(), PixelBuffer::get_format(), get_internal_image_format(), DisplayRegion::get_region_pixels(), PixelBuffer::get_xorg(), PixelBuffer::get_xsize(), PixelBuffer::get_yorg(), PixelBuffer::get_ysize(), NULL, pb, PixelBuffer::set_xorg(), PixelBuffer::set_xsize(), PixelBuffer::set_yorg(), PixelBuffer::set_ysize(), tc, tex, and w.

Referenced by copy_texture().

CRGraphicsStateGuardian::CPT DisplayRegion   )  [protected, virtual]
 

Implements GraphicsStateGuardian.

virtual CRGraphicsStateGuardian::CPT DisplayRegion   )  [protected, virtual]
 

Implements GraphicsStateGuardian.

Referenced by clear(), and reset().

bool CRGraphicsStateGuardian::depth_offset_decals  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2412 of file crGraphicsStateGuardian.cxx.

References cr_depth_offset_decals.

void CRGraphicsStateGuardian::draw_geom_node GeomNode node,
const RenderState state,
GeomNodeContext gnc
[virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 1698 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_draw_primitive_pcollector, CRGeomNodeContext::_dynamic_geoms, CRGeomNodeContext::_index, _vertices_display_list_pcollector, PStatCollector::add_level(), GraphicsStateGuardian::add_to_geom_node_record(), chromium, DCAST, Geom::draw(), GeomNode::get_geom(), and NULL.

void CRGraphicsStateGuardian::draw_line GeomLine geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 557 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), call_glLineWidth(), call_glShadeModel(), chromium, G_COLOR, G_OVERALL, G_PER_PRIM, G_PER_VERTEX, Geom::get_num_prims(), Geom::get_num_vertices(), GeomLine::get_width(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), issue_normal_gl(), issue_scene_graph_color(), issue_texcoord_gl(), issue_transformed_color_gl(), GeomIssuer::issue_vertex(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), and Geom::make_vertex_iterator().

void CRGraphicsStateGuardian::draw_linestrip GeomLinestrip geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 622 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), call_glLineWidth(), call_glShadeModel(), chromium, DO_PSTATS_STUFF, G_COLOR, G_OVERALL, G_PER_COMPONENT, G_PER_PRIM, G_PER_VERTEX, Geom::get_lengths(), Geom::get_num_prims(), Geom::get_num_vertices(), GeomLinestrip::get_width(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), issue_normal_gl(), issue_scene_graph_color(), issue_texcoord_gl(), issue_transformed_color_gl(), GeomIssuer::issue_vertex(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), Geom::make_vertex_iterator(), PStatCollector::start(), PStatCollector::stop(), and v.

virtual void CRGraphicsStateGuardian::draw_pixel_buffer PixelBuffer pb,
const DisplayRegion dr,
const RenderBuffer rb,
const NodeTransitions &  na = NodeTransitions()
[virtual]
 

virtual void CRGraphicsStateGuardian::draw_pixel_buffer PixelBuffer pb,
const DisplayRegion dr,
const NodeTransitions &  na = NodeTransitions()
[virtual]
 

Referenced by restore_frame_buffer().

void CRGraphicsStateGuardian::draw_point GeomPoint geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 494 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), call_glPointSize(), chromium, G_OVERALL, G_PER_PRIM, G_PER_VERTEX, Geom::get_num_prims(), Geom::get_num_vertices(), GeomPoint::get_size(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), GeomIssuer::issue_normal(), issue_normal_gl(), issue_scene_graph_color(), GeomIssuer::issue_texcoord(), issue_texcoord_gl(), issue_transformed_color_gl(), GeomIssuer::issue_vertex(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), Geom::make_normal_iterator(), Geom::make_texcoord_iterator(), and Geom::make_vertex_iterator().

void CRGraphicsStateGuardian::draw_polygon GeomPolygon geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 983 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), call_glShadeModel(), chromium, DO_PSTATS_STUFF, G_COLOR, G_NORMAL, G_OVERALL, G_PER_PRIM, G_PER_VERTEX, Geom::get_lengths(), Geom::get_num_prims(), Geom::get_num_vertices(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), GeomIssuer::issue_normal(), issue_normal_gl(), issue_scene_graph_color(), GeomIssuer::issue_texcoord(), issue_texcoord_gl(), issue_transformed_color_gl(), GeomIssuer::issue_vertex(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), Geom::make_normal_iterator(), Geom::make_texcoord_iterator(), Geom::make_vertex_iterator(), PStatCollector::start(), PStatCollector::stop(), v, GraphicsStateGuardian::wants_colors(), and wants_normals().

void CRGraphicsStateGuardian::draw_quad GeomQuad geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1144 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), call_glShadeModel(), chromium, DO_PSTATS_STUFF, G_COLOR, G_NORMAL, G_OVERALL, G_PER_PRIM, G_PER_VERTEX, Geom::get_num_prims(), Geom::get_num_vertices(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), GeomIssuer::issue_normal(), issue_normal_gl(), issue_scene_graph_color(), GeomIssuer::issue_texcoord(), issue_texcoord_gl(), issue_transformed_color_gl(), GeomIssuer::issue_vertex(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), Geom::make_normal_iterator(), Geom::make_texcoord_iterator(), Geom::make_vertex_iterator(), PStatCollector::start(), PStatCollector::stop(), GraphicsStateGuardian::wants_colors(), and wants_normals().

void CRGraphicsStateGuardian::draw_sphere GeomSphere geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1420 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), call_glShadeModel(), chromium, DO_PSTATS_STUFF, dot(), G_OVERALL, G_PER_PRIM, G_PER_VERTEX, Geom::get_next_vertex(), Geom::get_num_prims(), Geom::get_num_vertices(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), issue_normal_gl(), issue_scene_graph_color(), issue_texcoord_gl(), issue_transformed_color_gl(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), Geom::make_vertex_iterator(), r, PStatCollector::start(), PStatCollector::stop(), v, Vertexf, wants_normals(), and wants_texcoords().

void CRGraphicsStateGuardian::draw_sprite GeomSprite geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 730 of file crGraphicsStateGuardian.cxx.

References WrappedSprite::_c, _dithering_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, WrappedSprite::_theta, GeomSprite::_theta, WrappedSprite::_v, GraphicsStateGuardian::_vertices_other_pcollector, WrappedSprite::_x_ratio, GeomSprite::_x_texel_ratio, WrappedSprite::_y_ratio, GeomSprite::_y_texel_ratio, PStatCollector::add_level(), alpha, chromium, DO_PSTATS_STUFF, G_COLOR, G_OFF, G_OVERALL, G_PER_VERTEX, GeomSprite::get_alpha_disable(), GeomSprite::get_ll_uv(), TransparencyAttrib::get_mode(), Geom::get_next_color(), Geom::get_next_vertex(), Geom::get_num_prims(), Geom::get_num_vertices(), GeomSprite::get_texture(), GeomSprite::get_theta_bind_type(), GeomSprite::get_ur_uv(), GeomSprite::get_x_bind_type(), GeomSprite::get_y_bind_type(), RenderAttrib::M_none, Geom::make_color_iterator(), Geom::make_vertex_iterator(), GraphicsStateGuardian::modify_state(), NULL, PointerToArray< float >::reserve(), PStatCollector::start(), PStatCollector::stop(), tex, and Vertexf.

void CRGraphicsStateGuardian::draw_tri GeomTri geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1065 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_tri_pcollector, PStatCollector::add_level(), call_glShadeModel(), chromium, G_COLOR, G_NORMAL, G_OVERALL, G_PER_PRIM, G_PER_VERTEX, Geom::get_num_prims(), Geom::get_num_vertices(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), GeomIssuer::issue_normal(), issue_normal_gl(), issue_scene_graph_color(), GeomIssuer::issue_texcoord(), issue_texcoord_gl(), issue_transformed_color_gl(), GeomIssuer::issue_vertex(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), Geom::make_normal_iterator(), Geom::make_texcoord_iterator(), Geom::make_vertex_iterator(), PStatCollector::start(), PStatCollector::stop(), GraphicsStateGuardian::wants_colors(), and wants_normals().

void CRGraphicsStateGuardian::draw_trifan GeomTrifan geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1320 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_trifan_pcollector, PStatCollector::add_level(), call_glShadeModel(), chromium, DO_PSTATS_STUFF, G_COLOR, G_NORMAL, G_OVERALL, G_PER_COMPONENT, G_PER_PRIM, G_PER_VERTEX, Geom::get_lengths(), Geom::get_num_prims(), Geom::get_num_vertices(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), GeomIssuer::issue_normal(), issue_normal_gl(), issue_scene_graph_color(), GeomIssuer::issue_texcoord(), issue_texcoord_gl(), issue_transformed_color_gl(), GeomIssuer::issue_vertex(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), Geom::make_normal_iterator(), Geom::make_texcoord_iterator(), Geom::make_vertex_iterator(), PStatCollector::start(), PStatCollector::stop(), v, GraphicsStateGuardian::wants_colors(), and wants_normals().

void CRGraphicsStateGuardian::draw_tristrip GeomTristrip geom,
GeomContext gc
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1221 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_color_transform_enabled, GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_tristrip_pcollector, PStatCollector::add_level(), call_glShadeModel(), chromium, DO_PSTATS_STUFF, G_COLOR, G_NORMAL, G_OVERALL, G_PER_COMPONENT, G_PER_PRIM, G_PER_VERTEX, Geom::get_lengths(), Geom::get_num_prims(), Geom::get_num_vertices(), GeomIssuer::issue_color(), GraphicsStateGuardian::issue_color(), issue_color_gl(), GeomIssuer::issue_normal(), issue_normal_gl(), issue_scene_graph_color(), GeomIssuer::issue_texcoord(), issue_texcoord_gl(), issue_transformed_color_gl(), GeomIssuer::issue_vertex(), issue_vertex_gl(), GeomIssuer::IssueColor, Geom::make_color_iterator(), Geom::make_normal_iterator(), Geom::make_texcoord_iterator(), Geom::make_vertex_iterator(), PStatCollector::start(), PStatCollector::stop(), v, GraphicsStateGuardian::wants_colors(), and wants_normals().

void CRGraphicsStateGuardian::dump_state void   ) 
 

Definition at line 3663 of file crGraphicsStateGuardian.cxx.

INLINE void CRGraphicsStateGuardian::enable_alpha_test bool  val  )  [protected]
 

Referenced by set_blend_mode().

INLINE void CRGraphicsStateGuardian::enable_blend bool  val  )  [protected]
 

Referenced by set_blend_mode().

INLINE void CRGraphicsStateGuardian::enable_clip_plane int  clip_plane,
bool  val
[protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

INLINE void CRGraphicsStateGuardian::enable_depth_test bool  val  )  [protected]
 

Referenced by issue_depth_test().

INLINE void CRGraphicsStateGuardian::enable_dither bool  val  )  [protected]
 

Referenced by reset().

INLINE void CRGraphicsStateGuardian::enable_fog bool  val  )  [protected]
 

Referenced by issue_fog().

void CRGraphicsStateGuardian::enable_light int  light_id,
bool  enable
[protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3190 of file crGraphicsStateGuardian.cxx.

References chromium, and get_light_id().

void CRGraphicsStateGuardian::enable_lighting bool  enable  )  [protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3161 of file crGraphicsStateGuardian.cxx.

References chromium.

INLINE void CRGraphicsStateGuardian::enable_line_smooth bool  val  )  [protected]
 

Referenced by reset().

INLINE void CRGraphicsStateGuardian::enable_multisample bool  val  )  [protected]
 

Referenced by reset().

INLINE void CRGraphicsStateGuardian::enable_multisample_alpha_mask bool  val  )  [protected]
 

Referenced by set_blend_mode().

INLINE void CRGraphicsStateGuardian::enable_multisample_alpha_one bool  val  )  [protected]
 

Referenced by set_blend_mode().

INLINE void CRGraphicsStateGuardian::enable_point_smooth bool  val  )  [protected]
 

INLINE void CRGraphicsStateGuardian::enable_polygon_offset bool  val  )  [protected]
 

Referenced by issue_depth_offset().

INLINE void CRGraphicsStateGuardian::enable_scissor bool  val  )  [protected]
 

Referenced by prepare_display_region().

INLINE void CRGraphicsStateGuardian::enable_stencil_test bool  val  )  [protected]
 

INLINE void CRGraphicsStateGuardian::enable_texturing bool  val  )  [protected]
 

Referenced by issue_texture().

void CRGraphicsStateGuardian::end_bind_lights  )  [protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3234 of file crGraphicsStateGuardian.cxx.

References chromium.

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

Reimplemented from GraphicsStateGuardian.

Definition at line 345 of file crGraphicsStateGuardian.h.

References GraphicsStateGuardian::get_class_type(), and GraphicsStateGuardian::init_type().

void CRGraphicsStateGuardian::free_pointers  )  [protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3362 of file crGraphicsStateGuardian.cxx.

References _clip_plane_enabled, _cur_clip_plane_enabled, and NULL.

Referenced by reset(), and ~CRGraphicsStateGuardian().

TypeHandle CRGraphicsStateGuardian::get_class_type void   )  [static]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3616 of file crGraphicsStateGuardian.cxx.

References _type_handle.

Referenced by wcrGraphicsWindow::get_gsg_type(), get_type(), and init_libcrgsg().

INLINE GLenum CRGraphicsStateGuardian::get_clip_plane_id int  index  )  const [protected]
 

INLINE const float& CRGraphicsStateGuardian::get_current_alpha_offset  )  const
 

Referenced by issue_transformed_color().

INLINE const float& CRGraphicsStateGuardian::get_current_alpha_scale  )  const
 

Referenced by issue_transformed_color().

INLINE const LMatrix4f& CRGraphicsStateGuardian::get_current_color_mat  )  const
 

Referenced by issue_transformed_color().

GLenum CRGraphicsStateGuardian::get_depth_func_type DepthTestAttrib::Mode  m  )  const [protected]
 

Definition at line 3053 of file crGraphicsStateGuardian.cxx.

References RenderAttrib::M_always, RenderAttrib::M_equal, RenderAttrib::M_greater, RenderAttrib::M_greater_equal, RenderAttrib::M_less, RenderAttrib::M_less_equal, RenderAttrib::M_never, and RenderAttrib::M_not_equal.

GLenum CRGraphicsStateGuardian::get_depth_func_type DepthTestProperty::Mode  m  )  const [protected]
 

Referenced by issue_depth_test().

GLenum CRGraphicsStateGuardian::get_external_image_format PixelBuffer::Format  format  )  [protected]
 

Definition at line 2926 of file crGraphicsStateGuardian.cxx.

References cr_supports_bgr, PixelBuffer::F_alpha, PixelBuffer::F_blue, PixelBuffer::F_color_index, PixelBuffer::F_depth_component, PixelBuffer::F_green, PixelBuffer::F_luminance, PixelBuffer::F_luminance_alpha, PixelBuffer::F_luminance_alphamask, PixelBuffer::F_red, PixelBuffer::F_rgb, PixelBuffer::F_rgb12, PixelBuffer::F_rgb332, PixelBuffer::F_rgb5, PixelBuffer::F_rgb8, PixelBuffer::F_rgba, PixelBuffer::F_rgba12, PixelBuffer::F_rgba4, PixelBuffer::F_rgba5, PixelBuffer::F_rgba8, PixelBuffer::F_rgbm, PixelBuffer::F_stencil_index, and format.

Referenced by apply_texture_immediate(), build_phony_mipmap_level(), copy_pixel_buffer(), and save_mipmap_images().

GLenum CRGraphicsStateGuardian::get_fog_mode_type Fog::Mode  m  )  const [protected]
 

Referenced by apply_fog().

GLenum CRGraphicsStateGuardian::get_image_type PixelBuffer::Type  type  )  [protected]
 

Definition at line 2900 of file crGraphicsStateGuardian.cxx.

References GL_UNSIGNED_BYTE_3_3_2_EXT, PixelBuffer::T_float, PixelBuffer::T_unsigned_byte, PixelBuffer::T_unsigned_byte_332, and PixelBuffer::T_unsigned_short.

Referenced by apply_texture_immediate(), build_phony_mipmap_level(), copy_pixel_buffer(), and save_mipmap_images().

CoordinateSystem CRGraphicsStateGuardian::get_internal_coordinate_system  )  const [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2430 of file crGraphicsStateGuardian.cxx.

References CS_yup_right.

GLenum CRGraphicsStateGuardian::get_internal_image_format PixelBuffer::Format  format  )  [protected]
 

Definition at line 2982 of file crGraphicsStateGuardian.cxx.

References PixelBuffer::F_alpha, PixelBuffer::F_blue, PixelBuffer::F_green, PixelBuffer::F_luminance, PixelBuffer::F_luminance_alpha, PixelBuffer::F_luminance_alphamask, PixelBuffer::F_red, PixelBuffer::F_rgb, PixelBuffer::F_rgb12, PixelBuffer::F_rgb332, PixelBuffer::F_rgb5, PixelBuffer::F_rgb8, PixelBuffer::F_rgba, PixelBuffer::F_rgba12, PixelBuffer::F_rgba4, PixelBuffer::F_rgba5, PixelBuffer::F_rgba8, PixelBuffer::F_rgbm, and format.

Referenced by apply_texture_immediate(), build_phony_mipmap_level(), and copy_texture().

INLINE GLenum CRGraphicsStateGuardian::get_light_id int  index  )  const [protected]
 

Referenced by bind_light(), and enable_light().

GLenum CRGraphicsStateGuardian::get_stencil_action_type StencilProperty::Action  a  )  const [protected]
 

GLenum CRGraphicsStateGuardian::get_stencil_func_type StencilProperty::Mode  m  )  const [protected]
 

GLint CRGraphicsStateGuardian::get_texture_apply_mode_type TextureApplyAttrib::Mode  am  )  const [protected]
 

Definition at line 3034 of file crGraphicsStateGuardian.cxx.

References TextureApplyAttrib::M_add, TextureApplyAttrib::M_blend, TextureApplyAttrib::M_decal, and TextureApplyAttrib::M_replace.

GLint CRGraphicsStateGuardian::get_texture_apply_mode_type TextureApplyProperty::Mode  am  )  const [protected]
 

Referenced by issue_texture_apply().

GLenum CRGraphicsStateGuardian::get_texture_filter_type Texture::FilterType  ft  )  [protected]
 

Definition at line 2857 of file crGraphicsStateGuardian.cxx.

References Texture::FT_invalid, Texture::FT_linear, Texture::FT_linear_mipmap_linear, Texture::FT_linear_mipmap_nearest, Texture::FT_nearest_mipmap_linear, and Texture::FT_nearest_mipmap_nearest.

Referenced by specify_texture().

GLenum CRGraphicsStateGuardian::get_texture_wrap_mode Texture::WrapMode  wm  )  [protected]
 

Definition at line 2830 of file crGraphicsStateGuardian.cxx.

References Texture::WM_border_color, Texture::WM_clamp, Texture::WM_invalid, Texture::WM_mirror, Texture::WM_mirror_once, and Texture::WM_repeat.

Referenced by specify_texture().

TypeHandle CRGraphicsStateGuardian::get_type void   )  const [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3612 of file crGraphicsStateGuardian.cxx.

References get_class_type().

void CRGraphicsStateGuardian::init_type void   )  [static]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3620 of file crGraphicsStateGuardian.cxx.

References _type_handle, GraphicsStateGuardian::get_class_type(), GraphicsStateGuardian::init_type(), and register_type().

Referenced by init_libcrgsg().

void CRGraphicsStateGuardian::issue_color_write const ColorWriteAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2142 of file crGraphicsStateGuardian.cxx.

References chromium, ColorWriteAttrib::get_mode(), and mode.

void CRGraphicsStateGuardian::issue_cull_face const CullFaceAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2196 of file crGraphicsStateGuardian.cxx.

References chromium, CullFaceAttrib::M_cull_clockwise, CullFaceAttrib::M_cull_counter_clockwise, and mode.

void CRGraphicsStateGuardian::issue_depth_offset const DepthOffsetAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2243 of file crGraphicsStateGuardian.cxx.

References chromium, enable_polygon_offset(), and DepthOffsetAttrib::get_offset().

void CRGraphicsStateGuardian::issue_depth_test const DepthTestAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2163 of file crGraphicsStateGuardian.cxx.

References chromium, enable_depth_test(), get_depth_func_type(), DepthTestAttrib::get_mode(), RenderAttrib::M_none, and mode.

void CRGraphicsStateGuardian::issue_depth_write const DepthWriteAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2180 of file crGraphicsStateGuardian.cxx.

References chromium, DepthWriteAttrib::get_mode(), and mode.

void CRGraphicsStateGuardian::issue_fog const FogAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2225 of file crGraphicsStateGuardian.cxx.

References apply_fog(), enable_fog(), FogAttrib::get_fog(), FogAttrib::is_off(), and NULL.

void CRGraphicsStateGuardian::issue_material const MaterialAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2086 of file crGraphicsStateGuardian.cxx.

References apply_material(), MaterialAttrib::get_material(), and NULL.

void CRGraphicsStateGuardian::issue_render_mode const RenderModeAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2104 of file crGraphicsStateGuardian.cxx.

References call_glLineWidth(), call_glPolygonMode(), RenderModeAttrib::get_line_width(), RenderModeAttrib::get_mode(), RenderModeAttrib::M_wireframe, and mode.

INLINE void CRGraphicsStateGuardian::issue_scene_graph_color  )  [protected]
 

Referenced by draw_line(), draw_linestrip(), draw_point(), draw_polygon(), draw_quad(), draw_sphere(), draw_tri(), draw_trifan(), and draw_tristrip().

void CRGraphicsStateGuardian::issue_tex_matrix const TexMatrixAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2056 of file crGraphicsStateGuardian.cxx.

References chromium, and TexMatrixAttrib::get_mat().

void CRGraphicsStateGuardian::issue_texture const TextureAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2068 of file crGraphicsStateGuardian.cxx.

References Texture::apply(), enable_texturing(), TextureAttrib::get_texture(), TextureAttrib::is_off(), NULL, and tex.

void CRGraphicsStateGuardian::issue_texture_apply const TextureApplyAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Definition at line 2130 of file crGraphicsStateGuardian.cxx.

References chromium, TextureApplyAttrib::get_mode(), get_texture_apply_mode_type(), and GLint().

void CRGraphicsStateGuardian::issue_transform const TransformState transform  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2039 of file crGraphicsStateGuardian.cxx.

References chromium, and transform.

void CRGraphicsStateGuardian::issue_transformed_color const Colorf color  )  const
 

Definition at line 3132 of file crGraphicsStateGuardian.cxx.

References alpha, chromium, Colorf, get_current_alpha_offset(), get_current_alpha_scale(), and get_current_color_mat().

Referenced by issue_transformed_color_gl().

GraphicsStateGuardian * CRGraphicsStateGuardian::make_GlGraphicsStateGuardian const FactoryParams params  )  [static]
 

Definition at line 3600 of file crGraphicsStateGuardian.cxx.

References CRGraphicsStateGuardian(), get_param_into(), NULL, params, and win.

Referenced by init_libcrgsg().

void CRGraphicsStateGuardian::prepare_display_region  )  [virtual]
 

Implements GraphicsStateGuardian.

Definition at line 420 of file crGraphicsStateGuardian.cxx.

References b, call_glScissor(), call_glViewport(), enable_scissor(), GLint(), height, w, width, x, and y.

Referenced by clear().

GeomNodeContext * CRGraphicsStateGuardian::prepare_geom_node GeomNode node  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 1601 of file crGraphicsStateGuardian.cxx.

References CRGeomNodeContext::_dynamic_geoms, CRGeomNodeContext::_index, GraphicsStateGuardian::_normals_enabled, _texturing_enabled, GraphicsStateGuardian::_vertex_colors_enabled, GraphicsStateGuardian::_vertices_other_pcollector, GraphicsStateGuardian::_vertices_tri_pcollector, GraphicsStateGuardian::_vertices_trifan_pcollector, GraphicsStateGuardian::_vertices_tristrip_pcollector, chromium, dDrawable::draw(), GeomNode::get_geom(), PStatCollector::get_level(), dDrawable::is_dynamic(), GraphicsStateGuardian::mark_prepared_geom_node(), and NULL.

bool CRGraphicsStateGuardian::prepare_lens  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 456 of file crGraphicsStateGuardian.cxx.

References chromium, CS_yup_right, and NULL.

TextureContext * CRGraphicsStateGuardian::prepare_texture Texture tex  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 1514 of file crGraphicsStateGuardian.cxx.

References CRTextureContext::_index, CRTextureContext::_priority, apply_texture_immediate(), bind_texture(), chromium, GraphicsStateGuardian::mark_prepared_texture(), NULL, specify_texture(), and tex.

void CRGraphicsStateGuardian::print_gfx_visual  ) 
 

Definition at line 3078 of file crGraphicsStateGuardian.cxx.

References chromium, GL_MULTISAMPLE_SGIS, GL_SAMPLES_SGIS, GLboolean(), and GLint().

virtual CRGraphicsStateGuardian::PT SavedFrameBuffer   )  const [protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by save_mipmap_images(), and texture_to_pixel_buffer().

CRGraphicsStateGuardian::PTA PlaneNode  )  [protected]
 

Referenced by reset().

void CRGraphicsStateGuardian::release_geom_node GeomNodeContext gnc  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 1737 of file crGraphicsStateGuardian.cxx.

References CRGeomNodeContext::_index, GeomNodeContext::_node, chromium, DCAST, NULL, and GraphicsStateGuardian::unmark_prepared_geom_node().

void CRGraphicsStateGuardian::release_texture TextureContext tc  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 1569 of file crGraphicsStateGuardian.cxx.

References CRTextureContext::_index, chromium, Texture::clear_gsg(), DCAST, tc, tex, and GraphicsStateGuardian::unmark_prepared_texture().

void CRGraphicsStateGuardian::reset  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 171 of file crGraphicsStateGuardian.cxx.

References _alpha_func, _alpha_func_ref, _alpha_test_enabled, _blend_enabled, GraphicsStateGuardian::_buffer_mask, _clear_accum_alpha, _clear_accum_blue, _clear_accum_green, _clear_accum_red, _clear_color_alpha, _clear_color_blue, _clear_color_green, _clear_color_red, _clear_depth, _clear_stencil, _clip_plane_enabled, _cur_clip_plane_enabled, _current_projection_mat, _decal_level, _depth_mask, _depth_test_enabled, _dither_enabled, _dithering_enabled, _draw_buffer_mode, _fog_enabled, _fog_mode, _line_smooth_enabled, _line_width, _max_clip_planes, _multisample_alpha_mask_enabled, _multisample_alpha_one_enabled, _multisample_enabled, GraphicsStateGuardian::_normals_enabled, _pack_alignment, _point_size, _point_smooth_enabled, _polygon_mode, _polygon_offset_enabled, _projection_mat_stack_count, _read_buffer_mode, _scissor_enabled, _shade_model_mode, _stencil_func, _stencil_op, _stencil_test_enabled, _texturing_enabled, _unpack_alignment, activate(), apply_material(), chromium, CPT(), enable_dither(), enable_line_smooth(), enable_multisample(), free_pointers(), GLboolean(), GLint(), NULL, PTA(), GraphicsStateGuardian::reset(), RenderBuffer::T_accum, RenderBuffer::T_color, RenderBuffer::T_depth, and RenderBuffer::T_stencil.

Referenced by CRGraphicsStateGuardian().

void CRGraphicsStateGuardian::restore_frame_buffer SavedFrameBuffer frame_buffer  )  [protected, virtual]
 

Implements GraphicsStateGuardian.

Definition at line 3411 of file crGraphicsStateGuardian.cxx.

References SavedFrameBuffer::_buffer, RenderBuffer::_buffer_type, DCAST, draw_pixel_buffer(), NULL, RenderBuffer::T_back, and RenderBuffer::T_depth.

void CRGraphicsStateGuardian::save_mipmap_images Texture tex  )  [protected]
 

Definition at line 3550 of file crGraphicsStateGuardian.cxx.

References chromium, format_string(), PixelBuffer::get_component_width(), get_external_image_format(), PixelBuffer::get_format(), PixelBuffer::get_image_type(), get_image_type(), PixelBuffer::get_num_components(), Texture::get_ram_image(), PixelBuffer::get_xsize(), PixelBuffer::get_ysize(), index, NULL, pb, PT(), set_pack_alignment(), tex, and type.

Referenced by apply_texture_immediate().

void CRGraphicsStateGuardian::set_ambient_light const Colorf color  )  [protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3178 of file crGraphicsStateGuardian.cxx.

References chromium.

void CRGraphicsStateGuardian::set_blend_mode ColorWriteAttrib::Mode  color_write_mode,
ColorBlendAttrib::Mode  color_blend_mode,
TransparencyAttrib::Mode  transparency_mode
[protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 3248 of file crGraphicsStateGuardian.cxx.

References call_glAlphaFunc(), call_glBlendFunc(), enable_alpha_test(), enable_blend(), enable_multisample_alpha_mask(), enable_multisample_alpha_one(), ColorBlendAttrib::M_add, TransparencyAttrib::M_alpha, TransparencyAttrib::M_alpha_sorted, TransparencyAttrib::M_binary, ColorBlendAttrib::M_multiply, ColorBlendAttrib::M_multiply_add, TransparencyAttrib::M_multisample, TransparencyAttrib::M_multisample_mask, and RenderAttrib::M_none.

void CRGraphicsStateGuardian::set_draw_buffer const RenderBuffer rb  )  [protected]
 

Definition at line 2487 of file crGraphicsStateGuardian.cxx.

References RenderBuffer::_buffer_type, call_glDrawBuffer(), RenderBuffer::T_back, RenderBuffer::T_back_left, RenderBuffer::T_back_right, RenderBuffer::T_color, RenderBuffer::T_front, RenderBuffer::T_front_left, RenderBuffer::T_front_right, RenderBuffer::T_left, and RenderBuffer::T_right.

Referenced by clear().

INLINE void CRGraphicsStateGuardian::set_pack_alignment GLint  alignment  )  [protected]
 

Referenced by copy_pixel_buffer(), and save_mipmap_images().

void CRGraphicsStateGuardian::set_read_buffer const RenderBuffer rb  )  [protected]
 

Definition at line 2536 of file crGraphicsStateGuardian.cxx.

References RenderBuffer::_buffer_type, call_glReadBuffer(), RenderBuffer::T_back, RenderBuffer::T_back_left, RenderBuffer::T_back_right, RenderBuffer::T_color, RenderBuffer::T_front, RenderBuffer::T_front_left, RenderBuffer::T_front_right, RenderBuffer::T_left, and RenderBuffer::T_right.

Referenced by copy_pixel_buffer(), and copy_texture().

INLINE void CRGraphicsStateGuardian::set_unpack_alignment GLint  alignment  )  [protected]
 

Referenced by apply_texture_immediate().

void CRGraphicsStateGuardian::specify_texture Texture tex  )  [protected]
 

Definition at line 2603 of file crGraphicsStateGuardian.cxx.

References chromium, Texture::get_magfilter(), Texture::get_minfilter(), get_texture_filter_type(), get_texture_wrap_mode(), Texture::get_wrapu(), Texture::get_wrapv(), and tex.

Referenced by apply_texture(), and prepare_texture().

void CRGraphicsStateGuardian::texture_to_pixel_buffer TextureContext tc,
PixelBuffer pb,
const DisplayRegion dr
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1853 of file crGraphicsStateGuardian.cxx.

References PixelBuffer::_image, PixelBuffer::copy(), copy_pixel_buffer(), PointerToArray< unsigned char >::empty(), PointerToArray< unsigned char >::empty_array(), PixelBuffer::get_num_components(), PixelBuffer::get_xsize(), PixelBuffer::get_ysize(), NULL, pb, tc, tex, and w.

void CRGraphicsStateGuardian::texture_to_pixel_buffer TextureContext tc,
PixelBuffer pb
[virtual]
 

Implements GraphicsStateGuardianBase.

Definition at line 1826 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::get_render_buffer(), NULL, pb, GraphicsStateGuardian::pop_frame_buffer(), PT(), GraphicsStateGuardian::push_frame_buffer(), RenderBuffer::T_back, RenderBuffer::T_depth, tc, tex, and w.

bool CRGraphicsStateGuardian::wants_normals void   )  const [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2389 of file crGraphicsStateGuardian.cxx.

References GraphicsStateGuardian::_lighting_enabled, and GraphicsStateGuardian::_normals_enabled.

Referenced by draw_polygon(), draw_quad(), draw_sphere(), draw_tri(), draw_trifan(), and draw_tristrip().

bool CRGraphicsStateGuardian::wants_texcoords void   )  const [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 2399 of file crGraphicsStateGuardian.cxx.

References _texturing_enabled.

Referenced by draw_sphere().


Member Data Documentation

GLenum CRGraphicsStateGuardian::_alpha_func [protected]
 

Definition at line 299 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampf CRGraphicsStateGuardian::_alpha_func_ref [protected]
 

Definition at line 300 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_alpha_test_enabled [protected]
 

Definition at line 319 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLenum CRGraphicsStateGuardian::_blend_dest_func [protected]
 

Definition at line 292 of file crGraphicsStateGuardian.h.

bool CRGraphicsStateGuardian::_blend_enabled [protected]
 

Definition at line 315 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLenum CRGraphicsStateGuardian::_blend_source_func [protected]
 

Definition at line 291 of file crGraphicsStateGuardian.h.

GLclampf CRGraphicsStateGuardian::_clear_accum_alpha [protected]
 

Definition at line 267 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampf CRGraphicsStateGuardian::_clear_accum_blue [protected]
 

Definition at line 267 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampf CRGraphicsStateGuardian::_clear_accum_green [protected]
 

Definition at line 267 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampf CRGraphicsStateGuardian::_clear_accum_red [protected]
 

Definition at line 267 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampf CRGraphicsStateGuardian::_clear_color_alpha [protected]
 

Definition at line 263 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampf CRGraphicsStateGuardian::_clear_color_blue [protected]
 

Definition at line 263 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampf CRGraphicsStateGuardian::_clear_color_green [protected]
 

Definition at line 263 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampf CRGraphicsStateGuardian::_clear_color_red [protected]
 

Definition at line 263 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLclampd CRGraphicsStateGuardian::_clear_depth [protected]
 

Definition at line 265 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLint CRGraphicsStateGuardian::_clear_stencil [protected]
 

Definition at line 266 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool* CRGraphicsStateGuardian::_clip_plane_enabled [protected]
 

Definition at line 330 of file crGraphicsStateGuardian.h.

Referenced by CRGraphicsStateGuardian(), free_pointers(), and reset().

bool* CRGraphicsStateGuardian::_cur_clip_plane_enabled [protected]
 

Definition at line 331 of file crGraphicsStateGuardian.h.

Referenced by CRGraphicsStateGuardian(), free_pointers(), and reset().

int CRGraphicsStateGuardian::_cur_clip_plane_id [protected]
 

Definition at line 332 of file crGraphicsStateGuardian.h.

int CRGraphicsStateGuardian::_cur_light_id [protected]
 

Definition at line 323 of file crGraphicsStateGuardian.h.

LMatrix4f CRGraphicsStateGuardian::_current_projection_mat [protected]
 

Definition at line 325 of file crGraphicsStateGuardian.h.

Referenced by reset().

int CRGraphicsStateGuardian::_decal_level [protected]
 

Definition at line 321 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLboolean CRGraphicsStateGuardian::_depth_mask [protected]
 

Definition at line 293 of file crGraphicsStateGuardian.h.

Referenced by clear(), and reset().

bool CRGraphicsStateGuardian::_depth_test_enabled [protected]
 

Definition at line 316 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_dither_enabled [protected]
 

Definition at line 311 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_dithering_enabled [protected]
 

Definition at line 318 of file crGraphicsStateGuardian.h.

Referenced by draw_sprite(), and reset().

GLenum CRGraphicsStateGuardian::_draw_buffer_mode [protected]
 

Definition at line 269 of file crGraphicsStateGuardian.h.

Referenced by reset().

Colorf CRGraphicsStateGuardian::_fog_color [protected]
 

Definition at line 298 of file crGraphicsStateGuardian.h.

GLfloat CRGraphicsStateGuardian::_fog_density [protected]
 

Definition at line 297 of file crGraphicsStateGuardian.h.

bool CRGraphicsStateGuardian::_fog_enabled [protected]
 

Definition at line 317 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLfloat CRGraphicsStateGuardian::_fog_end [protected]
 

Definition at line 296 of file crGraphicsStateGuardian.h.

GLint CRGraphicsStateGuardian::_fog_mode [protected]
 

Definition at line 294 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLfloat CRGraphicsStateGuardian::_fog_start [protected]
 

Definition at line 295 of file crGraphicsStateGuardian.h.

bool CRGraphicsStateGuardian::_line_smooth_enabled [protected]
 

Definition at line 307 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLfloat CRGraphicsStateGuardian::_line_width [protected]
 

Definition at line 289 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLboolean CRGraphicsStateGuardian::_lmodel_local [protected]
 

Definition at line 280 of file crGraphicsStateGuardian.h.

GLboolean CRGraphicsStateGuardian::_lmodel_twoside [protected]
 

Definition at line 281 of file crGraphicsStateGuardian.h.

Colorf CRGraphicsStateGuardian::_material_ambient [protected]
 

Definition at line 282 of file crGraphicsStateGuardian.h.

Colorf CRGraphicsStateGuardian::_material_diffuse [protected]
 

Definition at line 283 of file crGraphicsStateGuardian.h.

Colorf CRGraphicsStateGuardian::_material_emission [protected]
 

Definition at line 286 of file crGraphicsStateGuardian.h.

float CRGraphicsStateGuardian::_material_shininess [protected]
 

Definition at line 285 of file crGraphicsStateGuardian.h.

Colorf CRGraphicsStateGuardian::_material_specular [protected]
 

Definition at line 284 of file crGraphicsStateGuardian.h.

int CRGraphicsStateGuardian::_max_clip_planes [protected]
 

Definition at line 328 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_multisample_alpha_mask_enabled [protected]
 

Definition at line 314 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_multisample_alpha_one_enabled [protected]
 

Definition at line 313 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_multisample_enabled [protected]
 

Definition at line 306 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLint CRGraphicsStateGuardian::_pack_alignment [protected]
 

Definition at line 303 of file crGraphicsStateGuardian.h.

Referenced by reset().

int CRGraphicsStateGuardian::_pass_number [protected]
 

Definition at line 336 of file crGraphicsStateGuardian.h.

GLfloat CRGraphicsStateGuardian::_point_size [protected]
 

Definition at line 290 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_point_smooth_enabled [protected]
 

Definition at line 308 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLenum CRGraphicsStateGuardian::_polygon_mode [protected]
 

Definition at line 301 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_polygon_offset_enabled [protected]
 

Definition at line 320 of file crGraphicsStateGuardian.h.

Referenced by reset().

int CRGraphicsStateGuardian::_projection_mat_stack_count [protected]
 

Definition at line 326 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLenum CRGraphicsStateGuardian::_read_buffer_mode [protected]
 

Definition at line 270 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_scissor_enabled [protected]
 

Definition at line 309 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLsizei CRGraphicsStateGuardian::_scissor_height [protected]
 

Definition at line 275 of file crGraphicsStateGuardian.h.

GLsizei CRGraphicsStateGuardian::_scissor_width [protected]
 

Definition at line 274 of file crGraphicsStateGuardian.h.

GLint CRGraphicsStateGuardian::_scissor_x [protected]
 

Definition at line 272 of file crGraphicsStateGuardian.h.

GLint CRGraphicsStateGuardian::_scissor_y [protected]
 

Definition at line 273 of file crGraphicsStateGuardian.h.

GLenum CRGraphicsStateGuardian::_shade_model_mode [protected]
 

Definition at line 271 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLenum CRGraphicsStateGuardian::_stencil_func [protected]
 

Definition at line 287 of file crGraphicsStateGuardian.h.

Referenced by reset().

GLenum CRGraphicsStateGuardian::_stencil_op [protected]
 

Definition at line 288 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_stencil_test_enabled [protected]
 

Definition at line 312 of file crGraphicsStateGuardian.h.

Referenced by reset().

bool CRGraphicsStateGuardian::_texturing_enabled [protected]
 

Definition at line 310 of file crGraphicsStateGuardian.h.

Referenced by prepare_geom_node(), reset(), and wants_texcoords().

TypeHandle CRGraphicsStateGuardian::_type_handle [static, private]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 83 of file crGraphicsStateGuardian.cxx.

Referenced by get_class_type(), and init_type().

GLint CRGraphicsStateGuardian::_unpack_alignment [protected]
 

Definition at line 304 of file crGraphicsStateGuardian.h.

Referenced by reset().

PStatCollector CRGraphicsStateGuardian::_vertices_display_list_pcollector [static]
 

Definition at line 347 of file crGraphicsStateGuardian.h.

Referenced by draw_geom_node().

GLsizei CRGraphicsStateGuardian::_viewport_height [protected]
 

Definition at line 279 of file crGraphicsStateGuardian.h.

GLsizei CRGraphicsStateGuardian::_viewport_width [protected]
 

Definition at line 278 of file crGraphicsStateGuardian.h.

GLint CRGraphicsStateGuardian::_viewport_x [protected]
 

Definition at line 276 of file crGraphicsStateGuardian.h.

GLint CRGraphicsStateGuardian::_viewport_y [protected]
 

Definition at line 277 of file crGraphicsStateGuardian.h.


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