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

DXGraphicsStateGuardian7 Class Reference

#include <dxGraphicsStateGuardian7.h>

Inheritance diagram for DXGraphicsStateGuardian7:

GraphicsStateGuardian GraphicsStateGuardianBase TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 DXGraphicsStateGuardian7 (const FrameBufferProperties &properties)
 ~DXGraphicsStateGuardian7 ()
virtual void reset ()
virtual void do_clear (const RenderBuffer &buffer)
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)
void draw_linestrip_base (Geom *geom, GeomContext *gc, bool bConnectEnds)
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 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 TextureContextprepare_texture (Texture *tex)
virtual void apply_texture (TextureContext *tc)
virtual void release_texture (TextureContext *tc)
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 apply_material (const Material *material)
virtual 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_alpha_test (const AlphaTestAttrib *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 begin_scene ()
virtual void end_scene ()
virtual void end_frame ()
virtual bool wants_normals (void) const
virtual bool wants_texcoords (void) const
virtual bool depth_offset_decals ()
virtual CoordinateSystem get_internal_coordinate_system () const
INLINE float compute_distance_to (const LPoint3f &point) const
virtual void set_color_clear_value (const Colorf &value)
virtual TypeHandle get_type (void) const
virtual TypeHandle force_init_type ()
void adjust_view_rect (int x, int y)
INLINE void SetDXReady (bool stat)
INLINE bool GetDXReady (void)
void DXGraphicsStateGuardian7::SetTextureBlendMode (TextureApplyAttrib::Mode TexBlendMode, bool bJustEnable)
void dx_cleanup (bool bRestoreDisplayMode, bool bAtExitFnCalled)
bool CheckCooperativeLevel (bool bDoReactivateWindow=false)
void dx_setup_after_resize (RECT *pViewRect)
void show_frame ()
void show_full_screen_frame ()
void show_windowed_frame ()
void support_overlay_window (bool flag)
void dx_init (void)

Static Public Member Functions

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

Public Attributes

DXScreenData_pScrn
LPDIRECT3DDEVICE7 _pD3DDevice
LPDDPIXELFORMAT _pTexPixFmts
int _cNumTexPixFmts

Protected Types

enum  DxgsgFogType { None, PerVertexFog = D3DRENDERSTATE_FOGVERTEXMODE, PerPixelFog = D3DRENDERSTATE_FOGTABLEMODE }

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 bool slot_new_clip_plane (int plane_id)
virtual void enable_clip_plane (int plane_id, bool enable)
virtual void bind_clip_plane (PlaneNode *plane, int plane_id)
virtual void set_blend_mode (ColorWriteAttrib::Mode color_write_mode, ColorBlendAttrib::Mode color_blend_mode, TransparencyAttrib::Mode transparency_mode)
void free_pointers ()
void free_dxgsg_objects (void)
virtual PT (SavedFrameBuffer) save_frame_buffer(const RenderBuffer &buffer
virtual CPT (DisplayRegion) dr)
virtual void restore_frame_buffer (SavedFrameBuffer *frame_buffer)
void set_draw_buffer (const RenderBuffer &rb)
void set_read_buffer (const RenderBuffer &rb)
INLINE void add_to_FVFBuf (void *data, size_t bytes)
void GenerateSphere (void *pVertexSpace, DWORD dwVertSpaceByteSize, void *pIndexSpace, DWORD dwIndexSpaceByteSize, D3DVECTOR *pCenter, float fRadius, DWORD wNumRings, DWORD wNumSections, float sx, float sy, float sz, DWORD *pNumVertices, DWORD *pNumIndices, DWORD fvfFlags, DWORD dwVertSize)
HRESULT RestoreAllVideoSurfaces (void)
HRESULT RecreateAllVideoSurfaces (void)
HRESULT DeleteAllVideoSurfaces (void)
INLINE void enable_color_material (bool val)
INLINE void enable_fog (bool val)
INLINE void enable_zwritemask (bool val)
INLINE void set_shademode (D3DSHADEMODE val)
INLINE D3DTEXTUREADDRESS get_texture_wrap_mode (Texture::WrapMode wm) const
INLINE D3DFOGMODE get_fog_mode_type (Fog::Mode m) const
INLINE void enable_primitive_clipping (bool val)
INLINE void enable_alpha_test (bool val)
INLINE void enable_line_smooth (bool val)
INLINE void enable_blend (bool val)
INLINE void enable_point_smooth (bool val)
INLINE void enable_texturing (bool val)
INLINE void call_dxLightModelAmbient (const Colorf &color)
INLINE void call_dxAlphaFunc (D3DCMPFUNC func, float ref)
INLINE void call_dxBlendFunc (D3DBLEND sfunc, D3DBLEND dfunc)
INLINE void enable_dither (bool val)
INLINE void enable_stencil_test (bool val)
void report_texmgr_stats ()
void draw_multitri (Geom *geom, D3DPRIMITIVETYPE tri_id)
void set_context (DXScreenData *pNewContextData)
void draw_prim_inner_loop (int nVerts, const Geom *geom, ushort perFlags)
void draw_prim_inner_loop_coordtexonly (int nVerts, const Geom *geom)
size_t draw_prim_setup (const Geom *geom)
 CPT (DisplayRegion) _actual_display_region
INLINE void transform_color (Colorf &InColor, D3DCOLOR &OutColor)

Protected Attributes

BYTE * _pCurFvfBufPtr
BYTE * _pFvfBufBasePtr
WORD * _index_buf
bool _dx_ready
HRESULT _last_testcooplevel_result
HDC _front_hdc
DXTextureContext7_pCurTexContext
bool _bTransformIssued
D3DMATRIX _SavedTransform
RenderBuffer::Type _cur_read_pixel_buffer
Normalf p_normal
TexCoordf p_texcoord
D3DCOLOR _curD3Dcolor
DWORD _curFVFflags
DWORD _perPrim
DWORD _perVertex
DWORD _perComp
D3DCOLOR _scene_graph_color_D3DCOLOR
D3DCOLOR _d3dcolor_clear_value
D3DSHADEMODE _CurShadeMode
bool _bDrawPrimDoSetupVertexBuffer
DXGeomNodeContext7_pCurrentGeomContext
Geom::VertexIterator vi
Geom::NormalIterator ni
Geom::TexCoordIterator ti
Geom::ColorIterator ci
Vertexf_coord_array
Vertexf_pCurCoord
ushort_coordindex_array
ushort_pCurCoordIndex
TexCoordf_texcoord_array
TexCoordf_pCurTexCoord
ushort_texcoordindex_array
ushort_pCurTexCoordIndex
Colorf _lmodel_ambient
float _material_ambient
float _material_diffuse
float _material_specular
float _material_shininess
float _material_emission
DxgsgFogType _doFogType
bool _fog_enabled
float _alpha_func_refval
D3DCMPFUNC _alpha_func
D3DBLEND _blend_source_func
D3DBLEND _blend_dest_func
bool _line_smooth_enabled
bool * _light_enabled
bool _color_material_enabled
bool _texturing_enabled
bool _clipping_enabled
bool _dither_enabled
bool _stencil_test_enabled
bool _blend_enabled
bool _depth_test_enabled
bool _depth_write_enabled
bool _alpha_test_enabled
DWORD _clip_plane_bits
RenderModeAttrib::Mode _current_fill_mode
TextureApplyAttrib::Mode _CurTexBlendMode
D3DTEXTUREMAGFILTER _CurTexMagFilter
D3DTEXTUREMINFILTER _CurTexMinFilter
D3DTEXTUREMIPFILTER _CurTexMipFilter
DWORD _CurTexAnisoDegree
Texture::WrapMode _CurTexWrapModeU
Texture::WrapMode _CurTexWrapModeV
LMatrix4f _current_projection_mat
int _projection_mat_stack_count
bool _overlay_windows_supported

Static Private Attributes

TypeHandle _type_handle

Friends

class wdxGraphicsWindow7
class wdxGraphicsPipe7
class wdxGraphicsWindow7Group
class DXTextureContext7
HRESULT CALLBACK EnumTexFmtsCallback (LPDDPIXELFORMAT pddpf, VOID *param)

Member Enumeration Documentation

enum DXGraphicsStateGuardian7::DxgsgFogType [protected]
 

Enumeration values:
None 
PerVertexFog 
PerPixelFog 

Definition at line 276 of file dxGraphicsStateGuardian7.h.


Constructor & Destructor Documentation

DXGraphicsStateGuardian7::DXGraphicsStateGuardian7 const FrameBufferProperties properties  ) 
 

