Ignore:
Timestamp:
10/20/05 18:49:11 (19 years ago)
Author:
mattausch
Message:

added switch between NV and ARB queries in the render system and in the demos.
Fixed render queue bug: when clearing queue, we traversed through all priority groups
to clear the passmaps. This became very slow because had to traverse many elements (over 1000
for city demo). Now all we destroy the priority groups for each rendering (per hierarchy node).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/ogre_changes/RenderSystems/GL/include/OgreGLHardwareOcclusionQuery.h

    r115 r343  
    111111#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    112112        bool pullOcclusionQuery( unsigned int* NumOfFragments, const bool waitForResult, const HW_OCCLUSIONQUERY flag = HWOCCLUSIONQUERY_FLUSH );  
     113 
     114        static bool sUseArbQueries; 
    113115#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    114116//---------------------------------------------------------------------- 
     
    122124        int                             mSkipCounter; 
    123125        int                             mSkipInterval; 
    124         bool                    mHasOcclusionSupport; 
     126        bool                    mHasOcclusionSupportNV; 
     127        bool                    mHasOcclusionSupportARB; 
    125128}; 
    126129 
Note: See TracChangeset for help on using the changeset viewer.