Definition at line 231 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::_buffer_mask, GraphicsStateGuardian::_color_clear_value, _cur_read_pixel_buffer, _dx_ready, _index_buf, _overlay_windows_supported, _pCurFvfBufPtr, _pFvfBufBasePtr, _pScrn, matIdentity, NULL, GraphicsStateGuardian::reset(), set_color_clear_value(), RenderBuffer::T_back, RenderBuffer::T_color, RenderBuffer::T_depth, RenderBuffer::T_front, and VERT_BUFFER_SIZE.

DXGraphicsStateGuardian7::~DXGraphicsStateGuardian7  ) 
 

Definition at line 279 of file dxGraphicsStateGuardian7.cxx.

References _index_buf, _pCurTexContext, _pFvfBufBasePtr, free_pointers(), NULL, and SAFE_DELETE_ARRAY.


Member Function Documentation

INLINE void DXGraphicsStateGuardian7::add_to_FVFBuf void *  data,
size_t  bytes
[protected]
 

Definition at line 1009 of file dxGraphicsStateGuardian7.cxx.

References _pCurFvfBufPtr, and data.

Referenced by draw_prim_inner_loop(), draw_sprite(), and GenerateSphere().

void DXGraphicsStateGuardian7::adjust_view_rect int  x,
int  y
 

Referenced by prepare_texture().

virtual void DXGraphicsStateGuardian7::apply_fog Fog fog  )  [virtual]
 

Referenced by prepare_texture().

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

Implements GraphicsStateGuardianBase.

Referenced by prepare_texture().

virtual void DXGraphicsStateGuardian7::apply_texture TextureContext tc  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

virtual bool DXGraphicsStateGuardian7::begin_scene  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

virtual void DXGraphicsStateGuardian7::bind_clip_plane PlaneNode plane,
int  plane_id
[protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardian.

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

Reimplemented from GraphicsStateGuardian.

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

INLINE void DXGraphicsStateGuardian7::call_dxAlphaFunc D3DCMPFUNC  func,
float  ref
[protected]
 

Referenced by prepare_texture().

INLINE void DXGraphicsStateGuardian7::call_dxBlendFunc D3DBLEND  sfunc,
D3DBLEND  dfunc
[protected]
 

Referenced by prepare_texture().

INLINE void DXGraphicsStateGuardian7::call_dxLightModelAmbient const Colorf color  )  [protected]
 

bool DXGraphicsStateGuardian7::CheckCooperativeLevel bool  bDoReactivateWindow = false  ) 
 

Referenced by prepare_texture().

INLINE float DXGraphicsStateGuardian7::compute_distance_to const LPoint3f &  point  )  const [virtual]
 

Implements GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Implements GraphicsStateGuardianBase.

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

Implements GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Implements GraphicsStateGuardianBase.

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

Implements GraphicsStateGuardianBase.

Referenced by prepare_texture().

DXGraphicsStateGuardian7::CPT DisplayRegion   )  [protected, virtual]
 

Implements GraphicsStateGuardian.

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

Implements GraphicsStateGuardian.

Referenced by dx_init().

HRESULT DXGraphicsStateGuardian7::DeleteAllVideoSurfaces void   )  [protected]
 

Referenced by free_dxgsg_objects(), and prepare_texture().

virtual bool DXGraphicsStateGuardian7::depth_offset_decals  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

void DXGraphicsStateGuardian7::do_clear const RenderBuffer buffer  )  [virtual]
 

Implements GraphicsStateGuardian.

Definition at line 716 of file dxGraphicsStateGuardian7.cxx.

References _d3dcolor_clear_value, GraphicsStateGuardian::_depth_clear_value, _pScrn, GraphicsStateGuardian::_stencil_clear_value, buffer, ConvD3DErrorToString(), NULL, DXScreenData::pD3DDevice, DXScreenData::pddsZBuf, RenderBuffer::T_back, RenderBuffer::T_depth, and RenderBuffer::T_stencil.

Referenced by dx_init().

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

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

Implements GraphicsStateGuardianBase.

Definition at line 1436 of file dxGraphicsStateGuardian7.cxx.

References _bDrawPrimDoSetupVertexBuffer, _curFVFflags, GraphicsStateGuardian::_draw_primitive_pcollector, _pCurFvfBufPtr, _perComp, _perPrim, _perVertex, _pFvfBufBasePtr, _pScrn, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), BOOL(), DO_PSTATS_STUFF, draw_prim_inner_loop(), draw_prim_setup(), DrawPrim, G_COLOR, G_NORMAL, G_PER_COMPONENT, G_PER_VERTEX, Geom::get_next_normal(), Geom::get_num_prims(), Geom::get_num_vertices(), GeomLine::get_width(), ni, NULL, p_normal, DXScreenData::pD3DDevice, DXScreenData::pDD, PER_COLOR, PER_NORMAL, TestDrawPrimFailure(), and VERT_BUFFER_SIZE.

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

Implements GraphicsStateGuardianBase.

Definition at line 1532 of file dxGraphicsStateGuardian7.cxx.

References BOOL(), draw_linestrip_base(), and GeomLinestrip::get_width().

void DXGraphicsStateGuardian7::draw_linestrip_base Geom geom,
GeomContext gc,
bool  bConnectEnds
 

Definition at line 1553 of file dxGraphicsStateGuardian7.cxx.

References _bDrawPrimDoSetupVertexBuffer, _curFVFflags, GraphicsStateGuardian::_draw_primitive_pcollector, _pCurFvfBufPtr, _perComp, _perPrim, _perVertex, _pFvfBufBasePtr, _pScrn, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), DO_PSTATS_STUFF, draw_prim_inner_loop(), draw_prim_setup(), DrawPrim, G_COLOR, G_NORMAL, G_PER_COMPONENT, G_PER_VERTEX, Geom::get_lengths(), Geom::get_next_normal(), Geom::get_num_prims(), Geom::get_num_vertices(), ni, NULL, p_normal, DXScreenData::pD3DDevice, DXScreenData::pDD, PER_COLOR, PER_NORMAL, TestDrawPrimFailure(), ushort, and VERT_BUFFER_SIZE.

Referenced by draw_linestrip(), draw_polygon(), and draw_quad().

void DXGraphicsStateGuardian7::draw_multitri Geom geom,
D3DPRIMITIVETYPE  tri_id
[protected]
 

Definition at line 2517 of file dxGraphicsStateGuardian7.cxx.

References _bDrawPrimDoSetupVertexBuffer, GraphicsStateGuardian::_color_transform_enabled, _curFVFflags, _index_buf, _pCurFvfBufPtr, _perComp, _perPrim, _perVertex, _pFvfBufBasePtr, _pScrn, GraphicsStateGuardian::_scene_graph_color, _texturing_enabled, GraphicsStateGuardian::_vertex_colors_enabled, Colorf, Colorf_to_D3DCOLOR(), draw_prim_inner_loop(), draw_prim_inner_loop_coordtexonly(), draw_prim_setup(), DrawPrim, DrawPrimStrided, G_COORD, G_OFF, G_OVERALL, G_PER_COMPONENT, G_PER_PRIM, G_PER_VERTEX, GeomBindType, Geom::get_colors(), Geom::get_coords(), Geom::get_lengths(), Geom::get_next_normal(), Geom::get_normals(), Geom::get_num_more_vertices_than_components(), Geom::get_num_prims(), Geom::get_texcoords(), ni, Normalf, NULL, p_normal, DXScreenData::pD3DDevice, DXScreenData::pDD, PER_COLOR, PER_NORMAL, PER_TEXCOORD, set_shademode(), TestDrawPrimFailure(), transform_color(), uint, Geom::uses_components(), VERT_BUFFER_SIZE, VOID(), and wants_normals().

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

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

Implements GraphicsStateGuardianBase.

Definition at line 1290 of file dxGraphicsStateGuardian7.cxx.

References _bDrawPrimDoSetupVertexBuffer, GraphicsStateGuardian::_color_transform_enabled, _curFVFflags, GraphicsStateGuardian::_draw_primitive_pcollector, _pCurFvfBufPtr, _perPrim, _perVertex, _pFvfBufBasePtr, _pScrn, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), BOOL(), Colorf, Colorf_to_D3DCOLOR(), DO_PSTATS_STUFF, draw_prim_inner_loop(), draw_prim_setup(), DrawPrim, DrawPrimStrided, FlatVerts, G_COLOR, G_NORMAL, G_PER_VERTEX, GeomBindType, GeomVertFormat, Geom::get_colors(), Geom::get_coords(), Geom::get_normals(), Geom::get_num_prims(), Geom::get_num_vertices(), GeomPoint::get_size(), Geom::get_texcoords(), IndexedVerts, MixedFmtVerts, NULL, DXScreenData::pD3DDevice, DXScreenData::pDD, PER_COLOR, PER_NORMAL, TestDrawPrimFailure(), transform_color(), VERT_BUFFER_SIZE, and VOID().

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

Implements GraphicsStateGuardianBase.

Definition at line 2061 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::_draw_primitive_pcollector, _pScrn, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), DO_PSTATS_STUFF, draw_linestrip_base(), draw_multitri(), Geom::get_num_vertices(), and DXScreenData::pD3DDevice.

void DXGraphicsStateGuardian7::draw_prim_inner_loop int  nVerts,
const Geom geom,
ushort  perFlags
[protected]
 

Definition at line 1179 of file dxGraphicsStateGuardian7.cxx.

References _curD3Dcolor, _curFVFflags, add_to_FVFBuf(), Color_TexCoord, ColorOnly, DrawLoopFlags, Normal_Color, Normal_Color_TexCoord, Normal_TexCoord, NormalOnly, p_normal, p_texcoord, TexCoordf, TexCoordOnly, and Vertexf.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), and draw_tri().

void DXGraphicsStateGuardian7::draw_prim_inner_loop_coordtexonly int  nVerts,
const Geom geom
[protected]
 

Definition at line 1227 of file dxGraphicsStateGuardian7.cxx.

References _coord_array, _coordindex_array, _curD3Dcolor, _pCurCoord, _pCurCoordIndex, _pCurFvfBufPtr, _pCurTexCoord, _pCurTexCoordIndex, _texcoord_array, _texcoordindex_array, G_COLOR, G_NORMAL, G_OFF, G_PER_COMPONENT, G_PER_VERTEX, G_TEXCOORD, GeomBindType, NULL, TexCoordf, ushort, and Vertexf.

Referenced by draw_multitri(), and draw_tri().

size_t DXGraphicsStateGuardian7::draw_prim_setup const Geom geom  )  [protected]
 

Definition at line 1048 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::_color_transform_enabled, _coord_array, _coordindex_array, _curD3Dcolor, _curFVFflags, _fog_enabled, GraphicsStateGuardian::_has_scene_graph_color, _pCurCoord, _pCurCoordIndex, _pCurTexCoord, _pCurTexCoordIndex, _perComp, _perPrim, _perVertex, GraphicsStateGuardian::_scene_graph_color, _scene_graph_color_D3DCOLOR, GraphicsStateGuardian::_scene_graph_color_stale, _texcoord_array, _texcoordindex_array, ci, Colorf_to_D3DCOLOR(), G_COLOR, G_COORD, G_NORMAL, G_OFF, G_OVERALL, G_PER_VERTEX, GeomBindType, Geom::get_coords(), Geom::get_next_normal(), Geom::get_texcoords(), Geom::make_color_iterator(), Geom::make_normal_iterator(), Geom::make_texcoord_iterator(), Geom::make_vertex_iterator(), ni, NULL, p_normal, PER_COLOR, PER_NORMAL, set_shademode(), ti, transform_color(), vi, and wants_normals().

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), draw_sphere(), and draw_tri().

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

Implements GraphicsStateGuardianBase.

Definition at line 2085 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::_draw_primitive_pcollector, _pScrn, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), DO_PSTATS_STUFF, draw_linestrip_base(), draw_multitri(), Geom::get_num_vertices(), and DXScreenData::pD3DDevice.

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

Implements GraphicsStateGuardianBase.

Definition at line 3215 of file dxGraphicsStateGuardian7.cxx.

References _curFVFflags, GraphicsStateGuardian::_draw_primitive_pcollector, _index_buf, _pCurFvfBufPtr, _perComp, _perPrim, _perVertex, _pFvfBufBasePtr, _pScrn, GraphicsStateGuardian::_vertices_other_pcollector, PStatCollector::add_level(), ci, DO_PSTATS_STUFF, dot(), draw_prim_setup(), DrawIndexedPrim, G_COLOR, G_PER_PRIM, GenerateSphere(), Geom::get_next_vertex(), Geom::get_num_prims(), Geom::get_num_vertices(), Geom::make_color_iterator(), Geom::make_vertex_iterator(), NULL, DXScreenData::pD3DDevice, DXScreenData::pDD, TestDrawPrimFailure(), v, VERT_BUFFER_SIZE, Vertexf, and vi.

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

Implements GraphicsStateGuardianBase.

Definition at line 1681 of file dxGraphicsStateGuardian7.cxx.

References WrappedSprite::_c, _curD3Dcolor, _curFVFflags, GraphicsStateGuardian::_draw_primitive_pcollector, _fog_enabled, _index_buf, _pCurFvfBufPtr, _pFvfBufBasePtr, _pScrn, 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(), add_to_FVFBuf(), alpha, ci, Colorf, DO_PSTATS_STUFF, DrawIndexedPrim, enable_dither(), G_COLOR, G_OFF, G_OVERALL, G_PER_VERTEX, GeomSprite::get_alpha_disable(), GeomSprite::get_ll_uv(), TransparencyAttrib::get_mode(), Geom::get_next_vertex(), Geom::get_num_prims(), 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(), matIdentity, GraphicsStateGuardian::modify_state(), NULL, DXScreenData::pD3DDevice, DXScreenData::pDD, WrappedSpriteSortPtr::pSpr, set_shademode(), TestDrawPrimFailure(), tex, VERT_BUFFER_SIZE, Vertexf, vi, x, y, z, and WrappedSpriteSortPtr::z.

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

Implements GraphicsStateGuardianBase.

Definition at line 2109 of file dxGraphicsStateGuardian7.cxx.

References _bDrawPrimDoSetupVertexBuffer, _curFVFflags, GraphicsStateGuardian::_draw_primitive_pcollector, _pCurFvfBufPtr, _pCurTexContext, _perPrim, _perVertex, _pFvfBufBasePtr, _pScrn, DXTextureContext7::_tex, GraphicsStateGuardian::_vertices_tri_pcollector, PStatCollector::add_level(), DO_PSTATS_STUFF, draw_prim_inner_loop(), draw_prim_inner_loop_coordtexonly(), draw_prim_setup(), DrawPrim, G_OFF, G_PER_PRIM, G_PER_VERTEX, GeomBindType, Geom::get_colors(), Geom::get_coords(), Geom::get_next_normal(), Geom::get_normals(), Geom::get_num_prims(), Geom::get_num_vertices(), Geom::get_texcoords(), ni, NULL, p_normal, DXScreenData::pD3DDevice, DXScreenData::pDD, PER_COLOR, PER_NORMAL, PER_TEXCOORD, TestDrawPrimFailure(), uint, and VERT_BUFFER_SIZE.

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

Implements GraphicsStateGuardianBase.

Definition at line 2500 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_trifan_pcollector, PStatCollector::add_level(), DO_PSTATS_STUFF, draw_multitri(), and Geom::get_num_vertices().

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

Implements GraphicsStateGuardianBase.

Definition at line 2483 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::_draw_primitive_pcollector, GraphicsStateGuardian::_vertices_tristrip_pcollector, PStatCollector::add_level(), DO_PSTATS_STUFF, draw_multitri(), and Geom::get_num_vertices().

void DXGraphicsStateGuardian7::dx_cleanup bool  bRestoreDisplayMode,
bool  bAtExitFnCalled
 

Referenced by prepare_texture().

void DXGraphicsStateGuardian7::dx_init void   ) 
 

Definition at line 371 of file dxGraphicsStateGuardian7.cxx.

References _alpha_func, _alpha_func_refval, _alpha_test_enabled, _bDrawPrimDoSetupVertexBuffer, _blend_dest_func, _blend_enabled, _blend_source_func, _clip_plane_bits, _clipping_enabled, _cNumTexPixFmts, _color_material_enabled, _current_fill_mode, _current_projection_mat, _CurShadeMode, _CurTexAnisoDegree, _CurTexBlendMode, _CurTexMagFilter, _CurTexMinFilter, _CurTexMipFilter, _CurTexWrapModeU, _CurTexWrapModeV, _depth_test_enabled, _depth_write_enabled, _dither_enabled, _doFogType, _fog_enabled, GraphicsStateGuardian::_has_scene_graph_color, _last_testcooplevel_result, GraphicsStateGuardian::_lighting_enabled, _line_smooth_enabled, _lmodel_ambient, GraphicsStateGuardian::_normals_enabled, _pCurrentGeomContext, _pCurTexContext, _projection_mat_stack_count, _pScrn, _pTexPixFmts, _stencil_test_enabled, _texturing_enabled, DXScreenData::clip_rect, Colorf, ConvD3DErrorToString(), CPT(), DXScreenData::D3DDevDesc, do_clear(), dx_decal_type, DX_DECLARE_CLEAN, dx_force_backface_culling, dx_ignore_mipmaps, dx_no_dithering, dx_use_rangebased_fog, enable_line_smooth(), EnumTexFmtsCallback(), GDT_blend, GDT_mask, GDT_offset, get_texture_wrap_mode(), CullFaceAttrib::M_cull_clockwise, RenderAttrib::M_less, DepthWriteAttrib::M_on, MAX_DX_TEXPIXFMTS, None, NULL, DXScreenData::pD3D, DXScreenData::pD3DDevice, DXScreenData::pDD, DXScreenData::pddsBack, DXScreenData::pddsPrimary, PerPixelFog, PerVertexFog, and Texture::WM_clamp.

Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device().

void DXGraphicsStateGuardian7::dx_setup_after_resize RECT *  pViewRect  ) 
 

Referenced by wdxGraphicsWindow7::handle_reshape(), and prepare_texture().

void DXGraphicsStateGuardian7::DXGraphicsStateGuardian7::SetTextureBlendMode TextureApplyAttrib::Mode  TexBlendMode,
bool  bJustEnable
 

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

Referenced by prepare_texture().

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

Referenced by prepare_texture().

virtual void DXGraphicsStateGuardian7::enable_clip_plane int  plane_id,
bool  enable
[protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

INLINE void DXGraphicsStateGuardian7::enable_color_material bool  val  )  [protected]
 

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

Referenced by draw_sprite().

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

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

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

Referenced by dx_init().

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

INLINE void DXGraphicsStateGuardian7::enable_primitive_clipping bool  val  )  [protected]
 

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

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

Referenced by prepare_texture().

INLINE void DXGraphicsStateGuardian7::enable_zwritemask bool  val  )  [protected]
 

Referenced by prepare_texture().

virtual void DXGraphicsStateGuardian7::end_frame  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

virtual void DXGraphicsStateGuardian7::end_scene  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardian.

Definition at line 343 of file dxGraphicsStateGuardian7.h.

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

void DXGraphicsStateGuardian7::free_dxgsg_objects void   )  [protected]
 

Definition at line 324 of file dxGraphicsStateGuardian7.cxx.

References _dx_ready, _pScrn, DeleteAllVideoSurfaces(), free_pointers(), NULL, DXScreenData::pD3DDevice, DXScreenData::pddsBack, DXScreenData::pddsPrimary, DXScreenData::pddsZBuf, RELEASE, RELEASE_DOWN_TO_ZERO, and GraphicsStateGuardian::set_state().

Referenced by wdxGraphicsWindow7::do_fullscreen_resize().

void DXGraphicsStateGuardian7::free_pointers  )  [protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by free_dxgsg_objects(), prepare_texture(), and ~DXGraphicsStateGuardian7().

void DXGraphicsStateGuardian7::GenerateSphere void *  pVertexSpace,
DWORD  dwVertSpaceByteSize,
void *  pIndexSpace,
DWORD  dwIndexSpaceByteSize,
D3DVECTOR *  pCenter,
float  fRadius,
DWORD  wNumRings,
DWORD  wNumSections,
float  sx,
float  sy,
float  sz,
DWORD *  pNumVertices,
DWORD *  pNumIndices,
DWORD  fvfFlags,
DWORD  dwVertSize
[protected]
 

Definition at line 2976 of file dxGraphicsStateGuardian7.cxx.

References _curD3Dcolor, _pCurFvfBufPtr, add_to_FVFBuf(), csincos(), TexCoordf, VERT_BUFFER_SIZE, x, y, and z.

Referenced by draw_sphere().

TypeHandle DXGraphicsStateGuardian7::get_class_type void   )  [static]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

INLINE D3DFOGMODE DXGraphicsStateGuardian7::get_fog_mode_type Fog::Mode  m  )  const [protected]
 

Referenced by prepare_texture().

virtual CoordinateSystem DXGraphicsStateGuardian7::get_internal_coordinate_system  )  const [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

INLINE D3DTEXTUREADDRESS DXGraphicsStateGuardian7::get_texture_wrap_mode Texture::WrapMode  wm  )  const [protected]
 

Referenced by dx_init(), and prepare_texture().

virtual TypeHandle DXGraphicsStateGuardian7::get_type void   )  const [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

INLINE bool DXGraphicsStateGuardian7::GetDXReady void   )  [inline]
 

Definition at line 347 of file dxGraphicsStateGuardian7.h.

void DXGraphicsStateGuardian7::init_type void   )  [static]
 

Reimplemented from GraphicsStateGuardian.

Referenced by init_libdxgsg7(), and prepare_texture().

virtual void DXGraphicsStateGuardian7::issue_alpha_test const AlphaTestAttrib attrib  )  [virtual]
 

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardianBase.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

GraphicsStateGuardian* DXGraphicsStateGuardian7::make_DXGraphicsStateGuardian const FactoryParams params  )  [static]
 

void DXGraphicsStateGuardian7::prepare_display_region  )  [virtual]
 

Implements GraphicsStateGuardian.

Definition at line 752 of file dxGraphicsStateGuardian7.cxx.

References _pScrn, b, ConvD3DErrorToString(), DXScreenData::pD3DDevice, and w.

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

bool DXGraphicsStateGuardian7::prepare_lens  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 795 of file dxGraphicsStateGuardian7.cxx.

References _pScrn, CS_yup_left, NULL, and DXScreenData::pD3DDevice.

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

Reimplemented from GraphicsStateGuardian.

Definition at line 3285 of file dxGraphicsStateGuardian7.cxx.

References _bDrawPrimDoSetupVertexBuffer, DXTextureContext7::_bHasMipMaps, RenderBuffer::_buffer_type, DXGeomNodeContext7::_cached_geoms, _clip_plane_bits, _clipping_enabled, _cNumTexPixFmts, _cur_read_pixel_buffer, _current_fill_mode, _CurTexAnisoDegree, _CurTexBlendMode, _CurTexMagFilter, _CurTexMinFilter, _CurTexMipFilter, _CurTexWrapModeU, _CurTexWrapModeV, _depth_test_enabled, _doFogType, GraphicsStateGuardian::_draw_primitive_pcollector, PixelBuffer::_image, _last_testcooplevel_result, GraphicsStateGuardian::_lighting_enabled, GeomNodeContext::_node, GraphicsStateGuardian::_normals_enabled, DXGeomNodeContext7::_num_verts, DXGeomNodeContext7::_other_geoms, _overlay_windows_supported, _pCurrentGeomContext, _pCurTexContext, DXGeomNodeContext7::_pEndofVertData, DXGeomNodeContext7::_PrimInfo, _pScrn, _pTexPixFmts, DXGeomNodeContext7::_pVB, DXGeomNodeContext7::_pXformed_VB, DXGeomNodeContext7::_start_index, DXTextureContext7::_surface, DXTextureContext7::_tex, GraphicsStateGuardian::_texmgrmem_total_pcollector, TextureContext::_texture, _texturing_enabled, _type_handle, GraphicsStateGuardian::_vertices_other_pcollector, GraphicsStateGuardian::_vertices_tri_pcollector, GraphicsStateGuardian::_vertices_trifan_pcollector, GraphicsStateGuardian::_vertices_tristrip_pcollector, GraphicsStateGuardian::add_to_geom_node_record(), GraphicsStateGuardian::add_to_texture_record(), adjust_view_rect(), Texture::apply(), apply_fog(), apply_material(), apply_texture(), GraphicsStateGuardian::begin_frame(), GraphicsStateGuardian::begin_scene(), begin_scene(), binary_log_cap(), bind_clip_plane(), bind_light(), DXScreenData::bIsFullScreen, DXScreenData::bIsTNLDevice, buffer, call_dxAlphaFunc(), call_dxBlendFunc(), CheckCooperativeLevel(), TextureContext::clear_dirty_flags(), Texture::clear_gsg(), Colorf, Colorf_to_D3DCOLOR(), compute_distance_to(), ConvD3DErrorToString(), ConvertDDSurftoPixBuf(), CoordinateSystem, copy_pixel_buffer(), copy_texture(), CPT, DXTextureContext7::CreateTexture(), CS_default, CS_yup_left, DXScreenData::D3DDevDesc, DCAST, delete_tex_callback(), DeleteAllVideoSurfaces(), DXTextureContext7::DeleteTexture(), PixelBuffer::depth_buffer(), depth_offset_decals(), Texture::DF_image, Texture::DF_mipmap, DO_PSTATS_STUFF, Geom::draw(), draw_geom_node(), DrawPrim, dx_cleanup(), DX_DECLARE_CLEAN, dx_depth_offset_decals, dx_setup_after_resize(), dx_sync_video, DXTextureContext7, PointerToArray< unsigned char >::empty(), enable_alpha_test(), enable_blend(), enable_clip_plane(), enable_fog(), enable_light(), enable_lighting(), enable_texturing(), enable_zwritemask(), GraphicsStateGuardian::end_frame(), end_frame(), GraphicsStateGuardian::end_scene(), end_scene(), DXTextureContext7::FillDDSurfTexturePixels(), format_string(), free_pointers(), Texture::FT_linear, Texture::FT_linear_mipmap_linear, G_COLOR, G_NORMAL, G_OFF, G_TEXCOORD, Material::get_ambient(), Texture::get_anisotropic_degree(), Spotlight::get_attenuation(), PointLight::get_attenuation(), PixelBuffer::get_border(), Geom::get_class_type(), GraphicsStateGuardian::get_class_type(), get_class_type(), Fog::get_color(), PixelBuffer::get_component_width(), Material::get_diffuse(), DirectionalLight::get_direction(), TextureContext::get_dirty_flags(), CullFaceAttrib::get_effective_mode(), Material::get_emission(), Fog::get_exp_density(), FogAttrib::get_fog(), get_fog_mode_type(), PixelBuffer::get_format(), GeomNode::get_geom(), Lens::get_hfov(), PixelBuffer::get_image_type(), get_internal_coordinate_system(), GeomTristrip::get_length(), LensNode::get_lens(), PStatCollector::get_level(), Fog::get_linear_range(), Texture::get_magfilter(), NodePath::get_mat(), MaterialAttrib::get_material(), Texture::get_minfilter(), DepthWriteAttrib::get_mode(), AlphaTestAttrib::get_mode(), DepthTestAttrib::get_mode(), RenderModeAttrib::get_mode(), Fog::get_mode(), Lens::get_nodal_point(), PixelBuffer::get_num_components(), Geom::get_num_prims(), Geom::get_num_vertices(), DepthOffsetAttrib::get_offset(), DisplayRegion::get_pixel_height(), DisplayRegion::get_pixel_width(), PlaneNode::get_plane(), PointLight::get_point(), Texture::get_ram_image(), AlphaTestAttrib::get_reference_alpha(), DisplayRegion::get_region_pixels(), GraphicsStateGuardian::get_render_buffer(), Material::get_shininess(), Material::get_specular(), Spotlight::get_specular_color(), TextureAttrib::get_texture(), get_texture_wrap_mode(), get_type(), Lens::get_view_vector(), Texture::get_wrapu(), Texture::get_wrapv(), PixelBuffer::get_xorg(), PixelBuffer::get_xsize(), PixelBuffer::get_yorg(), PixelBuffer::get_ysize(), DXScreenData::hWnd, index, GraphicsStateGuardian::init_type(), init_type(), PStatCollector::is_active(), Geom::is_dynamic(), TypedObject::is_of_type(), FogAttrib::is_off(), TextureAttrib::is_off(), issue_alpha_test(), issue_cull_face(), issue_depth_offset(), issue_depth_test(), issue_depth_write(), issue_fog(), issue_material(), issue_render_mode(), issue_tex_matrix(), issue_texture(), issue_texture_apply(), issue_transform(), logs, ColorBlendAttrib::M_add, TextureApplyAttrib::M_add, TransparencyAttrib::M_alpha, TransparencyAttrib::M_alpha_sorted, TransparencyAttrib::M_binary, TextureApplyAttrib::M_blend, CullFaceAttrib::M_cull_clockwise, CullFaceAttrib::M_cull_counter_clockwise, TextureApplyAttrib::M_decal, TransparencyAttrib::M_dual, Fog::M_exponential, Fog::M_exponential_squared, ColorBlendAttrib::M_multiply, ColorBlendAttrib::M_multiply_add, TransparencyAttrib::M_multisample, TransparencyAttrib::M_multisample_mask, RenderAttrib::M_none, DepthWriteAttrib::M_on, TextureApplyAttrib::M_replace, RenderModeAttrib::M_wireframe, WritableConfigurable::make_dirty(), GraphicsStateGuardian::mark_prepared_geom_node(), GraphicsStateGuardian::mark_prepared_texture(), mode, MY_D3DRGBA, None, Normalf, NULL, DPInfo::nVerts, p, RenderAttrib::PandaCompareFunc, PandaFilterNameStrs, pb, DXScreenData::pD3D, DXScreenData::pD3DDevice, DXScreenData::pDD, DXScreenData::pddsBack, DXScreenData::pddsPrimary, DXScreenData::pddsZBuf, GraphicsStateGuardian::pop_frame_buffer(), prepare_geom_node(), DPInfo::primtype, PRINTREFCNT, PRINTVIDMEM, PT, PT(), PointerToArray< int >::push_back(), GraphicsStateGuardian::push_frame_buffer(), recreate_tex_callback(), RecreateAllVideoSurfaces(), refill_tex_callback(), register_type(), RELEASE, GraphicsStateGuardian::release_all_geoms(), RELEASE_DOWN_TO_ZERO, release_geom_node(), release_texture(), report_texmgr_stats(), restore_frame_buffer(), RestoreAllVideoSurfaces(), SAFE_DELETE_ARRAY, set_ambient_light(), set_blend_mode(), Geom::set_coords(), set_draw_buffer(), Geom::set_lengths(), Geom::set_num_prims(), set_read_buffer(), set_shademode(), PixelBuffer::set_xorg(), PixelBuffer::set_xsize(), PixelBuffer::set_yorg(), PixelBuffer::set_ysize(), SetViewMatrix(), show_frame(), show_full_screen_frame(), show_windowed_frame(), slot_new_clip_plane(), support_overlay_window(), RenderBuffer::T_back, RenderBuffer::T_back_left, RenderBuffer::T_back_right, RenderBuffer::T_color, RenderBuffer::T_depth, RenderBuffer::T_front, RenderBuffer::T_front_left, RenderBuffer::T_front_right, RenderBuffer::T_left, RenderBuffer::T_right, tc, TestDrawPrimFailure(), tex, TexCoordf, texture_to_pixel_buffer(), transform, GraphicsStateGuardian::traverse_prepared_textures(), type, uint, GraphicsStateGuardian::unmark_prepared_geom_node(), GraphicsStateGuardian::unmark_prepared_texture(), Vertexf, DXScreenData::view_rect, w, wants_normals(), wants_texcoords(), Texture::WM_clamp, Texture::WM_repeat, Texture::WrapMode, x, and y.

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

HRESULT DXGraphicsStateGuardian7::RecreateAllVideoSurfaces void   )  [protected]
 

Referenced by wdxGraphicsWindow7::do_fullscreen_resize(), and prepare_texture().

virtual void DXGraphicsStateGuardian7::release_geom_node GeomNodeContext gnc  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

virtual void DXGraphicsStateGuardian7::release_texture TextureContext tc  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

void DXGraphicsStateGuardian7::report_texmgr_stats  )  [protected]
 

Definition at line 892 of file dxGraphicsStateGuardian7.cxx.

References _pScrn, GraphicsStateGuardian::_texmgrmem_resident_pcollector, GraphicsStateGuardian::_texmgrmem_total_pcollector, GraphicsStateGuardian::_total_texmem_pcollector, GraphicsStateGuardian::_used_texmem_pcollector, ConvD3DErrorToString(), PStatCollector::is_active(), DXScreenData::pD3DDevice, DXScreenData::pDD, and PStatCollector::set_level().

Referenced by prepare_texture().

void DXGraphicsStateGuardian7::reset  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 305 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::reset().

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

Implements GraphicsStateGuardian.

Referenced by prepare_texture().

HRESULT DXGraphicsStateGuardian7::RestoreAllVideoSurfaces void   )  [protected]
 

Referenced by wdxGraphicsWindow7::handle_reshape(), and prepare_texture().

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

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

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

void DXGraphicsStateGuardian7::set_color_clear_value const Colorf value  )  [virtual]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 220 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::_color_clear_value, _d3dcolor_clear_value, and Colorf_to_D3DCOLOR().

Referenced by Colorf_to_D3DCOLOR(), and DXGraphicsStateGuardian7().

void DXGraphicsStateGuardian7::set_context DXScreenData pNewContextData  )  [protected]
 

Definition at line 313 of file dxGraphicsStateGuardian7.cxx.

References _pD3DDevice, _pScrn, NULL, and DXScreenData::pD3DDevice.

Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device(), and wdxGraphicsWindow7::make_current().

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

Referenced by prepare_texture().

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

Referenced by prepare_texture().

INLINE void DXGraphicsStateGuardian7::set_shademode D3DSHADEMODE  val  )  [protected]
 

Referenced by draw_multitri(), draw_prim_setup(), draw_sprite(), and prepare_texture().

INLINE void DXGraphicsStateGuardian7::SetDXReady bool  stat  )  [inline]
 

Definition at line 346 of file dxGraphicsStateGuardian7.h.

Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device(), and wdxGraphicsWindow7::do_fullscreen_resize().

void DXGraphicsStateGuardian7::show_frame  ) 
 

Referenced by wdxGraphicsWindow7::end_flip(), and prepare_texture().

void DXGraphicsStateGuardian7::show_full_screen_frame  ) 
 

Referenced by prepare_texture().

void DXGraphicsStateGuardian7::show_windowed_frame  ) 
 

Referenced by prepare_texture().

virtual bool DXGraphicsStateGuardian7::slot_new_clip_plane int  plane_id  )  [protected, virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().

void DXGraphicsStateGuardian7::support_overlay_window bool  flag  ) 
 

Referenced by prepare_texture().

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

Implements GraphicsStateGuardianBase.

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

Implements GraphicsStateGuardianBase.

Referenced by prepare_texture().

INLINE void DXGraphicsStateGuardian7::transform_color Colorf InColor,
D3DCOLOR &  OutColor
[protected]
 

Definition at line 1033 of file dxGraphicsStateGuardian7.cxx.

References GraphicsStateGuardian::_current_color_offset, GraphicsStateGuardian::_current_color_scale, Colorf, and Colorf_to_D3DCOLOR().

Referenced by draw_multitri(), draw_point(), and draw_prim_setup().

virtual bool DXGraphicsStateGuardian7::wants_normals void   )  const [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by draw_multitri(), draw_prim_setup(), and prepare_texture().

virtual bool DXGraphicsStateGuardian7::wants_texcoords void   )  const [virtual]
 

Reimplemented from GraphicsStateGuardian.

Referenced by prepare_texture().


Friends And Related Function Documentation

friend class DXTextureContext7 [friend]
 

Definition at line 65 of file dxGraphicsStateGuardian7.h.

Referenced by prepare_texture().

HRESULT CALLBACK EnumTexFmtsCallback LPDDPIXELFORMAT  pddpf,
VOID *  param
[friend]
 

Definition at line 350 of file dxGraphicsStateGuardian7.cxx.

friend class wdxGraphicsPipe7 [friend]
 

Definition at line 63 of file dxGraphicsStateGuardian7.h.

friend class wdxGraphicsWindow7 [friend]
 

Definition at line 62 of file dxGraphicsStateGuardian7.h.

friend class wdxGraphicsWindow7Group [friend]
 

Definition at line 64 of file dxGraphicsStateGuardian7.h.


Member Data Documentation

D3DCMPFUNC DXGraphicsStateGuardian7::_alpha_func [protected]
 

Definition at line 287 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

float DXGraphicsStateGuardian7::_alpha_func_refval [protected]
 

Definition at line 286 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

bool DXGraphicsStateGuardian7::_alpha_test_enabled [protected]
 

Definition at line 302 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

bool DXGraphicsStateGuardian7::_bDrawPrimDoSetupVertexBuffer [protected]
 

Definition at line 246 of file dxGraphicsStateGuardian7.h.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), draw_tri(), dx_init(), and prepare_texture().

D3DBLEND DXGraphicsStateGuardian7::_blend_dest_func [protected]
 

Definition at line 290 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

bool DXGraphicsStateGuardian7::_blend_enabled [protected]
 

Definition at line 299 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

D3DBLEND DXGraphicsStateGuardian7::_blend_source_func [protected]
 

Definition at line 289 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

bool DXGraphicsStateGuardian7::_bTransformIssued [protected]
 

Definition at line 188 of file dxGraphicsStateGuardian7.h.

DWORD DXGraphicsStateGuardian7::_clip_plane_bits [protected]
 

Definition at line 303 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

bool DXGraphicsStateGuardian7::_clipping_enabled [protected]
 

Definition at line 296 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

int DXGraphicsStateGuardian7::_cNumTexPixFmts
 

Definition at line 152 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), EnumTexFmtsCallback(), and prepare_texture().

bool DXGraphicsStateGuardian7::_color_material_enabled [protected]
 

Definition at line 294 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

Vertexf* DXGraphicsStateGuardian7::_coord_array [protected]
 

Definition at line 257 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop_coordtexonly(), and draw_prim_setup().

ushort* DXGraphicsStateGuardian7::_coordindex_array [protected]
 

Definition at line 258 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop_coordtexonly(), and draw_prim_setup().

RenderBuffer::Type DXGraphicsStateGuardian7::_cur_read_pixel_buffer [protected]
 

Definition at line 191 of file dxGraphicsStateGuardian7.h.

Referenced by DXGraphicsStateGuardian7(), and prepare_texture().

D3DCOLOR DXGraphicsStateGuardian7::_curD3Dcolor [protected]
 

Definition at line 238 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop(), draw_prim_inner_loop_coordtexonly(), draw_prim_setup(), draw_sprite(), and GenerateSphere().

DWORD DXGraphicsStateGuardian7::_curFVFflags [protected]
 

Definition at line 239 of file dxGraphicsStateGuardian7.h.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), draw_prim_inner_loop(), draw_prim_setup(), draw_sphere(), draw_sprite(), and draw_tri().

RenderModeAttrib::Mode DXGraphicsStateGuardian7::_current_fill_mode [protected]
 

Definition at line 305 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

LMatrix4f DXGraphicsStateGuardian7::_current_projection_mat [protected]
 

Definition at line 316 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

D3DSHADEMODE DXGraphicsStateGuardian7::_CurShadeMode [protected]
 

Definition at line 244 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

DWORD DXGraphicsStateGuardian7::_CurTexAnisoDegree [protected]
 

Definition at line 313 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

TextureApplyAttrib::Mode DXGraphicsStateGuardian7::_CurTexBlendMode [protected]
 

Definition at line 309 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

D3DTEXTUREMAGFILTER DXGraphicsStateGuardian7::_CurTexMagFilter [protected]
 

Definition at line 310 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

D3DTEXTUREMINFILTER DXGraphicsStateGuardian7::_CurTexMinFilter [protected]
 

Definition at line 311 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

D3DTEXTUREMIPFILTER DXGraphicsStateGuardian7::_CurTexMipFilter [protected]
 

Definition at line 312 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

Texture::WrapMode DXGraphicsStateGuardian7::_CurTexWrapModeU [protected]
 

Definition at line 314 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

Texture::WrapMode DXGraphicsStateGuardian7::_CurTexWrapModeV [protected]
 

Definition at line 314 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

D3DCOLOR DXGraphicsStateGuardian7::_d3dcolor_clear_value [protected]
 

Definition at line 243 of file dxGraphicsStateGuardian7.h.

Referenced by do_clear(), and set_color_clear_value().

bool DXGraphicsStateGuardian7::_depth_test_enabled [protected]
 

Definition at line 300 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

bool DXGraphicsStateGuardian7::_depth_write_enabled [protected]
 

Definition at line 301 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

bool DXGraphicsStateGuardian7::_dither_enabled [protected]
 

Definition at line 297 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

DxgsgFogType DXGraphicsStateGuardian7::_doFogType [protected]
 

Definition at line 280 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

bool DXGraphicsStateGuardian7::_dx_ready [protected]
 

Definition at line 182 of file dxGraphicsStateGuardian7.h.

Referenced by DXGraphicsStateGuardian7(), and free_dxgsg_objects().

bool DXGraphicsStateGuardian7::_fog_enabled [protected]
 

Definition at line 281 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_setup(), draw_sprite(), and dx_init().

HDC DXGraphicsStateGuardian7::_front_hdc [protected]
 

Definition at line 185 of file dxGraphicsStateGuardian7.h.

WORD* DXGraphicsStateGuardian7::_index_buf [protected]
 

Definition at line 180 of file dxGraphicsStateGuardian7.h.

Referenced by draw_multitri(), draw_sphere(), draw_sprite(), DXGraphicsStateGuardian7(), and ~DXGraphicsStateGuardian7().

HRESULT DXGraphicsStateGuardian7::_last_testcooplevel_result [protected]
 

Definition at line 183 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

bool* DXGraphicsStateGuardian7::_light_enabled [protected]
 

Definition at line 293 of file dxGraphicsStateGuardian7.h.

bool DXGraphicsStateGuardian7::_line_smooth_enabled [protected]
 

Definition at line 292 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

Colorf DXGraphicsStateGuardian7::_lmodel_ambient [protected]
 

Definition at line 269 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

float DXGraphicsStateGuardian7::_material_ambient [protected]
 

Definition at line 270 of file dxGraphicsStateGuardian7.h.

float DXGraphicsStateGuardian7::_material_diffuse [protected]
 

Definition at line 271 of file dxGraphicsStateGuardian7.h.

float DXGraphicsStateGuardian7::_material_emission [protected]
 

Definition at line 274 of file dxGraphicsStateGuardian7.h.

float DXGraphicsStateGuardian7::_material_shininess [protected]
 

Definition at line 273 of file dxGraphicsStateGuardian7.h.

float DXGraphicsStateGuardian7::_material_specular [protected]
 

Definition at line 272 of file dxGraphicsStateGuardian7.h.

bool DXGraphicsStateGuardian7::_overlay_windows_supported [protected]
 

Definition at line 324 of file dxGraphicsStateGuardian7.h.

Referenced by DXGraphicsStateGuardian7(), and prepare_texture().

Vertexf * DXGraphicsStateGuardian7::_pCurCoord [protected]
 

Definition at line 257 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop_coordtexonly(), and draw_prim_setup().

ushort * DXGraphicsStateGuardian7::_pCurCoordIndex [protected]
 

Definition at line 258 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop_coordtexonly(), and draw_prim_setup().

BYTE* DXGraphicsStateGuardian7::_pCurFvfBufPtr [protected]
 

Definition at line 178 of file dxGraphicsStateGuardian7.h.

Referenced by add_to_FVFBuf(), draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), draw_prim_inner_loop_coordtexonly(), draw_sphere(), draw_sprite(), draw_tri(), DXGraphicsStateGuardian7(), and GenerateSphere().

DXGeomNodeContext7* DXGraphicsStateGuardian7::_pCurrentGeomContext [protected]
 

Definition at line 247 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), and prepare_texture().

DXTextureContext7* DXGraphicsStateGuardian7::_pCurTexContext [protected]
 

Definition at line 186 of file dxGraphicsStateGuardian7.h.

Referenced by draw_tri(), dx_init(), prepare_texture(), and ~DXGraphicsStateGuardian7().

TexCoordf * DXGraphicsStateGuardian7::_pCurTexCoord [protected]
 

Definition at line 260 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop_coordtexonly(), and draw_prim_setup().

ushort * DXGraphicsStateGuardian7::_pCurTexCoordIndex [protected]
 

Definition at line 261 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop_coordtexonly(), and draw_prim_setup().

LPDIRECT3DDEVICE7 DXGraphicsStateGuardian7::_pD3DDevice
 

Definition at line 148 of file dxGraphicsStateGuardian7.h.

Referenced by set_context().

DWORD DXGraphicsStateGuardian7::_perComp [protected]
 

Definition at line 240 of file dxGraphicsStateGuardian7.h.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_prim_setup(), and draw_sphere().

DWORD DXGraphicsStateGuardian7::_perPrim [protected]
 

Definition at line 240 of file dxGraphicsStateGuardian7.h.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), draw_prim_setup(), draw_sphere(), and draw_tri().

DWORD DXGraphicsStateGuardian7::_perVertex [protected]
 

Definition at line 240 of file dxGraphicsStateGuardian7.h.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), draw_prim_setup(), draw_sphere(), and draw_tri().

BYTE * DXGraphicsStateGuardian7::_pFvfBufBasePtr [protected]
 

Definition at line 178 of file dxGraphicsStateGuardian7.h.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), draw_sphere(), draw_sprite(), draw_tri(), DXGraphicsStateGuardian7(), and ~DXGraphicsStateGuardian7().

int DXGraphicsStateGuardian7::_projection_mat_stack_count [protected]
 

Definition at line 317 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

DXScreenData* DXGraphicsStateGuardian7::_pScrn
 

Definition at line 147 of file dxGraphicsStateGuardian7.h.

Referenced by do_clear(), draw_line(), draw_linestrip_base(), draw_multitri(), draw_point(), draw_polygon(), draw_quad(), draw_sphere(), draw_sprite(), draw_tri(), dx_init(), DXGraphicsStateGuardian7(), free_dxgsg_objects(), prepare_display_region(), prepare_lens(), prepare_texture(), report_texmgr_stats(), and set_context().

LPDDPIXELFORMAT DXGraphicsStateGuardian7::_pTexPixFmts
 

Definition at line 151 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init(), EnumTexFmtsCallback(), and prepare_texture().

D3DMATRIX DXGraphicsStateGuardian7::_SavedTransform [protected]
 

Definition at line 189 of file dxGraphicsStateGuardian7.h.

D3DCOLOR DXGraphicsStateGuardian7::_scene_graph_color_D3DCOLOR [protected]
 

Definition at line 242 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_setup().

bool DXGraphicsStateGuardian7::_stencil_test_enabled [protected]
 

Definition at line 298 of file dxGraphicsStateGuardian7.h.

Referenced by dx_init().

TexCoordf* DXGraphicsStateGuardian7::_texcoord_array [protected]
 

Definition at line 260 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop_coordtexonly(), and draw_prim_setup().

ushort* DXGraphicsStateGuardian7::_texcoordindex_array [protected]
 

Definition at line 261 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop_coordtexonly(), and draw_prim_setup().

bool DXGraphicsStateGuardian7::_texturing_enabled [protected]
 

Definition at line 295 of file dxGraphicsStateGuardian7.h.

Referenced by draw_multitri(), dx_init(), and prepare_texture().

TypeHandle DXGraphicsStateGuardian7::_type_handle [static, private]
 

Reimplemented from GraphicsStateGuardian.

Definition at line 83 of file dxGraphicsStateGuardian7.cxx.

Referenced by prepare_texture().

Geom::ColorIterator DXGraphicsStateGuardian7::ci [protected]
 

Definition at line 253 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_setup(), draw_sphere(), and draw_sprite().

Geom::NormalIterator DXGraphicsStateGuardian7::ni [protected]
 

Definition at line 251 of file dxGraphicsStateGuardian7.h.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_prim_setup(), and draw_tri().

Normalf DXGraphicsStateGuardian7::p_normal [protected]
 

Definition at line 236 of file dxGraphicsStateGuardian7.h.

Referenced by draw_line(), draw_linestrip_base(), draw_multitri(), draw_prim_inner_loop(), draw_prim_setup(), and draw_tri().

TexCoordf DXGraphicsStateGuardian7::p_texcoord [protected]
 

Definition at line 237 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_inner_loop().

Geom::TexCoordIterator DXGraphicsStateGuardian7::ti [protected]
 

Definition at line 252 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_setup().

Geom::VertexIterator DXGraphicsStateGuardian7::vi [protected]
 

Definition at line 250 of file dxGraphicsStateGuardian7.h.

Referenced by draw_prim_setup(), draw_sphere(), and draw_sprite().


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