AnalyzeTraverser.h   AnalyzeTraverser.h 
skipping to change at line 427 skipping to change at line 427
* \sa nvsg::LOD, EmptyResult, EquivalenceResult, RedundantLODRanges Result, SingleChildResult */ * \sa nvsg::LOD, EmptyResult, EquivalenceResult, RedundantLODRanges Result, SingleChildResult */
NVSG_API virtual void handleLOD( const nvsg::LOD * p ); NVSG_API virtual void handleLOD( const nvsg::LOD * p );
/*! \brief Analyze a nvsg::Material. /*! \brief Analyze a nvsg::Material.
* \param p A pointer to the read-locked nvsg::Material to analyze. * \param p A pointer to the read-locked nvsg::Material to analyze.
* \remarks A nvsg::Material is tested for equivalence with any prev iously encountered * \remarks A nvsg::Material is tested for equivalence with any prev iously encountered
* nvsg::Material. * nvsg::Material.
* \sa nvsg::Material, EquivalenceResult */ * \sa nvsg::Material, EquivalenceResult */
NVSG_API virtual void handleMaterial( const nvsg::Material * p ); NVSG_API virtual void handleMaterial( const nvsg::Material * p );
/*! \brief Analyze a nvsg::Patches.
* \param p A pointer to the read-locked nvsg::Patches to analyze.
* \remarks A nvsg::Patches is tested for combinability with other p
atches, emptiness (no patches), and for
* equivalence with any previously encountered nvsg::Patches.
* \sa handleRectPatches, handleTriPatches */
NVSG_API virtual void handlePatches( const nvsg::Patches * p );
/*! \brief Analyze a nvsg::PointAttribute. /*! \brief Analyze a nvsg::PointAttribute.
* \param p A pointer to the read-locked nvsg::PointAttribute to ana lyze. * \param p A pointer to the read-locked nvsg::PointAttribute to ana lyze.
* \remarks A nvsg::PointAttribute is tested for equivalence with an y previously * \remarks A nvsg::PointAttribute is tested for equivalence with an y previously
* encountered nvsg::PointAttribute. * encountered nvsg::PointAttribute.
* \sa nvsg::PointAttribute, EquivalenceResult */ * \sa nvsg::PointAttribute, EquivalenceResult */
NVSG_API virtual void handlePointAttribute( const nvsg::PointAttribut e * p ); NVSG_API virtual void handlePointAttribute( const nvsg::PointAttribut e * p );
/*! \brief Analyze a nvsg::PointLight. /*! \brief Analyze a nvsg::PointLight.
* \param p A pointer to the read-locked nvsg::PointLight to analyze . * \param p A pointer to the read-locked nvsg::PointLight to analyze .
* \remarks A nvsg::PointLight is tested for equivalence with any pr eviously encountered * \remarks A nvsg::PointLight is tested for equivalence with any pr eviously encountered
skipping to change at line 455 skipping to change at line 462
* \sa nvsg::Points, EmptyResult, EquivalenceResult */ * \sa nvsg::Points, EmptyResult, EquivalenceResult */
NVSG_API virtual void handlePoints( const nvsg::Points * p ); NVSG_API virtual void handlePoints( const nvsg::Points * p );
/*! \brief Analyze a nvsg::QuadMeshes. /*! \brief Analyze a nvsg::QuadMeshes.
* \param p A pointer to the read-locked nvsg::QuadMeshes to analyze . * \param p A pointer to the read-locked nvsg::QuadMeshes to analyze .
* \remarks A nvsg::QuadMeshes is tested for emptiness (no meshes) a nd for equivalence with * \remarks A nvsg::QuadMeshes is tested for emptiness (no meshes) a nd for equivalence with
* any previously encountered nvsg::QuadMeshes. * any previously encountered nvsg::QuadMeshes.
* \sa nvsg::QuadMeshes, EmptyResult, EquivalenceResult */ * \sa nvsg::QuadMeshes, EmptyResult, EquivalenceResult */
NVSG_API virtual void handleQuadMeshes( const nvsg::QuadMeshes * p ); NVSG_API virtual void handleQuadMeshes( const nvsg::QuadMeshes * p );
/*! \brief Analyze a nvsg::QuadPatches.
* \param p A pointer to the read-locked nvsg::QuadPatches to analyz
e.
* \remarks A nvsg::QuadPatches is tested for combinability with oth
er quad patches, emptiness (no patches),
* and for equivalence with any previously encountered nvsg::QuadPat
ches.
* \sa handlePatches, handleRectPatches, handleTriPatches */
NVSG_API virtual void handleQuadPatches( const nvsg::QuadPatches * p
);
/*! \brief Analyze a nvsg::QuadPatches4x4.
* \param p A pointer to the read-locked nvsg::QuadPatches4x4 to ana
lyze.
* \remarks A nvsg::QuadPatches4x4 is tested for combinability with
other 4x4 quad patches, emptiness (no
* patches), and for equivalence with any previously encountered nvs
g::QuadPatches4x4.
* \sa handlePatches, handleRectPatches, handleTriPatches */
NVSG_API virtual void handleQuadPatches4x4( const nvsg::QuadPatches4x
4 * p );
/*! \brief Analyze a nvsg::Quads. /*! \brief Analyze a nvsg::Quads.
* \param p A pointer to the read-locked nvsg::Quads to analyze. * \param p A pointer to the read-locked nvsg::Quads to analyze.
* \remarks A nvsg::Quads is tested for emptiness (no indices) and f or equivalence with any * \remarks A nvsg::Quads is tested for emptiness (no indices) and f or equivalence with any
* previously encountered nvsg::Quads. * previously encountered nvsg::Quads.
* \sa nvsg::Quads, EmptyResult, EquivalenceResult */ * \sa nvsg::Quads, EmptyResult, EquivalenceResult */
NVSG_API virtual void handleQuads( const nvsg::Quads * p ); NVSG_API virtual void handleQuads( const nvsg::Quads * p );
/*! \brief Analyze a nvsg::QuadStrips. /*! \brief Analyze a nvsg::QuadStrips.
* \param p A pointer to the read-locked nvsg::QuadStrips to analyze . * \param p A pointer to the read-locked nvsg::QuadStrips to analyze .
* \remarks A nvsg::QuadStrips is tested for emptiness (no strips), for equivalence with * \remarks A nvsg::QuadStrips is tested for emptiness (no strips), for equivalence with
* any previously encountered nvsg::Quads, and for holding strips of length up to only four. * any previously encountered nvsg::Quads, and for holding strips of length up to only four.
* \sa nvsg::QuadStrips, EmptyResult, EquivalenceResult, ShortStripp edResult */ * \sa nvsg::QuadStrips, EmptyResult, EquivalenceResult, ShortStripp edResult */
NVSG_API virtual void handleQuadStrips( const nvsg::QuadStrips * p ); NVSG_API virtual void handleQuadStrips( const nvsg::QuadStrips * p );
/*! \brief Analyze a nvsg::RectPatches.
* \param p A pointer to the read-locked nvsg::RectPatches to analyz
e.
* \remarks A nvsg::RectPatches is tested for combinability with oth
er rectangular patches, emptiness (no
* patches), and for equivalence with any previously encountered nvs
g::RectPatches.
* \sa handlePatches, handleQuadPatches, handleTriPatches */
NVSG_API virtual void handleRectPatches( const nvsg::RectPatches * p
);
NVSG_API virtual void handleRTFx( const nvsg::RTFx * p ); NVSG_API virtual void handleRTFx( const nvsg::RTFx * p );
NVSG_API virtual void handleRTFxProgram( const nvsg::RTFxProgram * p ); NVSG_API virtual void handleRTFxProgram( const nvsg::RTFxProgram * p );
/*! \brief Analyze a nvsg::Shape. /*! \brief Analyze a nvsg::Shape.
* \param p A pointer to the read-locked nvsg::Shape to analyze. * \param p A pointer to the read-locked nvsg::Shape to analyze.
* \remarks A nvsg::Shape is tested for emptiness (no primitive sets ) and for equivalence * \remarks A nvsg::Shape is tested for emptiness (no primitive sets ) and for equivalence
* with any previously encountered nvsg::Shape. * with any previously encountered nvsg::Shape.
* \sa nvsg::Shape, EmptyResult, EquivalenceResult */ * \sa nvsg::Shape, EmptyResult, EquivalenceResult */
NVSG_API virtual void handleShape( const nvsg::Shape * p ); NVSG_API virtual void handleShape( const nvsg::Shape * p );
skipping to change at line 574 skipping to change at line 602
* \sa nvsg::Triangles, EmptyResult, EquivalenceResult */ * \sa nvsg::Triangles, EmptyResult, EquivalenceResult */
NVSG_API virtual void handleTriangles( const nvsg::Triangles * p ); NVSG_API virtual void handleTriangles( const nvsg::Triangles * p );
/*! \brief Analyze a nvsg::TriFans. /*! \brief Analyze a nvsg::TriFans.
* \param p A pointer to the read-locked nvsg::TriFans to analyze. * \param p A pointer to the read-locked nvsg::TriFans to analyze.
* \remarks A nvsg::TriFans is tested for emptiness (no strips), for equivalence with any * \remarks A nvsg::TriFans is tested for emptiness (no strips), for equivalence with any
* previously encountered nvsg::TriFans, and for holding fans of len gth up to only three. * previously encountered nvsg::TriFans, and for holding fans of len gth up to only three.
* \sa nvsg::TriFans, EmptyResult, EquivalenceResult, ShortStrippedR esult */ * \sa nvsg::TriFans, EmptyResult, EquivalenceResult, ShortStrippedR esult */
NVSG_API virtual void handleTriFans( const nvsg::TriFans * p ); NVSG_API virtual void handleTriFans( const nvsg::TriFans * p );
/*! \brief Analyze a nvsg::TriPatches.
* \param p A pointer to the read-locked nvsg::TriPatches to analyze
.
* \remarks A nvsg::TriPatches is tested for combinability with othe
r triangular patches, emptiness (no
* patches), and for equivalence with any previously encountered nvs
g::TriPatches.
* \sa handlePatches, handleQuadPatches, handleTriPatches4 */
NVSG_API virtual void handleTriPatches( const nvsg::TriPatches * p );
/*! \brief Analyze a nvsg::TriPatches4.
* \param p A pointer to the read-locked nvsg::TriPatches4 to analyz
e.
* \remarks A nvsg::TriPatches4 is tested for combinability with oth
er triangular 4-patches, emptiness (no
* patches), and for equivalence with any previously encountered nvs
g::TriPatches.
* \sa handlePatches, handleQuadPatches, handleTriPatches */
NVSG_API virtual void handleTriPatches4( const nvsg::TriPatches4 * p
);
/*! \brief Analyze a nvsg::TriStrips. /*! \brief Analyze a nvsg::TriStrips.
* \param p A pointer to the read-locked nvsg::TriStrips to analyze. * \param p A pointer to the read-locked nvsg::TriStrips to analyze.
* \remarks A nvsg::TriStrips is tested for emptiness (no strips), f or equivalence with any * \remarks A nvsg::TriStrips is tested for emptiness (no strips), f or equivalence with any
* previously encountered nvsg::TriStrips, and for holding strips of length up to only three. * previously encountered nvsg::TriStrips, and for holding strips of length up to only three.
* \sa nvsg::TriStrips, EmptyResult, EquivalenceResult, ShortStrippe dResult */ * \sa nvsg::TriStrips, EmptyResult, EquivalenceResult, ShortStrippe dResult */
NVSG_API virtual void handleTriStrips( const nvsg::TriStrips * p ); NVSG_API virtual void handleTriStrips( const nvsg::TriStrips * p );
/*! \brief Analyze an nvsg::Animation of type VertexAttribute. /*! \brief Analyze an nvsg::Animation of type VertexAttribute.
* \param anim A pointer to the read-locked Animation being traverse d. * \param anim A pointer to the read-locked Animation being traverse d.
* \remarks An Animation of type VertexAttribute is tested for empti ness (no * \remarks An Animation of type VertexAttribute is tested for empti ness (no
skipping to change at line 599 skipping to change at line 641
/*! \brief Analyze a nvsg::VertexAttributeSet. /*! \brief Analyze a nvsg::VertexAttributeSet.
* \param p A pointer to the read-locked nvsg::VertexAttributeSet to analyze. * \param p A pointer to the read-locked nvsg::VertexAttributeSet to analyze.
* \remarks A nvsg::VertexAttributeSet is tested for emptiness (no v ertices), for * \remarks A nvsg::VertexAttributeSet is tested for emptiness (no v ertices), for
* equivalence with any previously encountered nvsg::VertexAttribute Set, and for holding * equivalence with any previously encountered nvsg::VertexAttribute Set, and for holding
* denormalized normals. * denormalized normals.
* \sa nvsg::VertexAttributeSet, EmptyResult, EquivalenceResult, Den ormalizedNormalsResult, * \sa nvsg::VertexAttributeSet, EmptyResult, EquivalenceResult, Den ormalizedNormalsResult,
* NullNormalsResult */ * NullNormalsResult */
NVSG_API virtual void handleVertexAttributeSet( const nvsg::VertexAtt ributeSet * p ); NVSG_API virtual void handleVertexAttributeSet( const nvsg::VertexAtt ributeSet * p );
private: private:
template<typename T> class EquivalenceInfo
void analyzeCombinable( const T *p {
, std::map<const nvsg::StateSet*,std::vector< public :
std::pair<const T*,unsigned int> > > &mvpT ); std::vector<nvsg::ObjectHandle *> uniqueObjects;
std::set<nvsg::ObjectHandle *> equivalentObjects;
};
template<typename T> class CombinableMap : public std::map<const nvsg
::StateSet*,std::vector<std::pair<const T *,unsigned int> > >
{
};
private:
template<typename T> void analyzeCombinable( const T * p, CombinableM
ap<T> & mvpT );
void analyzeCombinable( const nvsg::Group * p ); void analyzeCombinable( const nvsg::Group * p );
void analyzeEmpty( const nvsg::Object * p, unsigned int numberOfEleme nts ); void analyzeEmpty( const nvsg::Object * p, unsigned int numberOfEleme nts );
void analyzeEquivalent( const nvsg::Object *p ); void analyzeEquivalent( const nvsg::Object *p );
void analyzeNormalsNormalized( const nvmath::Vec3f * normals, unsigne d int non void analyzeNormalsNormalized( const nvmath::Vec3f * normals, unsigne d int non
, unsigned int &nullNormals, unsigned in t &denormalizedNormals ); , unsigned int &nullNormals, unsigned in t &denormalizedNormals );
void analyzeMissing( const nvsg::Object * p, const void * ptr ); void analyzeMissing( const nvsg::Object * p, const void * ptr );
void analyzeRedundantLODRanges( const nvsg::LOD * p ); void analyzeRedundantLODRanges( const nvsg::LOD * p );
void analyzeShortStripped( const nvsg::StrippedPrimitiveSet * p, unsi gned int minCount ); void analyzeShortStripped( const nvsg::StrippedPrimitiveSet * p, unsi gned int minCount );
void analyzeSingleChild( const nvsg::Group * p ); void analyzeSingleChild( const nvsg::Group * p );
template<typename T> template<typename T>
void extractCombinableInfo( unsigned int oc void extractCombinableInfo( unsigned int oc
, std::map<const nvsg::StateSet*,std::vec tor<std::pair<const T*,unsigned int> > > &mvpT ); , std::map<const nvsg::StateSet*,std::vec tor<std::pair<const T*,unsigned int> > > &mvpT );
bool isChildOfCurrentLOD( const nvsg::Object * p ); bool isChildOfCurrentLOD( const nvsg::Object * p );
bool isToBeHandled( const nvsg::Object *p ); bool isToBeHandled( const nvsg::Object *p );
void testVertexAttributeSet( const nvsg::VertexAttributeSet * p ); void testVertexAttributeSet( const nvsg::VertexAttributeSet * p );
private: private:
class EquivalenceInfo std::map<unsigned int,unsigned int> m_count
{ Map;
public : std::stack<std::vector<const nvsg::GeoNode*> > m_combi
std::vector<nvsg::ObjectHandle *> uniqueObjects; nableGeoNodes;
std::set<nvsg::ObjectHandle *> equivalentObjects; std::map<unsigned int,std::pair<unsigned int,unsigned int> > m_combi
}; nableInfo;
CombinableMap<nvsg::Lines> m_combi
std::map<unsigned int,unsigned int> nableLines;
m_countMap; CombinableMap<nvsg::LineStrips> m_combi
std::stack<std::vector<const nvsg::GeoNode*> > nableLineStrips;
m_combinableGeoNodes; CombinableMap<nvsg::Patches> m_combi
std::map<unsigned int,std::pair<unsigned int,unsigned int> > nablePatches;
m_combinableInfo; CombinableMap<nvsg::Points> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::Line nablePoints;
s*,unsigned int> > > m_combinableLines; CombinableMap<nvsg::QuadMeshes> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::Line nableQuadMeshes;
Strips*,unsigned int> > > m_combinableLineStrips; CombinableMap<nvsg::QuadPatches> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::Poin nableQuadPatches;
ts*,unsigned int> > > m_combinablePoints; CombinableMap<nvsg::QuadPatches4x4> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::Quad nableQuadPatches4x4;
Meshes*,unsigned int> > > m_combinableQuadMeshes; CombinableMap<nvsg::Quads> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::Quad nableQuads;
s*,unsigned int> > > m_combinableQuads; CombinableMap<nvsg::QuadStrips> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::Quad nableQuadStrips;
Strips*,unsigned int> > > m_combinableQuadStrips; CombinableMap<nvsg::RectPatches> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::Tria nableRectPatches;
ngles*,unsigned int> > > m_combinableTriangles; CombinableMap<nvsg::Triangles> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::TriF nableTriangles;
ans*,unsigned int> > > m_combinableTriFans; CombinableMap<nvsg::TriFans> m_combi
std::map<const nvsg::StateSet*,std::vector<std::pair<const nvsg::TriS nableTriFans;
trips*,unsigned int> > > m_combinableTriStrips; CombinableMap<nvsg::TriPatches> m_combi
const nvsg::LOD * nableTriPatches;
m_currentLOD; CombinableMap<nvsg::TriPatches4> m_combi
const nvsg::StateSet * nableTriPatches4;
m_currentStateSet; CombinableMap<nvsg::TriStrips> m_combi
std::pair<unsigned int,unsigned int> nableTriStrips;
m_denormalizedNormalsLIVAAD; const nvsg::LOD * m_curre
std::pair<unsigned int,unsigned int> ntLOD;
m_denormalizedNormalsVAS; const nvsg::StateSet * m_curre
std::map<unsigned int, unsigned int> ntStateSet;
m_emptyMap; std::pair<unsigned int,unsigned int> m_denor
std::map<unsigned int, EquivalenceInfo> malizedNormalsLIVAAD;
m_equivalenceMap; std::pair<unsigned int,unsigned int> m_denor
unsigned int malizedNormalsVAS;
m_identityCount; std::map<unsigned int, unsigned int> m_empty
unsigned int Map;
m_lodRanges; std::map<unsigned int, EquivalenceInfo> m_equiv
std::map<unsigned int, unsigned int> alenceMap;
m_missingMap; unsigned int m_ident
std::pair<unsigned int,unsigned int> ityCount;
m_nullNormalsLIVAAD; unsigned int m_lodRa
std::pair<unsigned int,unsigned int> nges;
m_nullNormalsVAS; std::map<unsigned int, unsigned int> m_missi
unsigned int ngMap;
m_redundantLODs; std::pair<unsigned int,unsigned int> m_nullN
unsigned int ormalsLIVAAD;
m_redundantLODRanges; std::pair<unsigned int,unsigned int> m_nullN
std::set<const nvsg::Object *> ormalsVAS;
m_sharedObjects; unsigned int m_redun
std::map<unsigned int, unsigned int> dantLODs;
m_singleChildMap; unsigned int m_redun
std::map<unsigned int, std::pair<unsigned int,unsigned int> > dantLODRanges;
m_shortStripped; std::set<const nvsg::Object *> m_share
dObjects;
std::map<unsigned int, unsigned int> m_singl
eChildMap;
std::map<unsigned int, std::pair<unsigned int,unsigned int> > m_short
Stripped;
}; };
} }
 End of changes. 6 change blocks. 
67 lines changed or deleted 145 lines changed or added


 BalanceTraverser.h   BalanceTraverser.h 
skipping to change at line 17 skipping to change at line 17
// WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, // WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
// BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNI ARY LOSS) // BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNI ARY LOSS)
// ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVI DIA HAS // ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVI DIA HAS
// BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES // BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
#pragma once #pragma once
/** \file */ /** \file */
#include "nvsgcommon.h" // common used stuff #include "nvsgcommon.h" // common used stuff
#include "nvtraverser/ModelViewTraverser.h" // base class definition #include "nvtraverser/ModelViewTraverser.h" // base class definition
#include "nvutil/SmartPtr.h"
namespace nvtraverser namespace nvtraverser
{ {
/*! \brief Balance a flat tree into a somewhat more balanced tree. /*! \brief Balance a flat tree into a somewhat more balanced tree.
* \remarks There are a number of different balancing operations availab le:\n * \remarks There are a number of different balancing operations availab le:\n
* - Balance by children: If a Group or Transform holds more than a spec ified number of children * - Balance by children: If a Group or Transform holds more than a spec ified number of children
* (default: 12), those children are sorted in some kind of octree, thus introducing additional * (default: 12), those children are sorted in some kind of octree, thus introducing additional
* Groups, holding the children of each octel. If such a new Group holds too many children on its * Groups, holding the children of each octel. If such a new Group holds too many children on its
* own, this balancing is done recursively on that Group. * own, this balancing is done recursively on that Group.
* - Balance by vertices: If a PrimitiveSet holds more than a specified number of vertices * - Balance by vertices: If a PrimitiveSet holds more than a specified number of vertices
skipping to change at line 98 skipping to change at line 99
//! Balance this IndependentPrimitiveSet of type Lines. //! Balance this IndependentPrimitiveSet of type Lines.
NVSG_API virtual void handleLines( nvsg::Lines * p ); NVSG_API virtual void handleLines( nvsg::Lines * p );
//! Balance this StrippedPrimitiveSet of type LineStrips. //! Balance this StrippedPrimitiveSet of type LineStrips.
NVSG_API virtual void handleLineStrips( nvsg::LineStrips * p ); NVSG_API virtual void handleLineStrips( nvsg::LineStrips * p );
//! The children of an LOD are not balanced, but all it's levels are traversed for balancing. //! The children of an LOD are not balanced, but all it's levels are traversed for balancing.
NVSG_API virtual void handleLOD( nvsg::LOD * p ); NVSG_API virtual void handleLOD( nvsg::LOD * p );
//! Balance this IndependentPrimitiveSet of type Patches.
NVSG_API virtual void handlePatches( nvsg::Patches *p );
//! Balance this IndependentPrimitiveSet of type Points. //! Balance this IndependentPrimitiveSet of type Points.
NVSG_API virtual void handlePoints( nvsg::Points * p ); NVSG_API virtual void handlePoints( nvsg::Points * p );
//! Balance this MeshedPrimitiveSet of type QuadMeshes. //! Balance this MeshedPrimitiveSet of type QuadMeshes.
NVSG_API virtual void handleQuadMeshes( nvsg::QuadMeshes * p ); NVSG_API virtual void handleQuadMeshes( nvsg::QuadMeshes * p );
//! Balance this IndependentPrimitiveSet of type QuadPatches.
NVSG_API virtual void handleQuadPatches( nvsg::QuadPatches *p );
//! Balance this IndependentPrimitiveSet of type QuadPatches4x4.
NVSG_API virtual void handleQuadPatches4x4( nvsg::QuadPatches4x4 *p )
;
//! Balance this StrippedPrimitiveSet of type QuadStrips. //! Balance this StrippedPrimitiveSet of type QuadStrips.
NVSG_API virtual void handleQuadStrips( nvsg::QuadStrips * p ); NVSG_API virtual void handleQuadStrips( nvsg::QuadStrips * p );
//! Balance this IndependentPrimitiveSet of type Quads. //! Balance this IndependentPrimitiveSet of type Quads.
NVSG_API virtual void handleQuads( nvsg::Quads *p ); NVSG_API virtual void handleQuads( nvsg::Quads *p );
//! Balance this IndependentPrimitiveSet of type RectPatches.
NVSG_API virtual void handleRectPatches( nvsg::RectPatches *p );
//! The children of a Switch are not balanced, but all it's children are traversed for balancing. //! The children of a Switch are not balanced, but all it's children are traversed for balancing.
NVSG_API virtual void handleSwitch( nvsg::Switch * p ); NVSG_API virtual void handleSwitch( nvsg::Switch * p );
//! Balance all children beneath this Transform. //! Balance all children beneath this Transform.
NVSG_API virtual void handleTransform( nvsg::Transform * p ); NVSG_API virtual void handleTransform( nvsg::Transform * p );
//! Balance this IndependentPrimitiveSet of type Triangles. //! Balance this IndependentPrimitiveSet of type Triangles.
NVSG_API virtual void handleTriangles( nvsg::Triangles * p ); NVSG_API virtual void handleTriangles( nvsg::Triangles * p );
//! Balance this StrippedPrimitiveSet of type TriFans. //! Balance this StrippedPrimitiveSet of type TriFans.
NVSG_API virtual void handleTriFans( nvsg::TriFans * p ); NVSG_API virtual void handleTriFans( nvsg::TriFans * p );
//! Balance this IndependentPrimitiveSet of type TriPatches.
NVSG_API virtual void handleTriPatches( nvsg::TriPatches *p );
//! Balance this IndependentPrimitiveSet of type TriPatches4.
NVSG_API virtual void handleTriPatches4( nvsg::TriPatches4 *p );
//! Balance this StrippedPrimitiveSet of type TriStrips. //! Balance this StrippedPrimitiveSet of type TriStrips.
NVSG_API virtual void handleTriStrips( nvsg::TriStrips * p ); NVSG_API virtual void handleTriStrips( nvsg::TriStrips * p );
//! determine whether this node can be optimized or not //! determine whether this node can be optimized or not
NVSG_API virtual bool optimizationAllowed ( const nvsg::Object * p ); NVSG_API virtual bool optimizationAllowed ( const nvsg::Object * p );
private: private:
typedef nvutil::SmartPtr<nvsg::PrimitiveSetHandle> SmartPrimitiveSetH
andle;
void balanceGroup( nvsg::Group * p ); void balanceGroup( nvsg::Group * p );
template<typename T, typename TH> template<typename T, typename TH>
void balanceIndependentPrimitiveSet( T * p, unsigned int indicesPer Primitive void balanceIndependentPrimitiveSet( T * p, unsigned int indicesPer Primitive
, std::vector<nvsg::PrimitiveSet Handle*> & replacements ); , std::vector<SmartPrimitiveSetH andle> & replacements );
template<typename T, typename TH> template<typename T, typename TH>
void balanceMeshedPrimitiveSet( T * p, std::vector<nvsg::PrimitiveS etHandle*> & replacements ); void balanceMeshedPrimitiveSet( T * p, std::vector<SmartPrimitiveSe tHandle> & replacements );
template<typename T, typename TH> template<typename T, typename TH>
void balanceStrippedPrimitiveSet( T * p, std::vector<nvsg::Primitiv eSetHandle*> & replacements ); void balanceStrippedPrimitiveSet( T * p, std::vector<SmartPrimitive SetHandle> & replacements );
void cutMesh( const nvsg::IndexMesh & mesh, std::vector<nvsg::IndexMe sh> & newMeshes ); void cutMesh( const nvsg::IndexMesh & mesh, std::vector<nvsg::IndexMe sh> & newMeshes );
void cutStrip( const nvsg::LineStrips * p, const nvsg::IndexSet & str ip void cutStrip( const nvsg::LineStrips * p, const nvsg::IndexSet & str ip
, std::vector<nvsg::IndexSet> & newStrips ); , std::vector<nvsg::IndexSet> & newStrips );
void cutStrip( const nvsg::QuadStrips * p, const nvsg::IndexSet & str ip void cutStrip( const nvsg::QuadStrips * p, const nvsg::IndexSet & str ip
, std::vector<nvsg::IndexSet> & newStrips ); , std::vector<nvsg::IndexSet> & newStrips );
void cutStrip( const nvsg::TriFans * p, const nvsg::IndexSet & strip void cutStrip( const nvsg::TriFans * p, const nvsg::IndexSet & strip
, std::vector<nvsg::IndexSet> & newStrips ); , std::vector<nvsg::IndexSet> & newStrips );
void cutStrip( const nvsg::TriStrips * p, const nvsg::IndexSet & stri p void cutStrip( const nvsg::TriStrips * p, const nvsg::IndexSet & stri p
, std::vector<nvsg::IndexSet> & newStrips ); , std::vector<nvsg::IndexSet> & newStrips );
void getSubMesh( const nvsg::IndexMesh & mesh, unsigned int x, unsign ed int y void getSubMesh( const nvsg::IndexMesh & mesh, unsigned int x, unsign ed int y
, unsigned int w, unsigned int h, std::vector<nvsg::In dexMesh> & newMeshes ); , unsigned int w, unsigned int h, std::vector<nvsg::In dexMesh> & newMeshes );
template<typename StripType> template<typename StripType>
void getSubStrip( StripType * p, const nvsg::IndexSet & strip, unsi gned int x void getSubStrip( StripType * p, const nvsg::IndexSet & strip, unsi gned int x
, unsigned int w, std::vector<nvsg::IndexSet> & new Strips ); , unsigned int w, std::vector<nvsg::IndexSet> & new Strips );
private: private:
unsigned int m_balanceTargets; unsigned int m_balanceTargets;
unsigned int m_maximalNumberOfChildren; unsigned int m_maximalNumberOfChildren;
unsigned int m_maximalNumberOfVertices; unsigned int m_maximalNumberOfVertices;
std::map<nvsg::PrimitiveSetHandle*,std::vector<nvsg::PrimitiveSetHand le*> > m_replacementMap; std::map<SmartPrimitiveSetHandle,std::vector<SmartPrimitiveSetHandle> > m_replacementMap;
}; };
inline unsigned int BalanceTraverser::getBalanceTargets() const inline unsigned int BalanceTraverser::getBalanceTargets() const
{ {
return( m_balanceTargets ); return( m_balanceTargets );
} }
inline void BalanceTraverser::setBalanceTargets( unsigned int mask ) inline void BalanceTraverser::setBalanceTargets( unsigned int mask )
{ {
m_balanceTargets = mask; m_balanceTargets = mask;
 End of changes. 10 change blocks. 
4 lines changed or deleted 27 lines changed or added


 CgFx.h   CgFx.h 
skipping to change at line 31 skipping to change at line 31
{ {
// forward declaration of internal types // forward declaration of internal types
class CgFxEffectResource; class CgFxEffectResource;
struct CGIAnnotation; struct CGIAnnotation;
struct CGIParameter; struct CGIParameter;
struct CGITechnique; struct CGITechnique;
struct CGIPass; struct CGIPass;
struct CGIProgram; struct CGIProgram;
struct CGIBuffer; struct CGIBuffer;
struct CGIErrorInfo;
/*! \brief Typedef for an annotation handle. */ /*! \brief Typedef for an annotation handle. */
typedef CGIAnnotation * CgFxAnnotation; typedef CGIAnnotation * CgFxAnnotation;
/*! \brief Typedef for a parameter handle. */ /*! \brief Typedef for a parameter handle. */
typedef CGIParameter * CgFxParameter; typedef CGIParameter * CgFxParameter;
/*! \brief Typedef for a technique handle. */ /*! \brief Typedef for a technique handle. */
typedef CGITechnique * CgFxTechnique; typedef CGITechnique * CgFxTechnique;
/*! \brief Typedef for a pass handle. */ /*! \brief Typedef for a pass handle. */
typedef CGIPass * CgFxPass; typedef CGIPass * CgFxPass;
/*! \brief Typedef for a program handle. */ /*! \brief Typedef for a program handle. */
skipping to change at line 76 skipping to change at line 77
* two APIs CgFxContext::getStateMachine, and CgFxContext::setStateMachine. * two APIs CgFxContext::getStateMachine, and CgFxContext::setStateMachine.
* \n\n * \n\n
* There is no need for the SceniX user to take care of CgFxContext creatio n or deletion. This * There is no need for the SceniX user to take care of CgFxContext creatio n or deletion. This
* entirely is handled by the SceniX core framework. Effects that are going to be applied to a * entirely is handled by the SceniX core framework. Effects that are going to be applied to a
* certain geometry by means of a CgFx state attribute, automatically will share the global * certain geometry by means of a CgFx state attribute, automatically will share the global
* CgFxContext singleton object which is available after nvsg::nvsgInitiali ze returns. * CgFxContext singleton object which is available after nvsg::nvsgInitiali ze returns.
*/ */
class CgFxContext class CgFxContext
{ {
friend class CgFxEffect; friend class CgFxEffect;
friend NVSG_API std::string cgfxGetLastError(CGerror&);
public: public:
/*! \brief CgFxStateMachineEnum enumeration type /*! \brief CgFxStateMachineEnum enumeration type
*/ */
enum CgFxStateMachineEnum enum CgFxStateMachineEnum
{ {
CGFX_STATE_MACHINE_INVALID = 0, /*!< Indicates an invalid state machine . */ CGFX_STATE_MACHINE_INVALID = 0, /*!< Indicates an invalid state machine . */
CGFX_STATE_MACHINE_GL /*!< Indicates an OpenGL state machine. */ CGFX_STATE_MACHINE_GL /*!< Indicates an OpenGL state machine. */
}; };
skipping to change at line 273 skipping to change at line 275
NVSG_API void setBufferSubData( CgFxBuffer buf, size_t offset, const void * data, size_t size ); NVSG_API void setBufferSubData( CgFxBuffer buf, size_t offset, const void * data, size_t size );
/*! \brief Gets the maximum allowable index for CgFxBuffer objects. /*! \brief Gets the maximum allowable index for CgFxBuffer objects.
* \par Namespace: nvsg * \par Namespace: nvsg
* \remarks * \remarks
* This method will typically return '9' meaning 10 buffers are availabl e * This method will typically return '9' meaning 10 buffers are availabl e
* to each program stage in an effect. This number will always be less * to each program stage in an effect. This number will always be less
* than the hardware's maximum, since SceniX reserves several buffers fo r * than the hardware's maximum, since SceniX reserves several buffers fo r
* future global parameter updates. * future global parameter updates.
*/ */
NVSG_API unsigned int getBufferMaxIndex( void ); NVSG_API unsigned int getBufferMaxIndex();
/*! \brief Gets the maximum allowable size for CgFxBuffer objects, in byt es. /*! \brief Gets the maximum allowable size for CgFxBuffer objects, in byt es.
* \par Namespace: nvsg * \par Namespace: nvsg
* \remarks * \remarks
* While GL buffer objects can be very large, CgFxBuffers are limited in * While GL buffer objects can be very large, CgFxBuffers are limited in
* size. This size is hardware dependent, and on G80 is currently 4096 * size. This size is hardware dependent, and on G80 is currently 4096
* vectors of 4 floats, or 16384 bytes. * vectors of 4 floats, or 16384 bytes.
*
*/ */
NVSG_API unsigned int getBufferMaxSize( void ); NVSG_API unsigned int getBufferMaxSize();
private: private:
CgFxStateMachineEnum m_stateMachine; // indicates currently configured st ate machine CgFxStateMachineEnum m_stateMachine; // indicates currently configured st ate machine
int m_nGPUs; // the number of CGcontexts in CGMcontext (cached for speedy access) int m_nGPUs; // the number of CGcontexts in CGMcontext (cached for speedy access)
CGMcontext m_context; // shareable CGMcontext CGMcontext m_context; // shareable CGMcontext
nvutil::SWMRSync m_lock; // for exclusive locking purposes nvutil::SWMRSync m_lock; // for exclusive locking purposes
CGIErrorInfo * m_errorInfo; // info to populate by our internal error cal lback
}; };
/*! \brief Returns the CgFxContext singleton object. /*! \brief Returns the CgFxContext singleton object.
* \returns * \return
* The function returns a pointer to the CgFxContext singleton object used in the SceniX core. * The function returns a pointer to the CgFxContext singleton object used in the SceniX core.
* \remarks * \remarks
* The SceniX core uses a CgFxContext singleton object that will be shared between all effects * The SceniX core uses a CgFxContext singleton object that will be shared between all effects
* in a Scene. * in a Scene.
*/ */
NVSG_API CgFxContext * cgfxContext(); NVSG_API CgFxContext * cgfxContext();
/*! \brief Returns last error that occurred during a Cg-runtime operation.
* \param error Retrieves the CGerror code.
* \return The last error listing from the CGcontext that was current while
the error occurred.
* \remarks
* The function retrieves the last most error that occurred during a Cg-run
time operation
* and returns the corresponding listing as string. The last error retrieve
d will be popped
* off the internal error stack. Immediately calling this function again wi
ll retrieve the
* second last error and so on. If no errors are left anymore on the intern
al stack,
* CG_NO_ERROR will be retrieved.
*/
NVSG_API std::string cgfxGetLastError(CGerror& error);
/*! \brief Abstracts a render effect to be applied to a specific geometry. /*! \brief Abstracts a render effect to be applied to a specific geometry.
* \par Namespace: nvsg * \par Namespace: nvsg
* \remarks * \remarks
* This class provides interfaces that lets you * This class provides interfaces that lets you
* *
* - Create a render effect from either a file or a source string, * - Create a render effect from either a file or a source string,
* - Query dependent data from the underlying effect resource, * - Query dependent data from the underlying effect resource,
* - Exchange dependent data with the underlying effect resource, and * - Exchange dependent data with the underlying effect resource, and
* - Apply the render effect to a specific geometry. * - Apply the render effect to a specific geometry.
* *
skipping to change at line 2669 skipping to change at line 2683
* Use CgFxEffect::isFloatParameter to test whether a certain parameter is a float-type parameter. * Use CgFxEffect::isFloatParameter to test whether a certain parameter is a float-type parameter.
* \n\n * \n\n
* The number of floats that will be copied from \a value corresponds to the number of value * The number of floats that will be copied from \a value corresponds to the number of value
* components for the specified float-type parameter. * components for the specified float-type parameter.
* Use CgFxEffect::getNumberOfParameterValueComponents to determine the number of value * Use CgFxEffect::getNumberOfParameterValueComponents to determine the number of value
* components for the specified parameter. * components for the specified parameter.
* \n\n * \n\n
* Calling this function for an invalid parameter handle results in unde fined runtime behavior. * Calling this function for an invalid parameter handle results in unde fined runtime behavior.
* You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName, or * You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName, or
* CgFxEffect::getParameterBySemantic to get a valid handle to a certain effect parameter. * CgFxEffect::getParameterBySemantic to get a valid handle to a certain effect parameter.
* \sa CgFxEffect::getFloatParameterValue * \note
* This function stores the parameter value in an internal flush list, a
nd it's flushed with the
* next call to applyPass.
* \sa CgFxEffect::getFloatParameterValue, CgFxEffect::flushFloatParamet
erValue
*/ */
NVSG_API bool setFloatParameterValue(CgFxParameter param, const float* va lue); NVSG_API bool setFloatParameterValue(CgFxParameter param, const float* va lue);
/*! \brief Flush the value of a float-type parameter.
* \param
* param Handle to the parameter for which to set the value.
* \param
* value Pointer to a buffer from which to read the new value.
* \return
* The function returns \c true if the parameter value could be updated
successfully.
* Otherwise, the function returns \c false.
* \remarks
* Use this function to immediatly update the value of a float-type para
meter.
* The function returns \c false if called for parameters other than flo
at-type parameters to
* indicate that no values have been updated.
* Use CgFxEffect::isFloatParameter to test whether a certain parameter
is a float-type parameter.
* \n\n
* The number of floats that will be copied from \a value corresponds to
the number of value
* components for the specified float-type parameter.
* Use CgFxEffect::getNumberOfParameterValueComponents to determine the
number of value
* components for the specified parameter.
* \n\n
* Calling this function for an invalid parameter handle results in unde
fined runtime behavior.
* You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName,
or
* CgFxEffect::getParameterBySemantic to get a valid handle to a certain
effect parameter.
* \note
* This function directly flushes the parameter value. Its value is not
stored locally for later
* flushes during calls to applyPass. If that same CgFxParameter is also
set via setFloatParameterValue
* and thus locally stored, that locally stored value is flushed with th
e next applyPass.
* \sa CgFxEffect::getFloatParameterValue, CgFxEffect::setFloatParameter
Value
*/
NVSG_API bool flushFloatParameterValue(CgFxParameter param, const float*
value);
/*! \brief Returns the value of a integer-type parameter. /*! \brief Returns the value of a integer-type parameter.
* \param * \param
* param Handle to the parameter from which to retrieve the value. * param Handle to the parameter from which to retrieve the value.
* \param * \param
* value Pointer to a buffer that receives the value. * value Pointer to a buffer that receives the value.
* \return * \return
* The function returns \c true if the value could be retrieved successf ully. * The function returns \c true if the value could be retrieved successf ully.
* Otherwise, the function returns false. * Otherwise, the function returns false.
* \remarks * \remarks
* Use this function to retrieve the value of an integer-type parameter. * Use this function to retrieve the value of an integer-type parameter.
skipping to change at line 2723 skipping to change at line 2770
* Use CgFxEffect::isIntParameter to test whether a certain parameter is a integer-type parameter. * Use CgFxEffect::isIntParameter to test whether a certain parameter is a integer-type parameter.
* \n\n * \n\n
* The number of integers that will be copied from \a value corresponds to the number of value * The number of integers that will be copied from \a value corresponds to the number of value
* components for the specified integer-type parameter. * components for the specified integer-type parameter.
* Use CgFxEffect::getNumberOfParameterValueComponents to determine the number of value * Use CgFxEffect::getNumberOfParameterValueComponents to determine the number of value
* components for the specified parameter. * components for the specified parameter.
* \n\n * \n\n
* Calling this function for an invalid parameter handle results in unde fined runtime behavior. * Calling this function for an invalid parameter handle results in unde fined runtime behavior.
* You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName, or * You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName, or
* CgFxEffect::getParameterBySemantic to get a valid handle to a certain effect parameter. * CgFxEffect::getParameterBySemantic to get a valid handle to a certain effect parameter.
* \sa CgFxEffect::getIntParameterValue * \note
* This function stores the parameter value in an internal flush list, a
nd it's flushed with the
* next call to applyPass.
* \sa CgFxEffect::getIntParameterValue, CgFxEffect::flushIntParameterVa
lue
*/ */
NVSG_API bool setIntParameterValue(CgFxParameter param, const int* value) ; NVSG_API bool setIntParameterValue(CgFxParameter param, const int* value) ;
/*! \brief Flush the value of an integer-type parameter.
* \param
* param Handle to the parameter for which to set the value.
* \param
* value Pointer to a buffer from which to read the new value.
* \return
* The function returns \c true if the parameter value could be updated
successfully.
* Otherwise, the function returns \c false.
* \remarks
* Use this function to immediatly update the value of an integer-type p
arameter.
* The function returns \c false if called for parameters other than int
eger-type parameters to
* indicate that no values have been updated.
* Use CgFxEffect::isIntParameter to test whether a certain parameter is
an integer-type parameter.
* \n\n
* The number of integers that will be copied from \a value corresponds
to the number of value
* components for the specified integer-type parameter.
* Use CgFxEffect::getNumberOfParameterValueComponents to determine the
number of value
* components for the specified parameter.
* \n\n
* Calling this function for an invalid parameter handle results in unde
fined runtime behavior.
* You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName,
or
* CgFxEffect::getParameterBySemantic to get a valid handle to a certain
effect parameter.
* \note
* This function directly flushes the parameter value. Its value is not
stored locally for later
* flushes during calls to applyPass. If that same CgFxParameter is also
set via setIntParameterValue
* and thus locally stored, that locally stored value is flushed with th
e next applyPass.
* \sa CgFxEffect::getIntParameterValue, CgFxEffect::setIntParameterValu
e
*/
NVSG_API bool flushIntParameterValue(CgFxParameter param, const int* valu
e);
/*! \brief Returns the value of a 32-bit boolean-type parameter. /*! \brief Returns the value of a 32-bit boolean-type parameter.
* \param * \param
* param Handle to the parameter from which to retrieve the value. * param Handle to the parameter from which to retrieve the value.
* \param * \param
* value Pointer to a buffer that receives the value. * value Pointer to a buffer that receives the value.
* \return * \return
* The function returns \c true if the value could be retrieved successf ully. * The function returns \c true if the value could be retrieved successf ully.
* Otherwise, the function returns false. * Otherwise, the function returns false.
* \remarks * \remarks
* Use this function to retrieve the value of a boolean-type parameter. * Use this function to retrieve the value of a boolean-type parameter.
skipping to change at line 2779 skipping to change at line 2859
* parameter. * parameter.
* \n\n * \n\n
* The number of 32-bit booleans that will be copied from \a value corre sponds to the number of * The number of 32-bit booleans that will be copied from \a value corre sponds to the number of
* value components for the specified boolean-type parameter. * value components for the specified boolean-type parameter.
* Use CgFxEffect::getNumberOfParameterValueComponents to determine the number of value * Use CgFxEffect::getNumberOfParameterValueComponents to determine the number of value
* components for the specified parameter. * components for the specified parameter.
* \n\n * \n\n
* Calling this function for an invalid parameter handle results in unde fined runtime behavior. * Calling this function for an invalid parameter handle results in unde fined runtime behavior.
* You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName, or * You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName, or
* CgFxEffect::getParameterBySemantic to get a valid handle to a certain effect parameter. * CgFxEffect::getParameterBySemantic to get a valid handle to a certain effect parameter.
* \sa CgFxEffect::getBoolParameterValue * \note
* This function stores the parameter value in an internal flush list, a
nd it's flushed with the
* next call to applyPass.
* \sa CgFxEffect::getBoolParameterValue, CgFxEffect::flushBoolParameter
Value
*/ */
NVSG_API bool setBoolParameterValue(CgFxParameter param, const int* value ); NVSG_API bool setBoolParameterValue(CgFxParameter param, const int* value );
/*! \brief Flush the value of a 32-bit boolean-type parameter.
* \param
* param Handle to the parameter for which to set the value.
* \param
* value Pointer to a buffer from which to read the new value.
* \return
* The function returns \c true if the parameter value could be updated
successfully.
* Otherwise, the function returns \c false.
* \remarks
* Use this function to update the value of a boolean-type parameter.
* The function returns \c false if called for parameters other than boo
lean-type parameters to
* indicate that no values have been updated.
* Use CgFxEffect::isBoolParameter to test whether a certain parameter i
s a boolean-type
* parameter.
* \n\n
* The number of 32-bit booleans that will be copied from \a value corre
sponds to the number of
* value components for the specified boolean-type parameter.
* Use CgFxEffect::getNumberOfParameterValueComponents to determine the
number of value
* components for the specified parameter.
* \n\n
* Calling this function for an invalid parameter handle results in unde
fined runtime behavior.
* You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName,
or
* CgFxEffect::getParameterBySemantic to get a valid handle to a certain
effect parameter.
* \note
* This function directly flushes the parameter value. Its value is not
stored locally for later
* flushes during calls to applyPass. If that same CgFxParameter is also
set via setBoolParameterValue
* and thus locally stored, that locally stored value is flushed with th
e next applyPass.
* \sa CgFxEffect::getBoolParameterValue, CgFxEffect::setBoolParameterVa
lue
*/
NVSG_API bool flushBoolParameterValue(CgFxParameter param, const int* val
ue);
/*! \brief Returns the string value of a string-type parameter. /*! \brief Returns the string value of a string-type parameter.
* \param * \param
* param Handle to the string-type parameter to query. * param Handle to the string-type parameter to query.
* \param * \param
* value Reference to a STL string that receives the string value. * value Reference to a STL string that receives the string value.
* \return * \return
* The function returns \c true if the string could have been retrieved successfully. * The function returns \c true if the string could have been retrieved successfully.
* Otherwise the function returns \c false. * Otherwise the function returns \c false.
* \remarks * \remarks
* Use this function to retrieve the string from a string-type parameter . * Use this function to retrieve the string from a string-type parameter .
skipping to change at line 2820 skipping to change at line 2934
* \return * \return
* Use this function to update the string value of a string-type paramet er. * Use this function to update the string value of a string-type paramet er.
* The function returns \c false if called for parameters other than str ing-type parameters to * The function returns \c false if called for parameters other than str ing-type parameters to
* indicate that the parameter's string value has not been updated. * indicate that the parameter's string value has not been updated.
* Use CgFxEffect::isStringParameter to test whether a certain parameter is a string-type * Use CgFxEffect::isStringParameter to test whether a certain parameter is a string-type
* parameter. * parameter.
* \n\n * \n\n
* Calling this function for an invalid parameter handle results in unde fined runtime behavior. * Calling this function for an invalid parameter handle results in unde fined runtime behavior.
* You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName, or * You can use CgFxEffect::getTweakable, CgFxEffect::getParameterByName, or
* CgFxEffect::getParameterBySemantic to get a valid handle to a certain effect parameter. * CgFxEffect::getParameterBySemantic to get a valid handle to a certain effect parameter.
* \sa CgFxEffect::getStringParameterValue * \sa CgFxEffect::getStringParameterValue, CgFxEffect::flushStringParam eterValue
*/ */
NVSG_API bool setStringParameterValue(CgFxParameter param, const std::str ing& value); NVSG_API bool setStringParameterValue(CgFxParameter param, const std::str ing& value);
/*! \brief Resets the specified Scene to default. /*! \brief Resets the specified Scene to default.
* \param * \param
* param Handle to the Scene to reset * param Handle to the Scene to reset
* \remarks * \remarks
* Calling this function for other than Scene parameters results in unde fined behavior. * Calling this function for other than Scene parameters results in unde fined behavior.
* Use CgFxEffect::isSceneParameter to test whether a certain parameter is a Scene * Use CgFxEffect::isSceneParameter to test whether a certain parameter is a Scene
* parameter. * parameter.
skipping to change at line 4322 skipping to change at line 4436
* The function returns \c true if the validation succeeded. * The function returns \c true if the validation succeeded.
* Otherwise the function returns \c false. * Otherwise the function returns \c false.
* \remarks * \remarks
* Before using the current technique, it is important to validate it. * Before using the current technique, it is important to validate it.
* A technique validation can fail if, for instance, for a fragment prog ram an unsupported * A technique validation can fail if, for instance, for a fragment prog ram an unsupported
* profile is used, or if the technique includes an unsupported state as signment. * profile is used, or if the technique includes an unsupported state as signment.
* \sa CgFxEffect::setCurrentTechnique * \sa CgFxEffect::setCurrentTechnique
*/ */
NVSG_API bool validateCurrentTechnique(); NVSG_API bool validateCurrentTechnique();
/*! \brief Returns whether the specified technique contains tessellation
a program.
* \param
* tech Handle to the technique to query.
* \return
* The function returns \c true if the specified technique contains a te
ssellation program, otherwise \c false.
* \remarks
* Calling this function for an invalid technique results in undefined b
ehavior. Use either
* CgFxEffect::getTechnique or CgFxEffect::getTechniqueByName to get hol
d of valid techniques
* defined in the effect.
*/
NVSG_API bool containsTessellationProgram( CgFxTechnique tech ) const;
/*! \brief Returns the number of render passes defined for the specified technique. /*! \brief Returns the number of render passes defined for the specified technique.
* \param * \param
* tech Handle to the technique to query. * tech Handle to the technique to query.
* \return * \return
* The function returns the number of passes defined for the specified t echnique. * The function returns the number of passes defined for the specified t echnique.
* \remarks * \remarks
* A pass in CgFX defines, for example, what vertex and fragment program s should be applied, and * A pass in CgFX defines, for example, what vertex and fragment program s should be applied, and
* what specific render states need to be assigned to achieve the desire d render effect. * what specific render states need to be assigned to achieve the desire d render effect.
* \n\n * \n\n
* Use this function together with CgFxEffect::getPass to iterate throug h all passes defined in * Use this function together with CgFxEffect::getPass to iterate throug h all passes defined in
skipping to change at line 4679 skipping to change at line 4805
/*! \brief Returns the vertex program defined for the specified pass /*! \brief Returns the vertex program defined for the specified pass
* \param * \param
* pass Handle to the pass to query. * pass Handle to the pass to query.
* \return * \return
* If a vertex program is defined for the specified pass, the function r eturns a handle to that * If a vertex program is defined for the specified pass, the function r eturns a handle to that
* vertex program. Otherwise, the function returns NULL. * vertex program. Otherwise, the function returns NULL.
*/ */
NVSG_API CgFxProgram getVertexProgram(CgFxPass pass) const; NVSG_API CgFxProgram getVertexProgram(CgFxPass pass) const;
/*! \brief Returns the tessellation control program defined for the speci
fied pass
* \param
* pass Handle to the pass to query.
* \return
* If a tessellation control program is defined for the specified pass,
the function returns a handle to that
* tessellation control program. Otherwise, the function returns NULL.
*/
NVSG_API CgFxProgram getTessellationControlProgram(CgFxPass pass) const;
/*! \brief Returns the tessellation evaluation program defined for the sp
ecified pass
* \param
* pass Handle to the pass to query.
* \return
* If a tessellation evaluation program is defined for the specified pas
s, the function returns a handle to that
* tessellation evaluation program. Otherwise, the function returns NULL
.
*/
NVSG_API CgFxProgram getTessellationEvaluationProgram(CgFxPass pass) cons
t;
/*! \brief Returns the geometry program defined for the specified pass /*! \brief Returns the geometry program defined for the specified pass
* \param * \param
* pass Handle to the pass to query. * pass Handle to the pass to query.
* \return * \return
* If a geometry program is defined for the specified pass, the function returns a handle to that * If a geometry program is defined for the specified pass, the function returns a handle to that
* geometry program. Otherwise, the function returns NULL. * geometry program. Otherwise, the function returns NULL.
*/ */
NVSG_API CgFxProgram getGeometryProgram(CgFxPass pass) const; NVSG_API CgFxProgram getGeometryProgram(CgFxPass pass) const;
/*! \brief Returns the fragment program defined for the specified pass /*! \brief Returns the fragment program defined for the specified pass
 End of changes. 17 change blocks. 
8 lines changed or deleted 214 lines changed or added


 CombineTraverser.h   CombineTraverser.h 
skipping to change at line 88 skipping to change at line 88
//! Gather Lines to combine PrimitiveSets. //! Gather Lines to combine PrimitiveSets.
NVSG_API virtual void handleLines( nvsg::Lines * p ); NVSG_API virtual void handleLines( nvsg::Lines * p );
//! Gather LineStrips to combine PrimitiveSets. //! Gather LineStrips to combine PrimitiveSets.
NVSG_API virtual void handleLineStrips( nvsg::LineStrips * p ); NVSG_API virtual void handleLineStrips( nvsg::LineStrips * p );
//! Combine all consecutive LOD ranges referencing the same Node. //! Combine all consecutive LOD ranges referencing the same Node.
NVSG_API virtual void handleLOD( nvsg::LOD * p ); NVSG_API virtual void handleLOD( nvsg::LOD * p );
//! Gather Patches to combine PrimitiveSets.
NVSG_API virtual void handlePatches( nvsg::Patches * p );
//! Gather Points to combine PrimitiveSets. //! Gather Points to combine PrimitiveSets.
NVSG_API virtual void handlePoints( nvsg::Points * p ); NVSG_API virtual void handlePoints( nvsg::Points * p );
//! Gather QuadMeshes to combine PrimitiveSets. //! Gather QuadMeshes to combine PrimitiveSets.
NVSG_API virtual void handleQuadMeshes( nvsg::QuadMeshes * p ); NVSG_API virtual void handleQuadMeshes( nvsg::QuadMeshes * p );
//! Gather QuadPatches to combine PrimitiveSets.
NVSG_API virtual void handleQuadPatches( nvsg::QuadPatches * p );
//! Gather QuadPatches4x4 to combine PrimitiveSets.
NVSG_API virtual void handleQuadPatches4x4( nvsg::QuadPatches4x4 * p
);
//! Gather Quads to combine PrimitiveSets. //! Gather Quads to combine PrimitiveSets.
NVSG_API virtual void handleQuads( nvsg::Quads * p ); NVSG_API virtual void handleQuads( nvsg::Quads * p );
//! Gather QuadStrips to combine PrimitiveSets. //! Gather QuadStrips to combine PrimitiveSets.
NVSG_API virtual void handleQuadStrips( nvsg::QuadStrips * p ); NVSG_API virtual void handleQuadStrips( nvsg::QuadStrips * p );
//! Gather RectPatches to combine PrimitiveSets.
NVSG_API virtual void handleRectPatches( nvsg::RectPatches * p );
//! Combine all GeoNodes and LODs directly underneath this Transform. //! Combine all GeoNodes and LODs directly underneath this Transform.
NVSG_API virtual void handleTransform( nvsg::Transform * p ); NVSG_API virtual void handleTransform( nvsg::Transform * p );
//! Gather Triangles to combine PrimitiveSets. //! Gather Triangles to combine PrimitiveSets.
NVSG_API virtual void handleTriangles( nvsg::Triangles * p ); NVSG_API virtual void handleTriangles( nvsg::Triangles * p );
//! Gather TriFans to combine PrimitiveSets. //! Gather TriFans to combine PrimitiveSets.
NVSG_API virtual void handleTriFans( nvsg::TriFans * p ); NVSG_API virtual void handleTriFans( nvsg::TriFans * p );
//! Gather TriPatches to combine PrimitiveSets.
NVSG_API virtual void handleTriPatches( nvsg::TriPatches * p );
//! Gather TriPatches4 to combine PrimitiveSets.
NVSG_API virtual void handleTriPatches4( nvsg::TriPatches4 * p );
//! Gather TriStrips to combine PrimitiveSets. //! Gather TriStrips to combine PrimitiveSets.
NVSG_API virtual void handleTriStrips( nvsg::TriStrips * p ); NVSG_API virtual void handleTriStrips( nvsg::TriStrips * p );
//! Keep track of the current StateSet. //! Keep track of the current StateSet.
NVSG_API virtual bool preTraverseDrawables(const nvsg::GeoNode* gnode , unsigned int geomIndex); NVSG_API virtual bool preTraverseDrawables(const nvsg::GeoNode* gnode , unsigned int geomIndex);
private: private:
template<typename T>
class PrimitiveMap : public std::map<nvsg::StateSetHandle*,std::vecto
r<std::vector<T*> > >
{
};
private:
bool areCompatible( const nvsg::GeoNode *p0, const nvsg::GeoNode *p1 ); bool areCompatible( const nvsg::GeoNode *p0, const nvsg::GeoNode *p1 );
bool areCompatible( const nvsg::Group *p0, const nvsg::Group *p1 ); bool areCompatible( const nvsg::Group *p0, const nvsg::Group *p1 );
bool areCompatible( const nvsg::LOD *p0, const nvsg::LOD *p1 ); bool areCompatible( const nvsg::LOD *p0, const nvsg::LOD *p1 );
bool areCompatible( const nvsg::Object *p0, const nvsg::Object *p1 ); bool areCompatible( const nvsg::Object *p0, const nvsg::Object *p1 );
bool areCompatible( const nvsg::Transform *p0, const nvsg::Transform *p1 ); bool areCompatible( const nvsg::Transform *p0, const nvsg::Transform *p1 );
void combineGeoNodes( nvsg::Group *p ); void combineGeoNodes( nvsg::Group *p );
void combineLODs( nvsg::Group *p ); void combineLODs( nvsg::Group *p );
void combineLODRanges( nvsg::LOD *p ); void combineLODRanges( nvsg::LOD *p );
void combineTransforms( nvsg::Group *p ); void combineTransforms( nvsg::Group *p );
skipping to change at line 157 skipping to change at line 181
nvsg::MeshedPrimitiveSetHandle * simpleCombine( nvsg::MeshedPrimitive SetHandle * p0 nvsg::MeshedPrimitiveSetHandle * simpleCombine( nvsg::MeshedPrimitive SetHandle * p0
, nvsg::MeshedPrimitive SetHandle * p1 ); , nvsg::MeshedPrimitive SetHandle * p1 );
nvsg::StrippedPrimitiveSetHandle * simpleCombine( nvsg::StrippedPrimi tiveSetHandle * p0 nvsg::StrippedPrimitiveSetHandle * simpleCombine( nvsg::StrippedPrimi tiveSetHandle * p0
, nvsg::StrippedPrimi tiveSetHandle * p1 ); , nvsg::StrippedPrimi tiveSetHandle * p1 );
private: private:
unsigned int m_combineTargets; unsigned int m_combineTargets;
bool m_ignoreAccelerationBuilderHints; bool m_ignoreAccelerationBuilderHints;
// for PrimitiveSet combining // for PrimitiveSet combining
nvsg::StateSetHandle * m_currentStateSet; nvsg::StateSetHandle * m_currentStateSet;
// For each primitive type, hold a map from the current StateSet to a vector of vector of primitives. // For each primitive type, hold a map from the current StateSet to a vector of vector of primitives.
// The Primitives in the second level vector are compatible to each of them. // The Primitives in the second level vector are compatible to each of them.
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::LinesH PrimitiveMap<nvsg::LinesHandle> m_lines;
andle *> > > m_lines; PrimitiveMap<nvsg::LineStripsHandle> m_lineStrips;
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::LineSt PrimitiveMap<nvsg::PointsHandle> m_points;
ripsHandle *> > > m_lineStrips; PrimitiveMap<nvsg::PatchesHandle> m_patches;
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::Points PrimitiveMap<nvsg::QuadMeshesHandle> m_quadMeshes;
Handle *> > > m_points; PrimitiveMap<nvsg::QuadPatchesHandle> m_quadPatches;
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::QuadMe PrimitiveMap<nvsg::QuadPatches4x4Handle> m_quadPatches4x4;
shesHandle *> > > m_quadMeshes; PrimitiveMap<nvsg::QuadsHandle> m_quads;
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::QuadsH PrimitiveMap<nvsg::QuadStripsHandle> m_quadStrips;
andle *> > > m_quads; PrimitiveMap<nvsg::RectPatchesHandle> m_rectPatches;
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::QuadSt PrimitiveMap<nvsg::TrianglesHandle> m_triangles;
ripsHandle *> > > m_quadStrips; PrimitiveMap<nvsg::TriFansHandle> m_triFans;
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::Triang PrimitiveMap<nvsg::TriPatchesHandle> m_triPatches;
lesHandle *> > > m_triangles; PrimitiveMap<nvsg::TriPatches4Handle> m_triPatches4;
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::TriFan PrimitiveMap<nvsg::TriStripsHandle> m_triStrips;
sHandle *> > > m_triFans;
std::map<nvsg::StateSetHandle *, std::vector<std::vector<nvsg::TriStr
ipsHandle *> > > m_triStrips;
}; };
inline unsigned int CombineTraverser::getCombineTargets() const inline unsigned int CombineTraverser::getCombineTargets() const
{ {
return( m_combineTargets ); return( m_combineTargets );
} }
inline void CombineTraverser::setCombineTargets( unsigned int mask ) inline void CombineTraverser::setCombineTargets( unsigned int mask )
{ {
m_combineTargets = mask; m_combineTargets = mask;
 End of changes. 7 change blocks. 
19 lines changed or deleted 42 lines changed or added


 CoreTypes.h   CoreTypes.h 
skipping to change at line 15 skipping to change at line 15
// AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA OR ITS S UPPLIERS // AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA OR ITS S UPPLIERS
// BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGE S // BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGE S
// WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, // WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
// BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNI ARY LOSS) // BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNI ARY LOSS)
// ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVI DIA HAS // ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVI DIA HAS
// BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES // BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
#pragma once #pragma once
#include "nvutil/Handle.h" // Handle<T> definition #include "nvutil/Handle.h" // Handle<T> definition
#include "nvutil/SmartPtr.h"
// required declaration // required declaration
namespace nvmath namespace nvmath
{ {
class Trafo; class Trafo;
// Vector
template<unsigned int n, typename T> class Vecnt;
typedef Vecnt<2,float> Vec2f;
typedef Vecnt<2,double> Vec2d;
typedef Vecnt<3,float> Vec3f;
typedef Vecnt<3,double> Vec3d;
typedef Vecnt<4,float> Vec4f;
typedef Vecnt<4,double> Vec4d;
// Matrix
template<unsigned int n, typename T> class Matnnt;
typedef Matnnt<3,float> Mat33f;
typedef Matnnt<3,double> Mat33d;
typedef Matnnt<4,float> Mat44f;
typedef Matnnt<4,double> Mat44d;
// Quaternions
template<typename T> class Quatt;
typedef Quatt<float> Quatf;
typedef Quatt<double> Quatd;
} }
namespace nvsg namespace nvsg
{ {
// Object types // Object types
class Object; class Object;
// cameras ... // cameras ...
class Camera; class Camera;
class ParallelCamera; class ParallelCamera;
class PerspectiveCamera; class PerspectiveCamera;
skipping to change at line 59 skipping to change at line 81
// ... volume // ... volume
class VolumeNode; class VolumeNode;
class VolumeBrick; class VolumeBrick;
// drawables // drawables
class Drawable; class Drawable;
// ... primitive sets // ... primitive sets
class PrimitiveSet; class PrimitiveSet;
// ... independent // ... independent
class IndependentPrimitiveSet; class IndependentPrimitiveSet;
class PatchesBase;
class Patches;
class QuadPatches;
class QuadPatches4x4;
class RectPatches;
class TriPatches;
class TriPatches4;
class Quads; class Quads;
class Triangles; class Triangles;
class SkinnedTriangles; class SkinnedTriangles;
class Lines; class Lines;
class Points; class Points;
// ... meshed // ... meshed
class MeshedPrimitiveSet; class MeshedPrimitiveSet;
class QuadMeshes; class QuadMeshes;
// ... stripped // ... stripped
class StrippedPrimitiveSet; class StrippedPrimitiveSet;
skipping to change at line 163 skipping to change at line 192
typedef nvutil::Handle<Switch,GroupHandle> SwitchHandle; typedef nvutil::Handle<Switch,GroupHandle> SwitchHandle;
typedef nvutil::Handle<LightSource,ObjectHandle> LightSourceHandle; typedef nvutil::Handle<LightSource,ObjectHandle> LightSourceHandle;
typedef nvutil::Handle<DirectedLight,LightSourceHandle> DirectedLightHandle ; typedef nvutil::Handle<DirectedLight,LightSourceHandle> DirectedLightHandle ;
typedef nvutil::Handle<PointLight,LightSourceHandle> PointLightHandle; typedef nvutil::Handle<PointLight,LightSourceHandle> PointLightHandle;
typedef nvutil::Handle<SpotLight,LightSourceHandle> SpotLightHandle; typedef nvutil::Handle<SpotLight,LightSourceHandle> SpotLightHandle;
typedef nvutil::Handle<ClipPlane,ObjectHandle> ClipPlaneHandle; typedef nvutil::Handle<ClipPlane,ObjectHandle> ClipPlaneHandle;
typedef nvutil::Handle<GeoNode,NodeHandle> GeoNodeHandle; typedef nvutil::Handle<GeoNode,NodeHandle> GeoNodeHandle;
typedef nvutil::Handle<Drawable,ObjectHandle> DrawableHandle; typedef nvutil::Handle<Drawable,ObjectHandle> DrawableHandle;
typedef nvutil::Handle<PrimitiveSet,DrawableHandle> PrimitiveSetHandle; typedef nvutil::Handle<PrimitiveSet,DrawableHandle> PrimitiveSetHandle;
typedef nvutil::Handle<IndependentPrimitiveSet,PrimitiveSetHandle> Independ entPrimitiveSetHandle; typedef nvutil::Handle<IndependentPrimitiveSet,PrimitiveSetHandle> Independ entPrimitiveSetHandle;
typedef nvutil::Handle<PatchesBase,IndependentPrimitiveSetHandle> PatchesBa
seHandle;
typedef nvutil::Handle<Patches,PatchesBaseHandle> PatchesHandle;
typedef nvutil::Handle<QuadPatches,PatchesBaseHandle> QuadPatchesHandle;
typedef nvutil::Handle<QuadPatches4x4,PatchesBaseHandle> QuadPatches4x4Hand
le;
typedef nvutil::Handle<RectPatches,PatchesBaseHandle> RectPatchesHandle;
typedef nvutil::Handle<TriPatches,PatchesBaseHandle> TriPatchesHandle;
typedef nvutil::Handle<TriPatches4,PatchesBaseHandle> TriPatches4Handle;
typedef nvutil::Handle<Quads,IndependentPrimitiveSetHandle> QuadsHandle; typedef nvutil::Handle<Quads,IndependentPrimitiveSetHandle> QuadsHandle;
typedef nvutil::Handle<Triangles,IndependentPrimitiveSetHandle> TrianglesHa ndle; typedef nvutil::Handle<Triangles,IndependentPrimitiveSetHandle> TrianglesHa ndle;
typedef nvutil::Handle<SkinnedTriangles,TrianglesHandle> SkinnedTrianglesHa ndle; typedef nvutil::Handle<SkinnedTriangles,TrianglesHandle> SkinnedTrianglesHa ndle;
typedef nvutil::Handle<Lines,IndependentPrimitiveSetHandle> LinesHandle; typedef nvutil::Handle<Lines,IndependentPrimitiveSetHandle> LinesHandle;
typedef nvutil::Handle<Points,IndependentPrimitiveSetHandle> PointsHandle; typedef nvutil::Handle<Points,IndependentPrimitiveSetHandle> PointsHandle;
typedef nvutil::Handle<MeshedPrimitiveSet,PrimitiveSetHandle> MeshedPrimiti veSetHandle; typedef nvutil::Handle<MeshedPrimitiveSet,PrimitiveSetHandle> MeshedPrimiti veSetHandle;
typedef nvutil::Handle<QuadMeshes,MeshedPrimitiveSetHandle> QuadMeshesHandl e; typedef nvutil::Handle<QuadMeshes,MeshedPrimitiveSetHandle> QuadMeshesHandl e;
typedef nvutil::Handle<StrippedPrimitiveSet,PrimitiveSetHandle> StrippedPri mitiveSetHandle; typedef nvutil::Handle<StrippedPrimitiveSet,PrimitiveSetHandle> StrippedPri mitiveSetHandle;
typedef nvutil::Handle<QuadStrips,StrippedPrimitiveSetHandle> QuadStripsHan dle; typedef nvutil::Handle<QuadStrips,StrippedPrimitiveSetHandle> QuadStripsHan dle;
typedef nvutil::Handle<TriFans,StrippedPrimitiveSetHandle> TriFansHandle; typedef nvutil::Handle<TriFans,StrippedPrimitiveSetHandle> TriFansHandle;
typedef nvutil::Handle<TriStrips,StrippedPrimitiveSetHandle> TriStripsHandl e; typedef nvutil::Handle<TriStrips,StrippedPrimitiveSetHandle> TriStripsHandl e;
typedef nvutil::Handle<LineStrips,StrippedPrimitiveSetHandle> LineStripsHan dle; typedef nvutil::Handle<LineStrips,StrippedPrimitiveSetHandle> LineStripsHan dle;
typedef nvutil::Handle<Shape,DrawableHandle> ShapeHandle; typedef nvutil::Handle<Shape,DrawableHandle> ShapeHandle;
typedef nvutil::Handle<VertexAttributeSet,ObjectHandle> VertexAttributeSetH andle; typedef nvutil::Handle<VertexAttributeSet,ObjectHandle> VertexAttributeSetH andle;
typedef nvutil::Handle<AnimatedVertexAttributeSet,VertexAttributeSetHandle> AnimatedVertexAttributeSetHandle; typedef nvutil::Handle<AnimatedVertexAttributeSet,VertexAttributeSetHandle> AnimatedVertexAttributeSetHandle;
typedef nvutil::Handle<Skin,ObjectHandle> SkinHandle; typedef nvutil::Handle<Skin,ObjectHandle> SkinHandle;
typedef nvutil::Handle<StateAttribute,ObjectHandle> StateAttributeHandle; typedef nvutil::Handle<StateAttribute,ObjectHandle> StateAttributeHandle;
typedef nvutil::Handle<CgFx,StateAttributeHandle> CgFxHandle; typedef nvutil::Handle<CgFx,StateAttributeHandle> CgFxHandle;
typedef nvutil::Handle<CgFxEffect> CgFxEffectHandle; typedef nvutil::Handle<CgFxEffect,ObjectHandle> CgFxEffectHandle;
typedef nvutil::Handle<Material,StateAttributeHandle> MaterialHandle; typedef nvutil::Handle<Material,StateAttributeHandle> MaterialHandle;
typedef nvutil::Handle<RTBufferAttribute,StateAttributeHandle> RTBufferAttr ibuteHandle; typedef nvutil::Handle<RTBufferAttribute,StateAttributeHandle> RTBufferAttr ibuteHandle;
typedef nvutil::Handle<RTFx,StateAttributeHandle> RTFxHandle; typedef nvutil::Handle<RTFx,StateAttributeHandle> RTFxHandle;
typedef nvutil::Handle<StencilAttribute,StateAttributeHandle> StencilAttrib uteHandle; typedef nvutil::Handle<StencilAttribute,StateAttributeHandle> StencilAttrib uteHandle;
typedef nvutil::Handle<TextureAttribute,StateAttributeHandle> TextureAttrib uteHandle; typedef nvutil::Handle<TextureAttribute,StateAttributeHandle> TextureAttrib uteHandle;
typedef nvutil::Handle<TextureAttributeItem,ObjectHandle> TextureAttributeI temHandle; typedef nvutil::Handle<TextureAttributeItem,ObjectHandle> TextureAttributeI temHandle;
typedef nvutil::Handle<BlendAttribute,StateAttributeHandle> BlendAttributeH andle; typedef nvutil::Handle<BlendAttribute,StateAttributeHandle> BlendAttributeH andle;
typedef nvutil::Handle<AlphaTestAttribute,StateAttributeHandle> AlphaTestAt tributeHandle; typedef nvutil::Handle<AlphaTestAttribute,StateAttributeHandle> AlphaTestAt tributeHandle;
typedef nvutil::Handle<DepthAttribute,StateAttributeHandle> DepthAttributeH andle; typedef nvutil::Handle<DepthAttribute,StateAttributeHandle> DepthAttributeH andle;
typedef nvutil::Handle<UnlitColorAttribute,StateAttributeHandle> UnlitColor AttributeHandle; typedef nvutil::Handle<UnlitColorAttribute,StateAttributeHandle> UnlitColor AttributeHandle;
typedef nvutil::Handle<PrimitiveAttribute,StateAttributeHandle> PrimitiveAt tributeHandle; typedef nvutil::Handle<PrimitiveAttribute,StateAttributeHandle> PrimitiveAt tributeHandle;
typedef nvutil::Handle<FaceAttribute,PrimitiveAttributeHandle> FaceAttribut eHandle; typedef nvutil::Handle<FaceAttribute,PrimitiveAttributeHandle> FaceAttribut eHandle;
typedef nvutil::Handle<LightingAttribute,StateAttributeHandle> LightingAttr ibuteHandle; typedef nvutil::Handle<LightingAttribute,StateAttributeHandle> LightingAttr ibuteHandle;
typedef nvutil::Handle<LineAttribute,PrimitiveAttributeHandle> LineAttribut eHandle; typedef nvutil::Handle<LineAttribute,PrimitiveAttributeHandle> LineAttribut eHandle;
typedef nvutil::Handle<PointAttribute,PrimitiveAttributeHandle> PointAttrib uteHandle; typedef nvutil::Handle<PointAttribute,PrimitiveAttributeHandle> PointAttrib uteHandle;
typedef nvutil::Handle<StateSet,ObjectHandle> StateSetHandle; typedef nvutil::Handle<StateSet,ObjectHandle> StateSetHandle;
typedef nvutil::Handle<StateVariant,ObjectHandle> StateVariantHandle; typedef nvutil::Handle<StateVariant,ObjectHandle> StateVariantHandle;
typedef nvutil::Handle<StatePass,ObjectHandle> StatePassHandle; typedef nvutil::Handle<StatePass,ObjectHandle> StatePassHandle;
typedef nvutil::Handle<AnimationState,ObjectHandle> AnimationStateHandle; typedef nvutil::Handle<AnimationState,ObjectHandle> AnimationStateHandle;
typedef nvsg::Animation<float> FloatAnimation;
typedef nvsg::Animation<nvmath::Vec2f> Vec2fAnimation;
typedef nvsg::Animation<nvmath::Vec3f> Vec3fAnimation;
typedef nvsg::Animation<nvmath::Vec4f> Vec4fAnimation;
typedef nvsg::Animation<nvmath::Mat33f> Mat33fAnimation;
typedef nvsg::Animation<nvmath::Mat44f> Mat44fAnimation;
typedef nvsg::Animation<nvmath::Quatf> QuatfAnimation;
typedef nvutil::Handle<Animation<VertexAttribute>, AnimationStateHandle> Ve rtexAttributeAnimationHandle; typedef nvutil::Handle<Animation<VertexAttribute>, AnimationStateHandle> Ve rtexAttributeAnimationHandle;
typedef nvutil::Handle<Animation<nvmath::Trafo>, AnimationStateHandle> Traf oAnimationHandle; typedef nvutil::Handle<Animation<nvmath::Trafo>, AnimationStateHandle> Traf oAnimationHandle;
typedef nvutil::Handle<Animation<unsigned int>, AnimationStateHandle> Index AnimationHandle; typedef nvutil::Handle<Animation<unsigned int>, AnimationStateHandle> Index AnimationHandle;
typedef nvutil::Handle<Animation<float>, AnimationStateHandle> FloatAnimati
onHandle;
typedef nvutil::Handle<Animation<nvmath::Vec2f>, AnimationStateHandle> Vec2
fAnimationHandle;
typedef nvutil::Handle<Animation<nvmath::Vec3f>, AnimationStateHandle> Vec3
fAnimationHandle;
typedef nvutil::Handle<Animation<nvmath::Vec4f>, AnimationStateHandle> Vec4
fAnimationHandle;
typedef nvutil::Handle<Animation<nvmath::Mat33f>, AnimationStateHandle> Mat
33fAnimationHandle;
typedef nvutil::Handle<Animation<nvmath::Mat44f>, AnimationStateHandle> Mat
44fAnimationHandle;
typedef nvutil::Handle<Animation<nvmath::Quatf>, AnimationStateHandle> Quat
fAnimationHandle;
typedef nvutil::Handle<AnimationDescription<nvmath::Trafo>,ObjectHandle> Tr
afoAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<VertexAttribute>, ObjectHandle> VertexAttributeAnimationDescriptionHandle; typedef nvutil::Handle<AnimationDescription<VertexAttribute>, ObjectHandle> VertexAttributeAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<unsigned int>, ObjectHandle> In
dexAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<float>, ObjectHandle> FloatAnim
ationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<nvmath::Vec2f>, ObjectHandle> V
ec2fAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<nvmath::Vec3f>, ObjectHandle> V
ec3fAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<nvmath::Vec4f>, ObjectHandle> V
ec4fAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<nvmath::Mat33f>, ObjectHandle>
Mat33fAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<nvmath::Mat44f>, ObjectHandle>
Mat44fAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<nvmath::Quatf>, ObjectHandle> Q
uatfAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<VertexAttribute>, VertexA ttributeAnimationDescriptionHandle> FramedVertexAttributeAnimationDescripti onHandle; typedef nvutil::Handle<FramedAnimationDescription<VertexAttribute>, VertexA ttributeAnimationDescriptionHandle> FramedVertexAttributeAnimationDescripti onHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<VertexAttribute>, Vert
exAttributeAnimationDescriptionHandle> KeyFramedVertexAttributeAnimationDes
criptionHandle;
typedef nvutil::Handle<LinearInterpolatedAnimationDescription<VertexAttribu
te>, KeyFramedVertexAttributeAnimationDescriptionHandle> LinearInterpolated
VertexAttributeAnimationDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<nvmath::Trafo>,ObjectHandle> Tr
afoAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<nvmath::Trafo>,TrafoAnima tionDescriptionHandle> FramedTrafoAnimationDescriptionHandle; typedef nvutil::Handle<FramedAnimationDescription<nvmath::Trafo>,TrafoAnima tionDescriptionHandle> FramedTrafoAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<unsigned int>, IndexAnima
tionDescriptionHandle> FramedIndexAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<float>, FloatAnimationDes
criptionHandle> FramedFloatAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<nvmath::Vec2f>, Vec2fAnim
ationDescriptionHandle> FramedVec2fAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<nvmath::Vec3f>, Vec3fAnim
ationDescriptionHandle> FramedVec3fAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<nvmath::Vec4f>, Vec4fAnim
ationDescriptionHandle> FramedVec4fAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<nvmath::Mat33f>, Mat33fAn
imationDescriptionHandle> FramedMat33fAnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<nvmath::Mat44f>, Mat44fAn
imationDescriptionHandle> FramedMat44fnimationDescriptionHandle;
typedef nvutil::Handle<FramedAnimationDescription<nvmath::Quatf>, QuatfAnim
ationDescriptionHandle> FramedQuatfAnimationDescriptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<VertexAttribute>, Vert
exAttributeAnimationDescriptionHandle> KeyFramedVertexAttributeAnimationDes
criptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<nvmath::Trafo>, TrafoA nimationDescriptionHandle> KeyFramedTrafoAnimationDescriptionHandle; typedef nvutil::Handle<KeyFramedAnimationDescription<nvmath::Trafo>, TrafoA nimationDescriptionHandle> KeyFramedTrafoAnimationDescriptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<float>, Vec3fAnimation
DescriptionHandle> KeyFramedFloatAnimationDescriptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<nvmath::Vec2f>, Vec2fA
nimationDescriptionHandle> KeyFramedVec2fAnimationDescriptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<nvmath::Vec3f>, Vec3fA
nimationDescriptionHandle> KeyFramedVec3fAnimationDescriptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<nvmath::Vec4f>, Vec4fA
nimationDescriptionHandle> KeyFramedVec4fAnimationDescriptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<nvmath::Mat33f>, Mat33
fAnimationDescriptionHandle> KeyFramedMat33fAnimationDescriptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<nvmath::Mat44f>, Mat44
fAnimationDescriptionHandle> KeyFramedMat44fAnimationDescriptionHandle;
typedef nvutil::Handle<KeyFramedAnimationDescription<nvmath::Quatf>, QuatfA
nimationDescriptionHandle> KeyFramedQuatfAnimationDescriptionHandle;
typedef nvutil::Handle<LinearInterpolatedAnimationDescription<VertexAttribu
te>, KeyFramedVertexAttributeAnimationDescriptionHandle> LinearInterpolated
VertexAttributeAnimationDescriptionHandle;
typedef nvutil::Handle<LinearInterpolatedAnimationDescription<nvmath::Trafo >, KeyFramedTrafoAnimationDescriptionHandle> LinearInterpolatedTrafoAnimati onDescriptionHandle; typedef nvutil::Handle<LinearInterpolatedAnimationDescription<nvmath::Trafo >, KeyFramedTrafoAnimationDescriptionHandle> LinearInterpolatedTrafoAnimati onDescriptionHandle;
typedef nvutil::Handle<AnimationDescription<unsigned int>, ObjectHandle> In typedef nvutil::Handle<LinearInterpolatedAnimationDescription<float>, KeyFr
dexAnimationDescriptionHandle; amedFloatAnimationDescriptionHandle> LinearInterpolatedFloatAnimationDescri
typedef nvutil::Handle<FramedAnimationDescription<unsigned int>, IndexAnima ptionHandle;
tionDescriptionHandle> FramedIndexAnimationDescriptionHandle; typedef nvutil::Handle<LinearInterpolatedAnimationDescription<nvmath::Vec2f
>, KeyFramedVec2fAnimationDescriptionHandle> LinearInterpolatedVec2fAnimati
onDescriptionHandle;
typedef nvutil::Handle<LinearInterpolatedAnimationDescription<nvmath::Vec3f
>, KeyFramedVec3fAnimationDescriptionHandle> LinearInterpolatedVec3fAnimati
onDescriptionHandle;
typedef nvutil::Handle<LinearInterpolatedAnimationDescription<nvmath::Vec4f
>, KeyFramedVec4fAnimationDescriptionHandle> LinearInterpolatedVec4fAnimati
onDescriptionHandle;
typedef nvutil::Handle<LinearInterpolatedAnimationDescription<nvmath::Mat33
f>, KeyFramedMat33fAnimationDescriptionHandle> LinearInterpolatedMat33fAnim
ationDescriptionHandle;
typedef nvutil::Handle<LinearInterpolatedAnimationDescription<nvmath::Mat44
f>, KeyFramedMat44fAnimationDescriptionHandle> LinearInterpolatedMat44fAnim
ationDescriptionHandle;
typedef nvutil::Handle<LinearInterpolatedAnimationDescription<nvmath::Quatf
>, KeyFramedQuatfAnimationDescriptionHandle> LinearInterpolatedQuatfAnimati
onDescriptionHandle;
typedef nvutil::Handle<HighlightObject, ObjectHandle> HighlightObjectHandle ; typedef nvutil::Handle<HighlightObject, ObjectHandle> HighlightObjectHandle ;
typedef nvutil::Handle<HighlightBox, HighlightObjectHandle> HighlightBoxHan dle; typedef nvutil::Handle<HighlightBox, HighlightObjectHandle> HighlightBoxHan dle;
typedef nvutil::Handle<HighlightEdges, HighlightObjectHandle> HighlightEdge sHandle; typedef nvutil::Handle<HighlightEdges, HighlightObjectHandle> HighlightEdge sHandle;
typedef nvutil::Handle<MapObject, ObjectHandle> MapObjectHandle; typedef nvutil::Handle<MapObject, ObjectHandle> MapObjectHandle;
typedef nvutil::Handle<MapArray, MapObjectHandle> MapArrayHandle; typedef nvutil::Handle<MapArray, MapObjectHandle> MapArrayHandle;
typedef nvutil::Handle<MapElement, MapObjectHandle> MapElementHandle; typedef nvutil::Handle<MapElement, MapObjectHandle> MapElementHandle;
typedef nvutil::Handle<MapMatrix, MapObjectHandle> MapMatrixHandle; typedef nvutil::Handle<MapMatrix, MapObjectHandle> MapMatrixHandle;
typedef nvutil::Handle<MapList, ObjectHandle> MapListHandle; typedef nvutil::Handle<MapList, ObjectHandle> MapListHandle;
typedef nvutil::Handle<TextureImage> TextureImageHandle; typedef nvutil::Handle<TextureImage> TextureImageHandle;
typedef nvutil::Handle<VolumeTexture,TextureImageHandle> VolumeTextureHandl e; typedef nvutil::Handle<VolumeTexture,TextureImageHandle> VolumeTextureHandl e;
typedef nvutil::Handle<Scene> SceneHandle; typedef nvutil::Handle<Scene> SceneHandle;
typedef nvutil::Handle<SceneAttribute,ObjectHandle> SceneAttributeHandle; typedef nvutil::Handle<SceneAttribute,ObjectHandle> SceneAttributeHandle;
typedef nvutil::Handle<RTFxSceneAttribute,SceneAttributeHandle> RTFxSceneAt tributeHandle; typedef nvutil::Handle<RTFxSceneAttribute,SceneAttributeHandle> RTFxSceneAt tributeHandle;
typedef nvutil::Handle<ViewState> ViewStateHandle; typedef nvutil::Handle<ViewState> ViewStateHandle;
typedef nvutil::Handle<VolumeNode,NodeHandle> VolumeNodeHandle; typedef nvutil::Handle<VolumeNode,NodeHandle> VolumeNodeHandle;
typedef nvutil::Handle<VolumeBrick,ObjectHandle> VolumeBrickHandle; typedef nvutil::Handle<VolumeBrick,ObjectHandle> VolumeBrickHandle;
typedef nvutil::Handle<DALHost> DALHostHandle; typedef nvutil::Handle<DALHost> DALHostHandle;
typedef nvutil::Handle<RTFxProgram,ObjectHandle> RTFxProgramHandle; typedef nvutil::Handle<RTFxProgram,ObjectHandle> RTFxProgramHandle;
// SmartPtr Handle Types
typedef nvutil::SmartPtr< ObjectHandle > SmartObjectHandle;
typedef nvutil::SmartPtr< CameraHandle > SmartCameraHandle;
typedef nvutil::SmartPtr< ParallelCameraHandle > SmartParallelCameraHandle;
typedef nvutil::SmartPtr< PerspectiveCameraHandle > SmartPerspectiveCameraH
andle;
typedef nvutil::SmartPtr< NodeHandle > SmartNodeHandle;
typedef nvutil::SmartPtr< GroupHandle > SmartGroupHandle;
typedef nvutil::SmartPtr< BillboardHandle > SmartBillboardHandle;
typedef nvutil::SmartPtr< FlipbookAnimationHandle > SmartFlipbookAnimationH
andle;
typedef nvutil::SmartPtr< LODHandle > SmartLODHandle;
typedef nvutil::SmartPtr< TransformHandle > SmartTransformHandle;
typedef nvutil::SmartPtr< AnimatedTransformHandle > SmartAnimatedTransformH
andle;
typedef nvutil::SmartPtr< SwitchHandle > SmartSwitchHandle;
typedef nvutil::SmartPtr< LightSourceHandle > SmartLightSourceHandle;
typedef nvutil::SmartPtr< DirectedLightHandle > SmartDirectedLightHandle;
typedef nvutil::SmartPtr< PointLightHandle > SmartPointLightHandle;
typedef nvutil::SmartPtr< SpotLightHandle > SmartSpotLightHandle;
typedef nvutil::SmartPtr< ClipPlaneHandle > SmartClipPlaneHandle;
typedef nvutil::SmartPtr< GeoNodeHandle > SmartGeoNodeHandle;
typedef nvutil::SmartPtr< DrawableHandle > SmartDrawableHandle;
typedef nvutil::SmartPtr< PrimitiveSetHandle > SmartPrimitiveSetHandle;
typedef nvutil::SmartPtr< IndependentPrimitiveSetHandle > SmartIndependentP
rimitiveSetHandle;
typedef nvutil::SmartPtr< PatchesBaseHandle > SmartPatchesBaseHandle;
typedef nvutil::SmartPtr< PatchesHandle > SmartPatchesHandle;
typedef nvutil::SmartPtr< QuadPatchesHandle > SmartQuadPatchesHandle;
typedef nvutil::SmartPtr< QuadPatches4x4Handle > SmartQuadPatches4x4Handle;
typedef nvutil::SmartPtr< RectPatchesHandle > SmartRectPatchesHandle;
typedef nvutil::SmartPtr< TriPatchesHandle > SmartTriPatchesHandle;
typedef nvutil::SmartPtr< TriPatches4Handle > SmartTriPatches4Handle;
typedef nvutil::SmartPtr< QuadsHandle > SmartQuadsHandle;
typedef nvutil::SmartPtr< TrianglesHandle > SmartTrianglesHandle;
typedef nvutil::SmartPtr< SkinnedTrianglesHandle > SmartSkinnedTrianglesHan
dle;
typedef nvutil::SmartPtr< LinesHandle > SmartLinesHandle;
typedef nvutil::SmartPtr< PointsHandle > SmartPointsHandle;
typedef nvutil::SmartPtr< MeshedPrimitiveSetHandle > SmartMeshedPrimitiveSe
tHandle;
typedef nvutil::SmartPtr< QuadMeshesHandle > SmartQuadMeshesHandle;
typedef nvutil::SmartPtr< StrippedPrimitiveSetHandle > SmartStrippedPrimiti
veSetHandle;
typedef nvutil::SmartPtr< QuadStripsHandle > SmartQuadStripsHandle;
typedef nvutil::SmartPtr< TriFansHandle > SmartTriFansHandle;
typedef nvutil::SmartPtr< TriStripsHandle > SmartTriStripsHandle;
typedef nvutil::SmartPtr< LineStripsHandle > SmartLineStripsHandle;
typedef nvutil::SmartPtr< ShapeHandle > SmartShapeHandle;
typedef nvutil::SmartPtr< VertexAttributeSetHandle > SmartVertexAttributeSe
tHandle;
typedef nvutil::SmartPtr< AnimatedVertexAttributeSetHandle > SmartAnimatedV
ertexAttributeSetHandle;
typedef nvutil::SmartPtr< SkinHandle > SmartSkinHandle;
typedef nvutil::SmartPtr< StateAttributeHandle > SmartStateAttributeHandle;
typedef nvutil::SmartPtr< CgFxHandle > SmartCgFxHandle;
typedef nvutil::SmartPtr< CgFxEffectHandle > SmartCgFxEffectHandle;
typedef nvutil::SmartPtr< MaterialHandle > SmartMaterialHandle;
typedef nvutil::SmartPtr< RTBufferAttributeHandle > SmartRTBufferAttributeH
andle;
typedef nvutil::SmartPtr< RTFxHandle > SmartRTFxHandle;
typedef nvutil::SmartPtr< StencilAttributeHandle > SmartStencilAttributeHan
dle;
typedef nvutil::SmartPtr< TextureAttributeHandle > SmartTextureAttributeHan
dle;
typedef nvutil::SmartPtr< TextureAttributeItemHandle > SmartTextureAttribut
eItemHandle;
typedef nvutil::SmartPtr< BlendAttributeHandle > SmartBlendAttributeHandle;
typedef nvutil::SmartPtr< AlphaTestAttributeHandle > SmartAlphaTestAttribut
eHandle;
typedef nvutil::SmartPtr< DepthAttributeHandle > SmartDepthAttributeHandle;
typedef nvutil::SmartPtr< UnlitColorAttributeHandle > SmartUnlitColorAttrib
uteHandle;
typedef nvutil::SmartPtr< PrimitiveAttributeHandle > SmartPrimitiveAttribut
eHandle;
typedef nvutil::SmartPtr< FaceAttributeHandle > SmartFaceAttributeHandle;
typedef nvutil::SmartPtr< LightingAttributeHandle > SmartLightingAttributeH
andle;
typedef nvutil::SmartPtr< LineAttributeHandle > SmartLineAttributeHandle;
typedef nvutil::SmartPtr< PointAttributeHandle > SmartPointAttributeHandle;
typedef nvutil::SmartPtr< StateSetHandle > SmartStateSetHandle;
typedef nvutil::SmartPtr< StateVariantHandle > SmartStateVariantHandle;
typedef nvutil::SmartPtr< StatePassHandle > SmartStatePassHandle;
typedef nvutil::SmartPtr< AnimationStateHandle > SmartAnimationStateHandle;
#if 0
typedef nvsg::Animation<nvmath::float> FloatAnimation;
typedef nvsg::Animation<nvmath::Vec2f> Vec2fAnimation;
typedef nvsg::Animation<nvmath::Vec3f> Vec3fAnimation;
typedef nvsg::Animation<nvmath::Vec4f> Vec4fAnimation;
typedef nvsg::Animation<nvmath::Mat33f> Mat33fAnimation;
typedef nvsg::Animation<nvmath::Mat44f> Mat44fAnimation;
typedef nvsg::Animation<nvmath::Quatf> QuatfAnimation;
#endif
typedef nvutil::SmartPtr< VertexAttributeAnimationHandle > SmartVertexAttri
buteAnimationHandle;
typedef nvutil::SmartPtr< TrafoAnimationHandle > SmartTrafoAnimationHandle;
typedef nvutil::SmartPtr< IndexAnimationHandle > SmartIndexAnimationHandle;
typedef nvutil::SmartPtr< FloatAnimationHandle > SmartFloatAnimationHandle;
typedef nvutil::SmartPtr< Vec2fAnimationHandle > SmartVec2fAnimationHandle;
typedef nvutil::SmartPtr< Vec3fAnimationHandle > SmartVec3fAnimationHandle;
typedef nvutil::SmartPtr< Vec4fAnimationHandle > SmartVec4fAnimationHandle;
typedef nvutil::SmartPtr< Mat33fAnimationHandle > SmartMat33fAnimationHandl
e;
typedef nvutil::SmartPtr< Mat44fAnimationHandle > SmartMat44fAnimationHandl
e;
typedef nvutil::SmartPtr< QuatfAnimationHandle > SmartQuatfAnimationHandle;
typedef nvutil::SmartPtr< TrafoAnimationDescriptionHandle > SmartTrafoAnima
tionDescriptionHandle;
typedef nvutil::SmartPtr< VertexAttributeAnimationDescriptionHandle > Smart
VertexAttributeAnimationDescriptionHandle;
typedef nvutil::SmartPtr< IndexAnimationDescriptionHandle > SmartIndexAnima
tionDescriptionHandle;
typedef nvutil::SmartPtr< FloatAnimationDescriptionHandle > SmartFloatAnima
tionDescriptionHandle;
typedef nvutil::SmartPtr< Vec2fAnimationDescriptionHandle > SmartVec2fAnima
tionDescriptionHandle;
typedef nvutil::SmartPtr< Vec3fAnimationDescriptionHandle > SmartVec3fAnima
tionDescriptionHandle;
typedef nvutil::SmartPtr< Vec4fAnimationDescriptionHandle > SmartVec4fAnima
tionDescriptionHandle;
typedef nvutil::SmartPtr< Mat33fAnimationDescriptionHandle > SmartMat33fAni
mationDescriptionHandle;
typedef nvutil::SmartPtr< Mat44fAnimationDescriptionHandle > SmartMat44fAni
mationDescriptionHandle;
typedef nvutil::SmartPtr< QuatfAnimationDescriptionHandle > SmartQuatfAnima
tionDescriptionHandle;
typedef nvutil::SmartPtr< FramedVertexAttributeAnimationDescriptionHandle >
SmartFramedVertexAttributeAnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedTrafoAnimationDescriptionHandle > SmartFram
edTrafoAnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedIndexAnimationDescriptionHandle > SmartFram
edIndexAnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedFloatAnimationDescriptionHandle > SmartFram
edFloatAnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedVec2fAnimationDescriptionHandle > SmartFram
edVec2fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedVec3fAnimationDescriptionHandle > SmartFram
edVec3fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedVec4fAnimationDescriptionHandle > SmartFram
edVec4fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedMat33fAnimationDescriptionHandle > SmartFra
medMat33fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedMat44fnimationDescriptionHandle > SmartFram
edMat44fnimationDescriptionHandle;
typedef nvutil::SmartPtr< FramedQuatfAnimationDescriptionHandle > SmartFram
edQuatfAnimationDescriptionHandle;
// FIXME add for new types?
typedef nvutil::SmartPtr< KeyFramedVertexAttributeAnimationDescriptionHandl
e > SmartKeyFramedVertexAttributeAnimationDescriptionHandle;
typedef nvutil::SmartPtr< KeyFramedTrafoAnimationDescriptionHandle > SmartK
eyFramedTrafoAnimationDescriptionHandle;
typedef nvutil::SmartPtr< KeyFramedFloatAnimationDescriptionHandle > SmartK
eyFramedFloatAnimationDescriptionHandle;
typedef nvutil::SmartPtr< KeyFramedVec2fAnimationDescriptionHandle > SmartK
eyFramedVec2fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< KeyFramedVec3fAnimationDescriptionHandle > SmartK
eyFramedVec3fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< KeyFramedVec4fAnimationDescriptionHandle > SmartK
eyFramedVec4fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< KeyFramedMat33fAnimationDescriptionHandle > Smart
KeyFramedMat33fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< KeyFramedMat44fAnimationDescriptionHandle > Smart
KeyFramedMat44fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< KeyFramedQuatfAnimationDescriptionHandle > SmartK
eyFramedQuatfAnimationDescriptionHandle;
typedef nvutil::SmartPtr< LinearInterpolatedVertexAttributeAnimationDescrip
tionHandle > SmartLinearInterpolatedVertexAttributeAnimationDescriptionHand
le;
typedef nvutil::SmartPtr< LinearInterpolatedTrafoAnimationDescriptionHandle
> SmartLinearInterpolatedTrafoAnimationDescriptionHandle;
typedef nvutil::SmartPtr< LinearInterpolatedFloatAnimationDescriptionHandle
> SmartLinearInterpolatedFloatAnimationDescriptionHandle;
typedef nvutil::SmartPtr< LinearInterpolatedVec2fAnimationDescriptionHandle
> SmartLinearInterpolatedVec2fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< LinearInterpolatedVec3fAnimationDescriptionHandle
> SmartLinearInterpolatedVec3fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< LinearInterpolatedVec4fAnimationDescriptionHandle
> SmartLinearInterpolatedVec4fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< LinearInterpolatedMat33fAnimationDescriptionHandl
e > SmartLinearInterpolatedMat33fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< LinearInterpolatedMat44fAnimationDescriptionHandl
e > SmartLinearInterpolatedMat44fAnimationDescriptionHandle;
typedef nvutil::SmartPtr< LinearInterpolatedQuatfAnimationDescriptionHandle
> SmartLinearInterpolatedQuatfAnimationDescriptionHandle;
typedef nvutil::SmartPtr< HighlightObjectHandle > SmartHighlightObjectHandl
e;
typedef nvutil::SmartPtr< HighlightBoxHandle > SmartHighlightBoxHandle;
typedef nvutil::SmartPtr< HighlightEdgesHandle > SmartHighlightEdgesHandle;
typedef nvutil::SmartPtr< MapObjectHandle > SmartMapObjectHandle;
typedef nvutil::SmartPtr< MapArrayHandle > SmartMapArrayHandle;
typedef nvutil::SmartPtr< MapElementHandle > SmartMapElementHandle;
typedef nvutil::SmartPtr< MapMatrixHandle > SmartMapMatrixHandle;
typedef nvutil::SmartPtr< MapListHandle > SmartMapListHandle;
typedef nvutil::SmartPtr< TextureImageHandle > SmartTextureImageHandle;
typedef nvutil::SmartPtr< VolumeTextureHandle > SmartVolumeTextureHandle;
typedef nvutil::SmartPtr< SceneHandle > SmartSceneHandle;
typedef nvutil::SmartPtr< SceneAttributeHandle > SmartSceneAttributeHandle;
typedef nvutil::SmartPtr< RTFxSceneAttributeHandle > SmartRTFxSceneAttribut
eHandle;
typedef nvutil::SmartPtr< ViewStateHandle > SmartViewStateHandle;
typedef nvutil::SmartPtr< VolumeNodeHandle > SmartVolumeNodeHandle;
typedef nvutil::SmartPtr< VolumeBrickHandle > SmartVolumeBrickHandle;
typedef nvutil::SmartPtr< DALHostHandle > SmartDALHostHandle;
typedef nvutil::SmartPtr< RTFxProgramHandle > SmartRTFxProgramHandle;
} }
namespace nvtraverser namespace nvtraverser
{ {
class CameraUpdateSemaphore; class CameraUpdateSemaphore;
class SpotLightUpdateSemaphore; class SpotLightUpdateSemaphore;
typedef nvutil::Handle<CameraUpdateSemaphore,nvsg::ObjectHandle> CameraUp dateSemaphoreHandle; typedef nvutil::Handle<CameraUpdateSemaphore,nvsg::ObjectHandle> CameraUp dateSemaphoreHandle;
typedef nvutil::Handle<SpotLightUpdateSemaphore,nvsg::ObjectHandle> SpotL ightUpdateSemaphoreHandle; typedef nvutil::Handle<SpotLightUpdateSemaphore,nvsg::ObjectHandle> SpotL ightUpdateSemaphoreHandle;
} }
 End of changes. 13 change blocks. 
13 lines changed or deleted 355 lines changed or added


 Entities.h   Entities.h 
skipping to change at line 134 skipping to change at line 134
bool isActiveChild(unsigned int child) const; bool isActiveChild(unsigned int child) const;
nvutil::SmartPtr<nvsg::FlipbookAnimationHandle> m_flipbookNode; nvutil::SmartPtr<nvsg::FlipbookAnimationHandle> m_flipbookNode;
}; };
class DrawableEntity : public nvutil::RCObject class DrawableEntity : public nvutil::RCObject
{ {
public: public:
enum { enum {
HIDDEN = BIT0, // 1 = hidden, 0 = visible HIDDEN = BIT0, // 1 = hidden, 0 = visible
CULL_NEVER = BIT1, // 1 = not subject to cull CULL_NEVER = BIT1, // 1 = not subject to cull
BSPHERE_VALID = BIT2
}; };
DrawableEntity(nvsg::DrawableHandle * drawable, unsigned int flags) DrawableEntity(nvsg::DrawableHandle * drawable, unsigned int flags)
: m_flags(flags & CULL_NEVER) // only this one is meaningful : m_flags(flags & CULL_NEVER) // only this one is meaningful at instant iation
, m_drawable(drawable) , m_drawable(drawable)
{} {}
void hide(); void hide();
void show(); void show();
void setParent(GeometryEntity * parent){ m_parent = parent; } void setParent(GeometryEntity * parent){ m_parent = parent; }
nvsg::DrawableHandle* getDrawable() const { return m_drawable.get(); } nvsg::DrawableHandle* getDrawable() const { return m_drawable.get(); }
unsigned int getFlags() const { return m_flags; } unsigned int getFlags() const { return m_flags; }
bool isSubjectToCull() const { return !(m_flags & CULL_NEVER); } bool isSubjectToCull() const { return !(m_flags & CULL_NEVER); }
bool isVisible() const { return !(m_flags & HIDDEN); } bool isVisible() const { return !(m_flags & HIDDEN); }
const nvmath::Sphere3f& getBoundingSphere() const; const nvmath::Sphere3f& getBoundingSphere() const; // returns object-spac
e bounding sphere
const nvmath::Sphere3f& getBoundingSphere(const nvutil::SmartPtr<Transfor
mEntity>& tf) const; // returns world-space bounding sphere
void invalidateBoundingSphere() { m_flags &= ~BSPHERE_VALID; }
private: private:
mutable unsigned int m_flags; mutable unsigned int m_flags;
mutable nvmath::Sphere3f m_boundingSphere; mutable nvmath::Sphere3f m_boundingSphere; // object-space bounding spher
e
mutable nvmath::Sphere3f m_wSphere; // world-space bounding sphere
nvutil::SmartPtr<nvsg::DrawableHandle> m_drawable; nvutil::SmartPtr<nvsg::DrawableHandle> m_drawable;
GeometryEntity * m_parent; // no SmartPtr since children must not referen ce parents! GeometryEntity * m_parent; // no SmartPtr since children must not referen ce parents!
}; };
inline const nvmath::Sphere3f& DrawableEntity::getBoundingSphere() const inline const nvmath::Sphere3f& DrawableEntity::getBoundingSphere() const
{ {
ReadableObject<nvsg::Drawable> p(m_drawable.get()); ReadableObject<nvsg::Drawable> p(m_drawable.get());
return p->getBoundingSphere(); return p->getBoundingSphere();
} }
class HighlightEntity : public nvutil::RCObject class HighlightEntity : public nvutil::RCObject
{ {
public: public:
enum {
BSPHERE_VALID = BIT2
};
explicit HighlightEntity(nvsg::HighlightObjectHandle * highlight) explicit HighlightEntity(nvsg::HighlightObjectHandle * highlight)
: m_highlight(highlight) : m_highlight(highlight)
, m_flags(0) , m_flags(0)
{ {
} }
nvsg::HighlightObjectHandle * getHighlight() const { return m_highlight.g et(); } nvsg::HighlightObjectHandle * getHighlight() const { return m_highlight.g et(); }
const nvmath::Sphere3f& getBoundingSphere() const; const nvmath::Sphere3f& getBoundingSphere() const; // returns object-spac
e bounding sphere
const nvmath::Sphere3f& getBoundingSphere(const nvutil::SmartPtr<Transfor
mEntity>& tf) const; // returns world-space bounding sphere
void invalidateBoundingSphere() { m_flags &= ~BSPHERE_VALID; }
bool isSubjectToCull() const { return true; } // HL entities always are
subject to cull
private: private:
mutable unsigned int m_flags; mutable unsigned int m_flags;
mutable nvmath::Sphere3f m_boundingSphere; mutable nvmath::Sphere3f m_boundingSphere; // object-space bounding spher
e
mutable nvmath::Sphere3f m_wSphere; // world-space bounding sphere
nvutil::SmartPtr<nvsg::HighlightObjectHandle> m_highlight; nvutil::SmartPtr<nvsg::HighlightObjectHandle> m_highlight;
}; };
inline const nvmath::Sphere3f& HighlightEntity::getBoundingSphere() const inline const nvmath::Sphere3f& HighlightEntity::getBoundingSphere() const
{ {
ReadableObject<nvsg::HighlightObject> h(m_highlight.get()); ReadableObject<nvsg::HighlightObject> h(m_highlight.get());
return h->getBoundingSphere(); return h->getBoundingSphere();
} }
skipping to change at line 208 skipping to change at line 221
typedef DrawableCont::iterator DrawableIter; typedef DrawableCont::iterator DrawableIter;
typedef DrawableCont::const_iterator ConstDrawableIter; typedef DrawableCont::const_iterator ConstDrawableIter;
private: private:
GeometryEntity(){} GeometryEntity(){}
public: public:
GeometryEntity( RenderEntity * parent, TransformEntityIndex transform, Re nderBin * renderBin, unsigned int flags ) GeometryEntity( RenderEntity * parent, TransformEntityIndex transform, Re nderBin * renderBin, unsigned int flags )
: m_parentRenderEntity(parent) : m_parentRenderEntity(parent)
, m_transformIndex(transform) , m_transformIndex(transform)
, m_renderBin(renderBin) , m_renderBin(renderBin)
, m_hiddenDrawables(0) , m_hiddenDrawables(0)
, m_flags(flags) , m_flags(flags | SUBJECT_TO_CULL)
{ {
} }
void incHiddenDrawables(); void incHiddenDrawables();
void decHiddenDrawables(); void decHiddenDrawables();
bool isCompletelyHidden() const; bool isCompletelyHidden() const;
bool isCompletelyVisible() const; bool isCompletelyVisible() const;
template< typename InputIter > template< typename InputIter >
void addDrawableIndices( InputIter drawablesBegin, InputIter drawablesEnd ); void addDrawableIndices( InputIter drawablesBegin, InputIter drawablesEnd );
DrawableIter drawablesBegin() { return m_drawableIndices.begin(); } DrawableIter drawablesBegin() { return m_drawableIndices.begin(); }
DrawableIter drawablesEnd() { return m_drawableIndices.end(); }
ConstDrawableIter drawablesBegin() const { return m_drawableIndices.begin (); } ConstDrawableIter drawablesBegin() const { return m_drawableIndices.begin (); }
ConstDrawableIter drawablesEnd() const { return m_drawableIndices.end() ; } ConstDrawableIter drawablesEnd() const { return m_drawableIndices.end() ; }
unsigned int numDrawables() const { return checked_cast<unsigned int>(m_d rawableIndices.size()); } unsigned int numDrawables() const { return checked_cast<unsigned int>(m_d rawableIndices.size()); }
unsigned int numHiddenDrawables() const { return m_hiddenDrawables; } unsigned int numHiddenDrawables() const { return m_hiddenDrawables; }
TransformEntityIndex getTransformIndex() const { return m_transformIndex; } TransformEntityIndex getTransformIndex() const { return m_transformIndex; }
const nvmath::Sphere3f& getBoundingSphere() const; const nvmath::Sphere3f& getBoundingSphere() const;
bool isNoShadowCaster() const { return !!(m_flags & NO_SHADOW_CASTER); } ; bool isNoShadowCaster() const { return !!(m_flags & NO_SHADOW_CASTER); } ;
unsigned int getFlags() const { return m_flags; }; unsigned int getFlags() const { return m_flags; };
void invalidateBoundingSphere() { m_flags &= ~BSPHERE_VALID; } void invalidateBoundingSphere();
void resetSubjectToCull() { m_flags &= ~SUBJECT_TO_CULL; m_parentRenderEn
tity->resetSubjectToCull(); }
bool isSubjectToCull() const { return !!(m_flags & SUBJECT_TO_CULL); }
enum { enum {
BSPHERE_VALID = BIT0 BSPHERE_VALID = BIT0
, NO_SHADOW_CASTER = BIT1 , NO_SHADOW_CASTER = BIT1
, SUBJECT_TO_CULL = BIT2
}; };
private: private:
mutable unsigned int m_flags; mutable unsigned int m_flags;
mutable nvmath::Sphere3f m_boundingSphere; mutable nvmath::Sphere3f m_boundingSphere;
RenderEntity * m_parentRenderEntity; // no SmartPtr since children must n ot reference parents! RenderEntity * m_parentRenderEntity; // no SmartPtr since children must n ot reference parents!
TransformEntityIndex m_transformIndex; TransformEntityIndex m_transformIndex;
unsigned int m_hiddenDrawables; unsigned int m_hiddenDrawables;
skipping to change at line 259 skipping to change at line 275
RenderBin * m_renderBin; RenderBin * m_renderBin;
}; };
template< typename InputIter > template< typename InputIter >
void GeometryEntity::addDrawableIndices( InputIter drawablesBegin, InputIte r drawablesEnd ) void GeometryEntity::addDrawableIndices( InputIter drawablesBegin, InputIte r drawablesEnd )
{ {
NVSG_ASSERT( m_renderBin ); NVSG_ASSERT( m_renderBin );
InputIter it = drawablesBegin; InputIter it = drawablesBegin;
for( /**/; it != drawablesEnd; ++it ) for( /**/; it != drawablesEnd; ++it )
{ {
m_renderBin->getDrawableEntity(*it)->setParent(this); nvutil::SmartPtr<DrawableEntity>& drawableEntity = m_renderBin->getDraw
ableEntity(*it);
drawableEntity->setParent(this);
if ( !drawableEntity->isSubjectToCull() )
{
resetSubjectToCull();
}
} }
m_drawableIndices.insert(m_drawableIndices.end(), drawablesBegin, drawabl esEnd); m_drawableIndices.insert(m_drawableIndices.end(), drawablesBegin, drawabl esEnd);
m_flags &= ~BSPHERE_VALID; m_flags &= ~BSPHERE_VALID;
} }
class HighlightGeometryEntity : public nvutil::RCObject class HighlightGeometryEntity : public nvutil::RCObject
{ {
public: public:
typedef std::list<HighlightEntityIndex> HighlightCont; typedef std::list<HighlightEntityIndex> HighlightCont;
typedef HighlightCont::const_iterator ConstHighlightIter; typedef HighlightCont::const_iterator ConstHighlightIter;
typedef HighlightCont::iterator HighlightIter;
private: private:
HighlightGeometryEntity(){} HighlightGeometryEntity(){}
public: public:
HighlightGeometryEntity( TransformEntityIndex transform, RenderBin * rend erBin ) HighlightGeometryEntity( TransformEntityIndex transform, RenderBin * rend erBin )
: m_transformIndex( transform ) : m_transformIndex( transform )
, m_renderBin( renderBin ) , m_renderBin( renderBin )
, m_flags(0) , m_flags(0)
{} {}
template< typename InputIter > template< typename InputIter >
void addHighlightIndices( InputIter highlightsBegin, InputIter highlights End ); void addHighlightIndices( InputIter highlightsBegin, InputIter highlights End );
ConstHighlightIter highlightsBegin() const { return m_highlightIndices.be gin(); } ConstHighlightIter highlightsBegin() const { return m_highlightIndices.be gin(); }
HighlightIter highlightsBegin() { return m_highlightIndices.begin(); }
ConstHighlightIter highlightsEnd() const { return m_highlightIndices.en d(); } ConstHighlightIter highlightsEnd() const { return m_highlightIndices.en d(); }
TransformEntityIndex getTransformIndex() const { return m_transformIndex; } TransformEntityIndex getTransformIndex() const { return m_transformIndex; }
const nvmath::Sphere3f& getBoundingSphere()const; const nvmath::Sphere3f& getBoundingSphere()const;
void invalidateBoundingSphere() { m_flags &= ~BSPHERE_VALID; } void invalidateBoundingSphere();
bool isSubjectToCull() const { return true; } // HL geometry always is s
ubject to cull
private: private:
enum { enum {
BSPHERE_VALID = BIT0 BSPHERE_VALID = BIT0
}; };
mutable unsigned int m_flags; mutable unsigned int m_flags;
mutable nvmath::Sphere3f m_boundingSphere; mutable nvmath::Sphere3f m_boundingSphere;
TransformEntityIndex m_transformIndex; TransformEntityIndex m_transformIndex;
 End of changes. 15 change blocks. 
10 lines changed or deleted 45 lines changed or added


 GLContext.h   GLContext.h 
skipping to change at line 1158 skipping to change at line 1159
friend NVSG_API void GLGPUSyncGetHandleSize (GLuint *initSize, GLuint *ma pSize); friend NVSG_API void GLGPUSyncGetHandleSize (GLuint *initSize, GLuint *ma pSize);
friend NVSG_API void GLGPUSyncInit (GLvoid* syncData); friend NVSG_API void GLGPUSyncInit (GLvoid* syncData);
friend NVSG_API void GLGPUSyncEnd (GLvoid* syncData); friend NVSG_API void GLGPUSyncEnd (GLvoid* syncData);
friend NVSG_API void GLGPUSyncMapBuffer (GLvoid* syncData); friend NVSG_API void GLGPUSyncMapBuffer (GLvoid* syncData);
friend NVSG_API void GLGPUSyncUnmapBuffer (GLvoid* syncData); friend NVSG_API void GLGPUSyncUnmapBuffer (GLvoid* syncData);
friend NVSG_API void GLGPUSyncCopyBuffer (GLuint offset, GLuint size, friend NVSG_API void GLGPUSyncCopyBuffer (GLuint offset, GLuint size,
GLvoid * syncDa ta); GLvoid * syncDa ta);
friend NVSG_API void GLGPUSyncAcquire (GLvoid* syncData); friend NVSG_API void GLGPUSyncAcquire (GLvoid* syncData);
friend NVSG_API void GLGPUSyncRelease (GLvoid* syncData); friend NVSG_API void GLGPUSyncRelease (GLvoid* syncData);
// GL_ARB_tessellation_shader
friend NVSG_API void GLPatchParameterfv( GLenum pname, const GLfloat * va
lues );
friend NVSG_API void GLPatchParameteri( GLenum pname, GLint value );
// GL_NV_present_video // GL_NV_present_video
friend NVSG_API void GLPresentFrameKeyedNV(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, friend NVSG_API void GLPresentFrameKeyedNV(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId,
GLenum type, GLenum target0, G Luint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); GLenum type, GLenum target0, G Luint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
friend NVSG_API void GLPresentFrameDualFillNV(GLuint video_slot, GLuint64 EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, friend NVSG_API void GLPresentFrameDualFillNV(GLuint video_slot, GLuint64 EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId,
GLenum type, GLenum target0 , GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); GLenum type, GLenum target0 , GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
friend NVSG_API void GLGetVideoivNV(GLuint video_slot, GLenum pname, GLin t *params); friend NVSG_API void GLGetVideoivNV(GLuint video_slot, GLenum pname, GLin t *params);
friend NVSG_API void GLGetVideouivNV(GLuint video_slot, GLenum pname, GLu int *params); friend NVSG_API void GLGetVideouivNV(GLuint video_slot, GLenum pname, GLu int *params);
friend NVSG_API void GLGetVideoi64vNV(GLuint video_slot, GLenum pname, GL int64EXT *params); friend NVSG_API void GLGetVideoi64vNV(GLuint video_slot, GLenum pname, GL int64EXT *params);
friend NVSG_API void GLGetVideoui64vNV(GLuint video_slot, GLenum pname, G Luint64EXT *params); friend NVSG_API void GLGetVideoui64vNV(GLuint video_slot, GLenum pname, G Luint64EXT *params);
skipping to change at line 1204 skipping to change at line 1209
friend NVSG_API void GLGetUniformui64vNV(GLuint program, GLint location, GLuint64EXT *params); friend NVSG_API void GLGetUniformui64vNV(GLuint program, GLint location, GLuint64EXT *params);
friend NVSG_API void GLProgramUniformui64NV(GLuint program, GLint locatio n, GLuint64EXT v0); friend NVSG_API void GLProgramUniformui64NV(GLuint program, GLint locatio n, GLuint64EXT v0);
friend NVSG_API void GLProgramUniformui64vNV(GLuint program, GLint locati on, GLsizei count, const GLuint64EXT *value); friend NVSG_API void GLProgramUniformui64vNV(GLuint program, GLint locati on, GLsizei count, const GLuint64EXT *value);
// helper // helper
friend NVSG_API void GLUploadBuffers(); friend NVSG_API void GLUploadBuffers();
#if defined(_WIN32) #if defined(_WIN32)
friend NVSG_API BOOL WGLBindTexImage( HPBUFFERARB hPbuffer, int iBuffer ) ; friend NVSG_API BOOL WGLBindTexImage( HPBUFFERARB hPbuffer, int iBuffer ) ;
friend NVSG_API BOOL WGLChoosePixelFormat( HDC hdc, const int *piAttribIL ist, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nN umFormats ); friend NVSG_API BOOL WGLChoosePixelFormat( HDC hdc, const int *piAttribIL ist, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nN umFormats );
friend NVSG_API BOOL WGLGetPixelFormatAttribiv(HDC hdc, int iPixelFormat, friend NVSG_API BOOL WGLGetPixelFormatAttribiv(HDC hdc, int iPixelFormat,
int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues) int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues
; );
friend NVSG_API BOOL WGLGetPixelFormatAttribfv(HDC hdc, int iPixelFormat, friend NVSG_API BOOL WGLGetPixelFormatAttribfv(HDC hdc, int iPixelFormat,
int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValue int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValue
s); s );
friend NVSG_API HGLRC WGLCreateContext( HDC hdc ); friend NVSG_API HGLRC WGLCreateContext( HDC hdc );
friend NVSG_API HPBUFFERARB WGLCreatePbuffer( HDC hdc, int pixelFormat, i nt width, int height, const int *attribList ); friend NVSG_API HPBUFFERARB WGLCreatePbuffer( HDC hdc, int pixelFormat, i nt width, int height, const int *attribList );
friend NVSG_API BOOL WGLDeleteContext( HGLRC hglrc ); friend NVSG_API BOOL WGLDeleteContext( HGLRC hglrc );
friend NVSG_API BOOL WGLDestroyPbuffer( HPBUFFERARB hPbuffer ); friend NVSG_API BOOL WGLDestroyPbuffer( HPBUFFERARB hPbuffer );
friend NVSG_API HGLRC WGLGetCurrentContext(void); friend NVSG_API HGLRC WGLGetCurrentContext(void);
friend NVSG_API HDC WGLGetCurrentDC(void); friend NVSG_API HDC WGLGetCurrentDC(void);
friend NVSG_API BOOL WGLMakeCurrent( HDC hdc, HGLRC hglrc ); friend NVSG_API BOOL WGLMakeCurrent( HDC hdc, HGLRC hglrc );
friend NVSG_API HDC WGLGetPbufferDC( HPBUFFERARB hPbuffer ); friend NVSG_API HDC WGLGetPbufferDC( HPBUFFERARB hPbuffer );
friend NVSG_API BOOL WGLQueryPbuffer( HPBUFFERARB hPbuffer, int attribute , int *value ); friend NVSG_API BOOL WGLQueryPbuffer( HPBUFFERARB hPbuffer, int attribute , int *value );
friend NVSG_API int WGLReleasePbufferDC( HPBUFFERARB hPbuffer, HDC hdc ); friend NVSG_API int WGLReleasePbufferDC( HPBUFFERARB hPbuffer, HDC hdc );
skipping to change at line 1231 skipping to change at line 1236
friend NVSG_API BOOL WGLQueryMaxSwapGroupsNV(HDC hDC, GLuint * maxGroups, GLuint * maxBarriers); friend NVSG_API BOOL WGLQueryMaxSwapGroupsNV(HDC hDC, GLuint * maxGroups, GLuint * maxBarriers);
friend NVSG_API BOOL WGLQueryFrameCountNV(HDC hDC, GLuint * count); friend NVSG_API BOOL WGLQueryFrameCountNV(HDC hDC, GLuint * count);
friend NVSG_API BOOL WGLResetFrameCountNV(HDC hDC); friend NVSG_API BOOL WGLResetFrameCountNV(HDC hDC);
friend NVSG_API BOOL WGLEnumGpus(UINT iIndex, HGPUNV *hGpu); friend NVSG_API BOOL WGLEnumGpus(UINT iIndex, HGPUNV *hGpu);
friend NVSG_API BOOL WGLEnumGpuDevices(HGPUNV hGpu, UINT iIndex, PGPU_DEV ICE pGpuDevice); friend NVSG_API BOOL WGLEnumGpuDevices(HGPUNV hGpu, UINT iIndex, PGPU_DEV ICE pGpuDevice);
friend NVSG_API HDC WGLCreateAffinityDC(const HGPUNV *pGpuList); friend NVSG_API HDC WGLCreateAffinityDC(const HGPUNV *pGpuList);
friend NVSG_API BOOL WGLEnumGpusFromAffinityDC(HDC hAffinityDC, UINT iInd ex, HGPUNV *hGpu); friend NVSG_API BOOL WGLEnumGpusFromAffinityDC(HDC hAffinityDC, UINT iInd ex, HGPUNV *hGpu);
friend NVSG_API BOOL WGLDeleteDC(HDC hAffinityDC); friend NVSG_API BOOL WGLDeleteDC(HDC hAffinityDC);
// routines to handle bypassing of WGLCreateContext and WGLDeleteContext // routines to handle bypassing of WGLCreateContext and WGLDeleteContext
friend NVSG_API void WGLAttachContext(HDC, HGLRC); friend NVSG_API void WGLAttachContext(HDC, HGLRC);
friend NVSG_API bool WGLIsAttached(HGLRC);
friend NVSG_API void WGLDetachContext(HGLRC); friend NVSG_API void WGLDetachContext(HGLRC);
// WGL_NV_present_video // WGL_NV_present_video
friend NVSG_API int WGLEnumerateVideoDevicesNV(HDC hDC, HVIDEOOUTPUTDEVIC ENV *phDeviceList); friend NVSG_API int WGLEnumerateVideoDevicesNV(HDC hDC, HVIDEOOUTPUTDEVIC ENV *phDeviceList);
friend NVSG_API BOOL WGLBindVideoDeviceNV(HDC hDC, unsigned int uVideoSlo t, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); friend NVSG_API BOOL WGLBindVideoDeviceNV(HDC hDC, unsigned int uVideoSlo t, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList);
friend NVSG_API BOOL WGLQueryCurrentContextNV(int iAttribute, int *piValu e); friend NVSG_API BOOL WGLQueryCurrentContextNV(int iAttribute, int *piValu e);
#endif #endif
#if defined(LINUX) #if defined(LINUX)
friend NVSG_API GLXContext GLXCreateContext(Display *dpy, XVisualInfo *vi s, GLXContext shareList, Bool direct); friend NVSG_API GLXContext GLXCreateContext(Display *dpy, XVisualInfo *vi s, GLXContext shareList, Bool direct);
friend NVSG_API void GLXDestroyContext(Display *dpy, GLXContext ctx); friend NVSG_API void GLXDestroyContext(Display *dpy, GLXContext ctx);
friend NVSG_API GLXContext GLXGetCurrentContext(); friend NVSG_API GLXContext GLXGetCurrentContext();
friend NVSG_API GLXDrawable GLXGetCurrentDrawable(); friend NVSG_API GLXDrawable GLXGetCurrentDrawable();
friend NVSG_API Bool GLXMakeCurrent(Display *dpy, GLXDrawable drawable, G LXContext ctx); friend NVSG_API Bool GLXMakeCurrent(Display *dpy, GLXDrawable drawable, G LXContext ctx);
// routines to handle bypassing of GLXCreateContext and GLXDestroyContext // routines to handle bypassing of GLXCreateContext and GLXDestroyContext
friend NVSG_API void GLXAttachContext(Display*, GLXContext); friend NVSG_API void GLXAttachContext(Display*, GLXContext);
friend NVSG_API bool GLXIsAttached(GLXContext);
friend NVSG_API void GLXDetachContext(GLXContext); friend NVSG_API void GLXDetachContext(GLXContext);
// GLX_SGI_swap_control // GLX_SGI_swap_control
friend NVSG_API int GLXSwapInterval (int); friend NVSG_API int GLXSwapInterval (int);
// GLX_SGI_video_sync // GLX_SGI_video_sync
friend NVSG_API int GLXGetVideoSync (unsigned int *); friend NVSG_API int GLXGetVideoSync (unsigned int *);
friend NVSG_API int GLXWaitVideoSync (int, int, unsigned int *); friend NVSG_API int GLXWaitVideoSync (int, int, unsigned int *);
// GLX_NV_swap_group // GLX_NV_swap_group
friend NVSG_API Bool GLXJoinSwapGroup(Display *dpy, GLXDrawable drawable, friend NVSG_API Bool GLXJoinSwapGroup(Display *dpy, GLXDrawable drawable,
GLuint group); GLuint group);
skipping to change at line 2715 skipping to change at line 2722
#if defined( GL_CACHING ) #if defined( GL_CACHING )
glContext()->m_textureAttributes.m_toActivate = texture - GL_TEXTURE0; glContext()->m_textureAttributes.m_toActivate = texture - GL_TEXTURE0;
#else #else
NVSG_GL_STATS_ACTIVE_TEXTURE( texture ); NVSG_GL_STATS_ACTIVE_TEXTURE( texture );
NVSG_ASSERT( glContext()->m_glFunctions && glContext()->m_glFunctions->gl ActiveTexture ); NVSG_ASSERT( glContext()->m_glFunctions && glContext()->m_glFunctions->gl ActiveTexture );
glContext()->m_glFunctions->glActiveTexture(texture); glContext()->m_glFunctions->glActiveTexture(texture);
ASSERT_GL_NO_ERROR; ASSERT_GL_NO_ERROR;
#endif #endif
} }
//! Replacement of glPatchParameterfvNV
/** This function asserts on the result before returning. */
inline void GLPatchParameterfv( GLenum pname, const GLfloat * values )
{
NVSG_GL_STATS_FCT_COUNT();
NVSG_ASSERT( glContext()->m_glFunctions && glContext()->m_glFunctions->gl
PatchParameterfv );
glContext()->m_glFunctions->glPatchParameterfv( pname, values );
ASSERT_GL_NO_ERROR;
}
//! Replacement of glPatchParameteriNV
/** This function asserts on the result before returning. */
inline void GLPatchParameteri( GLenum pname, GLint value )
{
NVSG_GL_STATS_FCT_COUNT();
NVSG_ASSERT( glContext()->m_glFunctions && glContext()->m_glFunctions->gl
PatchParameteri );
glContext()->m_glFunctions->glPatchParameteri( pname, value );
ASSERT_GL_NO_ERROR;
}
//! Replacement of glActiveVaryingNV //! Replacement of glActiveVaryingNV
/** This function asserts on the result before returning. */ /** This function asserts on the result before returning. */
inline void GLActiveVarying( GLuint program, const GLchar *name ) inline void GLActiveVarying( GLuint program, const GLchar *name )
{ {
NVSG_GL_STATS_FCT_COUNT(); NVSG_GL_STATS_FCT_COUNT();
NVSG_ASSERT( glContext()->m_glFunctions && glContext()->m_glFunctions->gl ActiveVaryingNV ); NVSG_ASSERT( glContext()->m_glFunctions && glContext()->m_glFunctions->gl ActiveVaryingNV );
glContext()->m_glFunctions->glActiveVaryingNV( program, name ); glContext()->m_glFunctions->glActiveVaryingNV( program, name );
ASSERT_GL_NO_ERROR; ASSERT_GL_NO_ERROR;
} }
skipping to change at line 3878 skipping to change at line 3905
* \param plane The id of the clip plane for which the plane equation is t o be reset. * \param plane The id of the clip plane for which the plane equation is t o be reset.
* \remarks If GL_SUPPORT_RESET is defined (per default, it is), this func tion sets the clip plane * \remarks If GL_SUPPORT_RESET is defined (per default, it is), this func tion sets the clip plane
* equation of \a plane to the previous equations. Otherwise, it is set to the default plane * equation of \a plane to the previous equations. Otherwise, it is set to the default plane
* (0,0,0,0). * (0,0,0,0).
* \sa GLClipPlane */ * \sa GLClipPlane */
inline void GLResetClipPlaneEquation( GLenum plane ) inline void GLResetClipPlaneEquation( GLenum plane )
{ {
#if defined( GL_SUPPORT_RESET ) #if defined( GL_SUPPORT_RESET )
GLClipPlane( plane, &glContext()->m_previousAttributes.m_clipPlaneEquatio ns[plane-GL_CLIP_PLANE0][0] ); GLClipPlane( plane, &glContext()->m_previousAttributes.m_clipPlaneEquatio ns[plane-GL_CLIP_PLANE0][0] );
#else #else
static nvmath::Vec4d(0.0, 0.0, 0.0, 0.0); static double zeroPlane[4] = {0.0, 0.0, 0.0, 0.0};
GLClipPlane( plane, zeroPlane ); GLClipPlane( plane, zeroPlane );
#endif #endif
} }
//! Replacement of glColor3b //! Replacement of glColor3b
/** This function caches the color values and asserts on the result before returning. */ /** This function caches the color values and asserts on the result before returning. */
inline void GLColor3b( GLbyte red, GLbyte green, GLbyte blue ) inline void GLColor3b( GLbyte red, GLbyte green, GLbyte blue )
{ {
NVSG_GL_STATS_COLOR3B( red, green, blue ); NVSG_GL_STATS_COLOR3B( red, green, blue );
glColor3b( red, green, blue ); glColor3b( red, green, blue );
skipping to change at line 5070 skipping to change at line 5097
# define GL_ENABLE( cap, cache, prev ) _GLEnableCached( cap, cache, prev ) # define GL_ENABLE( cap, cache, prev ) _GLEnableCached( cap, cache, prev )
# define GL_IS_ENABLED( cap, cache ) _GLIsEnabledCached( cap, cache ) # define GL_IS_ENABLED( cap, cache ) _GLIsEnabledCached( cap, cache )
# else # else
# define GL_DISABLE( cap, cache, prev ) _GLDisable( cap ) # define GL_DISABLE( cap, cache, prev ) _GLDisable( cap )
# define GL_ENABLE( cap, cache, prev ) _GLEnable( cap ) # define GL_ENABLE( cap, cache, prev ) _GLEnable( cap )
# define GL_IS_ENABLED( cap, cache ) _GLIsEnabled( cap ) # define GL_IS_ENABLED( cap, cache ) _GLIsEnabled( cap )
# endif # endif
#else #else
# define GL_DISABLE( cap, cache, prev ) _GLDisable( cap ) # define GL_DISABLE( cap, cache, prev ) _GLDisable( cap )
# define GL_ENABLE( cap, cache, prev ) _GLEnable( cap ) # define GL_ENABLE( cap, cache, prev ) _GLEnable( cap )
# define GL_IS_ENABLED( cap, cache ) _GLIsEnabled( cap )
#endif #endif
#if defined(GL_SUPPORT_RESET) #if defined(GL_SUPPORT_RESET)
# define GL_RESET( cap, cache, prev ) ( prev ? _GLEnableCached( cap, cache ) : _GLDisableCached( cap, cache ) ) # define GL_RESET( cap, cache, prev ) ( prev ? _GLEnableCached( cap, cache ) : _GLDisableCached( cap, cache ) )
#else #else
# define GL_RESET( cap, cache, prev ) _GLDisable( cap ); # define GL_RESET( cap, cache, prev ) _GLDisable( cap );
#endif #endif
#endif // DOXYGEN_IGNORE #endif // DOXYGEN_IGNORE
//! Cached version of GLDisable( GL_ALPHA_TEST ) //! Cached version of GLDisable( GL_ALPHA_TEST )
skipping to change at line 9191 skipping to change at line 9219
* \param light The id of the light for which the diffuse color is to be r eset. * \param light The id of the light for which the diffuse color is to be r eset.
* \remarks If GL_SUPPORT_RESET is defined (per default, it is), this func tion sets the diffuse * \remarks If GL_SUPPORT_RESET is defined (per default, it is), this func tion sets the diffuse
* lighting to it's previous state. Otherwise, it is set to (1,1,1,1) if \ a light is GL_LIGHT0, or * lighting to it's previous state. Otherwise, it is set to (1,1,1,1) if \ a light is GL_LIGHT0, or
* (0,0,0,1) otherwise. * (0,0,0,1) otherwise.
* \sa GLLightDiffuse */ * \sa GLLightDiffuse */
inline void GLResetLightDiffuse( GLenum light ) inline void GLResetLightDiffuse( GLenum light )
{ {
#if defined(GL_SUPPORT_RESET) #if defined(GL_SUPPORT_RESET)
GLLightDiffuse( light, &glContext()->m_previousAttributes.m_lightParamete rs[light-GL_LIGHT0].m_diffuse[0] ); GLLightDiffuse( light, &glContext()->m_previousAttributes.m_lightParamete rs[light-GL_LIGHT0].m_diffuse[0] );
#else #else
static Vec4f ld[2] = { Vec4f(1.0f,1.0f.1.0f,1.0f), Vec4f(0.0f,0.0f,0.0f,1 .0f) }; static nvmath::Vec4f ld[2] = { nvmath::Vec4f(1.0f,1.0f,1.0f,1.0f), nvmath ::Vec4f(0.0f,0.0f,0.0f,1.0f) };
GLLightDiffuse( light, &ld[light!=GL_LIGHT0][0] ); GLLightDiffuse( light, &ld[light!=GL_LIGHT0][0] );
#endif #endif
} }
//! Cached version of GLLightf( light, GL_LINEAR_ATTENUATION, param ) //! Cached version of GLLightf( light, GL_LINEAR_ATTENUATION, param )
/** This function caches the GL_LINEAR_ATTENUATION value on the light. /** This function caches the GL_LINEAR_ATTENUATION value on the light.
* It is faster to call this method instead of GLLightf( light, GL_LINEAR_ ATTENUATION, param ) directly. */ * It is faster to call this method instead of GLLightf( light, GL_LINEAR_ ATTENUATION, param ) directly. */
inline void GLLightLinearAttenuation( GLenum light, GLfloat param ) inline void GLLightLinearAttenuation( GLenum light, GLfloat param )
{ {
GL_LIGHT_F( light, GL_LINEAR_ATTENUATION, param GL_LIGHT_F( light, GL_LINEAR_ATTENUATION, param
skipping to change at line 9296 skipping to change at line 9324
* \param light The id of the light for which the specular color is to be reset. * \param light The id of the light for which the specular color is to be reset.
* \remarks If GL_SUPPORT_RESET is defined (per default, it is), this func tion sets the specular * \remarks If GL_SUPPORT_RESET is defined (per default, it is), this func tion sets the specular
* color of the light \a light to it's previous state. Otherwise, it is se t to (1,1,1,1) if \a * color of the light \a light to it's previous state. Otherwise, it is se t to (1,1,1,1) if \a
* light is GL_LIGHT0, or (0,0,0,1) otherwise. * light is GL_LIGHT0, or (0,0,0,1) otherwise.
* \sa GLLightSpecular */ * \sa GLLightSpecular */
inline void GLResetLightSpecular( GLenum light ) inline void GLResetLightSpecular( GLenum light )
{ {
#if defined(GL_SUPPORT_RESET) #if defined(GL_SUPPORT_RESET)
GLLightSpecular( light, &glContext()->m_previousAttributes.m_lightParamet ers[light-GL_LIGHT0].m_specular[0] ); GLLightSpecular( light, &glContext()->m_previousAttributes.m_lightParamet ers[light-GL_LIGHT0].m_specular[0] );
#else #else
static Vec4f ls[2] = { Vec4f(1.0f,1.0f.1.0f,1.0f), Vec4f(0.0f,0.0f,0.0f,1 .0f) }; static nvmath::Vec4f ls[2] = { nvmath::Vec4f(1.0f,1.0f,1.0f,1.0f), nvmath ::Vec4f(0.0f,0.0f,0.0f,1.0f) };
GLLightSpecular( light, &ls[light!=GL_LIGHT0][0] ); GLLightSpecular( light, &ls[light!=GL_LIGHT0][0] );
#endif #endif
} }
//! Cached version of GLLightf( light, GL_SPOT_CUTOFF, param ) //! Cached version of GLLightf( light, GL_SPOT_CUTOFF, param )
/** This function caches the GL_SPOT_CUTOFF value on the light. /** This function caches the GL_SPOT_CUTOFF value on the light.
* It is faster to call this method instead of GLLightf( light, GL_SPOT_CU TOFF, param ) directly. */ * It is faster to call this method instead of GLLightf( light, GL_SPOT_CU TOFF, param ) directly. */
inline void GLLightSpotCutoff( GLenum light, GLfloat param ) inline void GLLightSpotCutoff( GLenum light, GLfloat param )
{ {
GL_LIGHT_F( light, GL_SPOT_CUTOFF, param GL_LIGHT_F( light, GL_SPOT_CUTOFF, param
skipping to change at line 16424 skipping to change at line 16452
* instead of WGLIsExtensionExported to ensure that all required function pointers * instead of WGLIsExtensionExported to ensure that all required function pointers
* are properly initialized. * are properly initialized.
* \sa WGLInitializeExtensions, WGLIsExtensionAvailable */ * \sa WGLInitializeExtensions, WGLIsExtensionAvailable */
inline bool WGLIsExtensionExported(const std::string& extstr) inline bool WGLIsExtensionExported(const std::string& extstr)
{ {
return theWGLFunctions::instance()->isExported(extstr); return theWGLFunctions::instance()->isExported(extstr);
} }
//! Replacement of wglBindTexImageARB //! Replacement of wglBindTexImageARB
/** This function hides the extension character of wglBindTexImageARB and a sserts on its result before returning. */ /** This function hides the extension character of wglBindTexImageARB and a sserts on its result before returning. */
inline BOOL WGLBindTexImage( HPBUFFERARB hPbuffer, int iBuffer ) inline BOOL WGLBindTexImage( HPBUFFERARB hPbuffer, int iBuffer )
{ {
NVSG_GL_STATS_FCT_COUNT(); NVSG_GL_STATS_FCT_COUNT();
NVSG_ASSERT( theWGLFunctions::instance()->wglBindTexImageARB ); NVSG_ASSERT( theWGLFunctions::instance()->wglBindTexImageARB );
return theWGLFunctions::instance()->wglBindTexImageARB( hPbuffer, iBuffer ); return theWGLFunctions::instance()->wglBindTexImageARB( hPbuffer, iBuffer );
} }
//! Replacement of wglChoosePixelFormatARB //! Replacement of wglChoosePixelFormatARB
/** This function hides the extension character of wglChoosePixelFormatARB and asserts on its result before returning. */ /** This function hides the extension character of wglChoosePixelFormatARB and asserts on its result before returning. */
inline BOOL WGLChoosePixelFormat( HDC hdc, const int *piAttribIList, cons t FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats ) inline BOOL WGLChoosePixelFormat( HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats )
{ {
NVSG_GL_STATS_FCT_COUNT(); NVSG_GL_STATS_FCT_COUNT();
NVSG_ASSERT( theWGLFunctions::instance()->wglChoosePixelFormatARB ); NVSG_ASSERT( theWGLFunctions::instance()->wglChoosePixelFormatARB );
return theWGLFunctions::instance()->wglChoosePixelFormatARB( hdc, piAttri bIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats ); return theWGLFunctions::instance()->wglChoosePixelFormatARB( hdc, piAttri bIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats );
} }
//! Replacement of wglGetPixelFormatAttribivARB //! Replacement of wglGetPixelFormatAttribivARB
/** This function hides the extension character of wglGetPixelFormatAttribi vARB and asserts on its result before returning. */ /** This function hides the extension character of wglGetPixelFormatAttribi vARB and asserts on its result before returning. */
inline BOOL WGLGetPixelFormatAttribiv(HDC hdc, int iPixelFormat, int iLayer Plane, UINT nAttributes, const int *piAttributes, int *piValues) inline BOOL WGLGetPixelFormatAttribiv(HDC hdc, int iPixelFormat, int iLayer Plane, UINT nAttributes, const int *piAttributes, int *piValues )
{ {
NVSG_GL_STATS_FCT_COUNT(); NVSG_GL_STATS_FCT_COUNT();
NVSG_ASSERT( theWGLFunctions::instance()->wglGetPixelFormatAttribivARB ); NVSG_ASSERT( theWGLFunctions::instance()->wglGetPixelFormatAttribivARB );
return theWGLFunctions::instance()->wglGetPixelFormatAttribivARB( hdc, iP ixelFormat, iLayerPlane, nAttributes, piAttributes, piValues ); return theWGLFunctions::instance()->wglGetPixelFormatAttribivARB(hdc, iPi xelFormat, iLayerPlane, nAttributes, piAttributes, piValues );
} }
//! Replacement of wglGetPixelFormatAttribfvARB //! Replacement of wglGetPixelFormatAttribfvARB
/** This function hides the extension character of wglGetPixelFormatAttribf vARB and asserts on its result before returning. */ /** This function hides the extension character of wglGetPixelFormatAttribf vARB and asserts on its result before returning. */
inline BOOL WGLGetPixelFormatAttribfv(HDC hdc, int iPixelFormat, int iLayer Plane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues) inline BOOL WGLGetPixelFormatAttribfv(HDC hdc, int iPixelFormat, int iLayer Plane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues )
{ {
NVSG_GL_STATS_FCT_COUNT(); NVSG_GL_STATS_FCT_COUNT();
NVSG_ASSERT( theWGLFunctions::instance()->wglGetPixelFormatAttribfvARB ); NVSG_ASSERT( theWGLFunctions::instance()->wglGetPixelFormatAttribfvARB );
return theWGLFunctions::instance()->wglGetPixelFormatAttribfvARB( hdc, iP ixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues ); return theWGLFunctions::instance()->wglGetPixelFormatAttribfvARB(hdc, iPi xelFormat, iLayerPlane, nAttributes, piAttributes, pfValues );
} }
//! Replacement of wglCreateContext. //! Replacement of wglCreateContext.
/** If this function is used in conjunction with WGLCreateContext, WGLMakeC urrent, and the functions with /** If this function is used in conjunction with WGLCreateContext, WGLMakeC urrent, and the functions with
* uppercase GL prefix, then the states and attributes are cached per cont ext. Moreover, the extension functions of * uppercase GL prefix, then the states and attributes are cached per cont ext. Moreover, the extension functions of
* OpenGL are used per context (as they really should!). */ * OpenGL are used per context (as they really should!). */
inline HGLRC WGLCreateContext( HDC hdc ) inline HGLRC WGLCreateContext( HDC hdc )
{ {
HGLRC hglrc = wglCreateContext( hdc ); HGLRC hglrc = wglCreateContext( hdc );
WGLAttachContext(hdc, hglrc); WGLAttachContext(hdc, hglrc);
 End of changes. 15 change blocks. 
15 lines changed or deleted 45 lines changed or added


 GLFunctions.h   GLFunctions.h 
skipping to change at line 369 skipping to change at line 369
PFNGLPROGRAMENVPARAMETER4DARBPROC glProgramEnvParameter4dAR B; PFNGLPROGRAMENVPARAMETER4DARBPROC glProgramEnvParameter4dAR B;
PFNGLPROGRAMENVPARAMETER4DVARBPROC glProgramEnvParameter4dvA RB; PFNGLPROGRAMENVPARAMETER4DVARBPROC glProgramEnvParameter4dvA RB;
PFNGLPROGRAMENVPARAMETER4FARBPROC glProgramEnvParameter4fAR B; PFNGLPROGRAMENVPARAMETER4FARBPROC glProgramEnvParameter4fAR B;
PFNGLPROGRAMENVPARAMETER4FVARBPROC glProgramEnvParameter4fvA RB; PFNGLPROGRAMENVPARAMETER4FVARBPROC glProgramEnvParameter4fvA RB;
PFNGLPROGRAMLOCALPARAMETER4DARBPROC glProgramLocalParameter4d ARB; PFNGLPROGRAMLOCALPARAMETER4DARBPROC glProgramLocalParameter4d ARB;
PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glProgramLocalParameter4d vARB; PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glProgramLocalParameter4d vARB;
PFNGLPROGRAMLOCALPARAMETER4FARBPROC glProgramLocalParameter4f ARB; PFNGLPROGRAMLOCALPARAMETER4FARBPROC glProgramLocalParameter4f ARB;
PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glProgramLocalParameter4f vARB; PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glProgramLocalParameter4f vARB;
PFNGLPROGRAMSTRINGARBPROC glProgramStringARB; PFNGLPROGRAMSTRINGARBPROC glProgramStringARB;
// GL_ARB_tessellation_shader
PFNGLPATCHPARAMETERFVPROC glPatchParameterfv;
PFNGLPATCHPARAMETERIPROC glPatchParameteri;
// GL_EXT_bindable_uniform functions // GL_EXT_bindable_uniform functions
PFNGLGETUNIFORMBUFFERSIZEEXTPROC glGetUniformBufferSize; PFNGLGETUNIFORMBUFFERSIZEEXTPROC glGetUniformBufferSize;
PFNGLGETUNIFORMOFFSETEXTPROC glGetUniformOffset; PFNGLGETUNIFORMOFFSETEXTPROC glGetUniformOffset;
PFNGLUNIFORMBUFFEREXTPROC glUniformBuffer; PFNGLUNIFORMBUFFEREXTPROC glUniformBuffer;
// GL_EXT_compiled_vertex_array functions // GL_EXT_compiled_vertex_array functions
PFNGLLOCKARRAYSEXTPROC glLockArrays; PFNGLLOCKARRAYSEXTPROC glLockArrays;
PFNGLUNLOCKARRAYSEXTPROC glUnlockArrays; PFNGLUNLOCKARRAYSEXTPROC glUnlockArrays;
// GL_EXT_depth_bounds_test functions // GL_EXT_depth_bounds_test functions
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added


 GLTraverser.h   GLTraverser.h 
skipping to change at line 224 skipping to change at line 224
//! handleMapElement override for specialized handling of MapElement. //! handleMapElement override for specialized handling of MapElement.
NVSG_API virtual void handleMapElement( const nvsg::MapElement * p ); NVSG_API virtual void handleMapElement( const nvsg::MapElement * p );
//! handleMapList override for specialized handling of MapList. //! handleMapList override for specialized handling of MapList.
NVSG_API virtual void handleMapList( const nvsg::MapList * p ); NVSG_API virtual void handleMapList( const nvsg::MapList * p );
//! handleMapMatrix override for specialized handling of MapMatrix. //! handleMapMatrix override for specialized handling of MapMatrix.
NVSG_API virtual void handleMapMatrix( const nvsg::MapMatrix * p ); NVSG_API virtual void handleMapMatrix( const nvsg::MapMatrix * p );
//! handlePatches override for specialized handling of Patches.
NVSG_API virtual void handlePatches( const nvsg::Patches * p );
//! handlePoints override for specialized handling of Points. //! handlePoints override for specialized handling of Points.
NVSG_API virtual void handlePoints(const nvsg::Points * p); NVSG_API virtual void handlePoints(const nvsg::Points * p);
//! handleQuadMeshes override for specialized handling of QuadMeshes. //! handleQuadMeshes override for specialized handling of QuadMeshes.
NVSG_API virtual void handleQuadMeshes(const nvsg::QuadMeshes * p); NVSG_API virtual void handleQuadMeshes(const nvsg::QuadMeshes * p);
//! handleQuadPatches override for specialized handling of QuadPatche
s.
NVSG_API virtual void handleQuadPatches( const nvsg::QuadPatches * p
);
//! handleQuadPatches4x4 override for specialized handling of QuadPat
ches4x4.
NVSG_API virtual void handleQuadPatches4x4( const nvsg::QuadPatches4x
4 * p );
//! handleQuads override for specialized handling of Quads. //! handleQuads override for specialized handling of Quads.
NVSG_API virtual void handleQuads(const nvsg::Quads * p); NVSG_API virtual void handleQuads(const nvsg::Quads * p);
//! handleQuadStrips override for specialized handling of QuadStrips. //! handleQuadStrips override for specialized handling of QuadStrips.
NVSG_API virtual void handleQuadStrips(const nvsg::QuadStrips * p); NVSG_API virtual void handleQuadStrips(const nvsg::QuadStrips * p);
//! handleRectPatches override for specialized handling of RectPatche
s.
NVSG_API virtual void handleRectPatches( const nvsg::RectPatches * p
);
//! handleStateSet override for specialized handling of StateSet.
NVSG_API virtual void handleStateSet( const nvsg::StateSet * p );
//! handleTriangles override for specialized handling of Triangles. //! handleTriangles override for specialized handling of Triangles.
NVSG_API virtual void handleTriangles(const nvsg::Triangles * p); NVSG_API virtual void handleTriangles(const nvsg::Triangles * p);
//! handleTriFans override for specialized handling of TriFans. //! handleTriFans override for specialized handling of TriFans.
NVSG_API virtual void handleTriFans(const nvsg::TriFans * p); NVSG_API virtual void handleTriFans(const nvsg::TriFans * p);
//! handleTriPatches override for specialized handling of TriPatches.
NVSG_API virtual void handleTriPatches( const nvsg::TriPatches * p );
//! handleTriPatches4 override for specialized handling of TriPatches
4.
NVSG_API virtual void handleTriPatches4( const nvsg::TriPatches4 * p
);
//! handleTriStrips override for specialized handling of TriStrips. //! handleTriStrips override for specialized handling of TriStrips.
NVSG_API virtual void handleTriStrips(const nvsg::TriStrips * p); NVSG_API virtual void handleTriStrips(const nvsg::TriStrips * p);
//! handleVertexAttributeSet override for specialized handling of Ver texAttributeSet. //! handleVertexAttributeSet override for specialized handling of Ver texAttributeSet.
NVSG_API virtual void handleVertexAttributeSet( const nvsg::VertexAtt ributeSet *p ); NVSG_API virtual void handleVertexAttributeSet( const nvsg::VertexAtt ributeSet *p );
//! Begin the rendering process. //! Begin the rendering process.
/** Before rendering the first object, this function is called. The L ightModel parameters are set here. */ /** Before rendering the first object, this function is called. The L ightModel parameters are set here. */
NVSG_API virtual void renderBegin( void ); NVSG_API virtual void renderBegin( void );
//! End the rendering process. //! End the rendering process.
/** After rendering the last object, this function is called. */ /** After rendering the last object, this function is called. */
NVSG_API virtual void renderEnd( void ); NVSG_API virtual void renderEnd( void );
NVSG_API virtual void renderCgFx(const nvsg::CgFx *p, bool enable );
//! Render a BlendAttribute out of a render list.
/** Sets or resets the parameters of the BlendAttribute. */
NVSG_API virtual void renderBlendAttribute( const nvsg::BlendAttribut
e *p //!< BlendAttribute to render
, bool enable
//!< enable (\c true) or disable (\c false) this BlendAttribute
);
//! Render a AlphaTestAttribute out of a render list. //! Render a AlphaTestAttribute out of a render list.
/** Sets or resets the parameters of the AlphaTestAttribute. */ /** Sets or resets the parameters of the AlphaTestAttribute. */
NVSG_API virtual void renderAlphaTestAttribute( NVSG_API virtual void renderAlphaTestAttribute(
const nvsg::AlphaTestAttribute *p //!< BlendAttribute to re nder const nvsg::AlphaTestAttribute *p //!< BlendAttribute to re nder
, bool enable //!< enable (\c true) or , bool enable //!< enable (\c true) or
//disable (\c false) this AlphaTestAttrib ute //disable (\c false) this AlphaTestAttrib ute
); );
//! Render a BlendAttribute out of a render list.
/** Sets or resets the parameters of the BlendAttribute. */
NVSG_API virtual void renderBlendAttribute( const nvsg::BlendAttribut
e *p //!< BlendAttribute to render
, bool enable
//!< enable (\c true) or disable (\c false) this BlendAttribute
);
//! Render a CgFx out of a render list.
/** Sets or resets the parameters of the CgFx. */
NVSG_API virtual void renderCgFx(const nvsg::CgFx *p, bool enable );
//! Render a DepthAttribute out of a render list. //! Render a DepthAttribute out of a render list.
/** Sets or resets the parameters of the DepthAttribute. */ /** Sets or resets the parameters of the DepthAttribute. */
NVSG_API virtual void renderDepthAttribute( const nvsg::DepthAttribut e *p //!< DepthAttribute to render NVSG_API virtual void renderDepthAttribute( const nvsg::DepthAttribut e *p //!< DepthAttribute to render
, bool enable //!< enable(\c true) or disable (\c false) this DepthAttribute , bool enable //!< enable(\c true) or disable (\c false) this DepthAttribute
); );
//! Render a DirectedLight out of a render list. //! Render a DirectedLight out of a render list.
/** Enables or disables the DirectedLight and sets the lights paramet ers accordingly. */ /** Enables or disables the DirectedLight and sets the lights paramet ers accordingly. */
NVSG_API virtual void renderDirectedLight( const nvsg::DirectedLight *p //!< DirectedLight to render NVSG_API virtual void renderDirectedLight( const nvsg::DirectedLight *p //!< DirectedLight to render
, bool enable //!< enable (\c true) or disable (\c false) this DirectedLight , bool enable //!< enable (\c true) or disable (\c false) this DirectedLight
skipping to change at line 344 skipping to change at line 367
/** Sets or resets the parameters of the Material. */ /** Sets or resets the parameters of the Material. */
NVSG_API virtual void renderMaterial( const nvsg::Material *p //!< Material to render NVSG_API virtual void renderMaterial( const nvsg::Material *p //!< Material to render
, bool enable //!< enable (\c true) or disable (\c false) this Material , bool enable //!< enable (\c true) or disable (\c false) this Material
); );
//! Render a ParallelCamera out of a render list. //! Render a ParallelCamera out of a render list.
/** Sets the current Projection and ModelView matrix. */ /** Sets the current Projection and ModelView matrix. */
NVSG_API virtual void renderParallelCamera( const nvsg::ParallelCamer a *p //!< ParallelCamera to render NVSG_API virtual void renderParallelCamera( const nvsg::ParallelCamer a *p //!< ParallelCamera to render
); );
//! Render a Patches out of a render list.
/** Draws the Patches. */
NVSG_API virtual void renderPatches( const nvsg::Patches *p );
//! Render a PerspectiveCamera out of a render list. //! Render a PerspectiveCamera out of a render list.
/** Sets the current Projection and ModelView matrix. */ /** Sets the current Projection and ModelView matrix. */
NVSG_API virtual void renderPerspectiveCamera( const nvsg::Perspectiv eCamera *p //!< PerspectiveCamera to render NVSG_API virtual void renderPerspectiveCamera( const nvsg::Perspectiv eCamera *p //!< PerspectiveCamera to render
); );
//! Render a PointLight out of a render list. //! Render a PointLight out of a render list.
/** Enables or disables the PointLight and sets the lights parameters accordingly. */ /** Enables or disables the PointLight and sets the lights parameters accordingly. */
NVSG_API virtual void renderPointLight( const nvsg::PointLight *p //!< PointLight to render NVSG_API virtual void renderPointLight( const nvsg::PointLight *p //!< PointLight to render
, bool enable //!< enable (\c true) or disable (\c false) this PointLight , bool enable //!< enable (\c true) or disable (\c false) this PointLight
); );
//! Render a QuadMeshes out of a render list. //! Render a QuadMeshes out of a render list.
/** Draws the QuadMeshes. */ /** Draws the QuadMeshes. */
NVSG_API virtual void renderQuadMeshes( const nvsg::QuadMeshes *p //!< QuadMeshes to render NVSG_API virtual void renderQuadMeshes( const nvsg::QuadMeshes *p //!< QuadMeshes to render
); );
//! Render a QuadPatches out of a render list.
/** Draws the QuadPatches. */
NVSG_API virtual void renderQuadPatches( const nvsg::QuadPatches *p )
;
//! Render a QuadPatches4x4 out of a render list.
/** Draws the QuadPatches4x4. */
NVSG_API virtual void renderQuadPatches4x4( const nvsg::QuadPatches4x
4 *p );
//! Render a Quads out of a render list. //! Render a Quads out of a render list.
/** Draws the Quads. */ /** Draws the Quads. */
NVSG_API virtual void renderQuads( const nvsg::Quads *p //!< Quads to render NVSG_API virtual void renderQuads( const nvsg::Quads *p //!< Quads to render
); );
//! Render a QuadStrips out of a render list. //! Render a QuadStrips out of a render list.
/** Draws the QuadStrips. */ /** Draws the QuadStrips. */
NVSG_API virtual void renderQuadStrips( const nvsg::QuadStrips *p //!< QuadStrips to render NVSG_API virtual void renderQuadStrips( const nvsg::QuadStrips *p //!< QuadStrips to render
); );
//! Render a RectPatches out of a render list.
/** Draws the RectPatches. */
NVSG_API virtual void renderRectPatches( const nvsg::RectPatches *p )
;
//! Render a SkinnedTriangles out of a render list. //! Render a SkinnedTriangles out of a render list.
/** Draws the current Triangles. */ /** Draws the current Triangles. */
NVSG_API virtual void renderSkinnedTriangles( const nvsg::SkinnedTria ngles *p //!< SkinnedTriangles to render NVSG_API virtual void renderSkinnedTriangles( const nvsg::SkinnedTria ngles *p //!< SkinnedTriangles to render
); );
//! Render a SpotLight out of a render list. //! Render a SpotLight out of a render list.
/** Enables or disables the SpotLight and sets the lights parameters accordingly. */ /** Enables or disables the SpotLight and sets the lights parameters accordingly. */
NVSG_API virtual void renderSpotLight( const nvsg::SpotLight *p //!< SpotLight to render NVSG_API virtual void renderSpotLight( const nvsg::SpotLight *p //!< SpotLight to render
, bool enable //!< enable (\c true) or disable (\c false) this SpotLight , bool enable //!< enable (\c true) or disable (\c false) this SpotLight
); );
skipping to change at line 412 skipping to change at line 451
//! Render a Triangles out of a render list. //! Render a Triangles out of a render list.
/** Draws the Triangles. */ /** Draws the Triangles. */
NVSG_API virtual void renderTriangles( const nvsg::Triangles *p //!< Triangles to render NVSG_API virtual void renderTriangles( const nvsg::Triangles *p //!< Triangles to render
); );
//! Render a TriFans out of a render list. //! Render a TriFans out of a render list.
/** Draws the TriFans. */ /** Draws the TriFans. */
NVSG_API virtual void renderTriFans( const nvsg::TriFans *p //!< TriFans to render NVSG_API virtual void renderTriFans( const nvsg::TriFans *p //!< TriFans to render
); );
//! Render a TriPatches out of a render list.
/** Draws the TriPatches. */
NVSG_API virtual void renderTriPatches( const nvsg::TriPatches *p );
//! Render a TriPatches4 out of a render list.
/** Draws the TriPatches4. */
NVSG_API virtual void renderTriPatches4( const nvsg::TriPatches4 *p )
;
//! Render a TriStrips out of a render list. //! Render a TriStrips out of a render list.
/** Draws the TriStrips. */ /** Draws the TriStrips. */
NVSG_API virtual void renderTriStrips( const nvsg::TriStrips *p //!< TriStrips to render NVSG_API virtual void renderTriStrips( const nvsg::TriStrips *p //!< TriStrips to render
); );
//! Render an UnlitColorAttribute out of a render list. //! Render an UnlitColorAttribute out of a render list.
/** Sets or resets the parameters of the UnlitColorAttribute. */ /** Sets or resets the parameters of the UnlitColorAttribute. */
NVSG_API virtual void renderUnlitColorAttribute( const nvsg::UnlitCol orAttribute *p //!< UnlitColorAttribute to render NVSG_API virtual void renderUnlitColorAttribute( const nvsg::UnlitCol orAttribute *p //!< UnlitColorAttribute to render
, bool enable //!< enable (\c true) or disable (\c false) this UnlitColo rAttribute , bool enable //!< enable (\c true) or disable (\c false) this UnlitColo rAttribute
); );
skipping to change at line 581 skipping to change at line 628
void drawStrippedPrimitiveSet( const nvsg::StrippedP rimitiveSet *p, GLenum mode, unsigned int numberOfStrips, const nvsg::Index Set *strips ); void drawStrippedPrimitiveSet( const nvsg::StrippedP rimitiveSet *p, GLenum mode, unsigned int numberOfStrips, const nvsg::Index Set *strips );
void drawStrippedPrimitiveSetDL( const nvsg::Strippe dPrimitiveSet *p, GLenum mode, unsigned int numberOfStrips, const nvsg::Ind exSet *strips ); void drawStrippedPrimitiveSetDL( const nvsg::Strippe dPrimitiveSet *p, GLenum mode, unsigned int numberOfStrips, const nvsg::Ind exSet *strips );
void drawStrippedPrimitiveSetVBO( const nvsg::Stripp edPrimitiveSet *p, GLenum mode, unsigned int numberOfStrips, const nvsg::In dexSet *strips ); void drawStrippedPrimitiveSetVBO( const nvsg::Stripp edPrimitiveSet *p, GLenum mode, unsigned int numberOfStrips, const nvsg::In dexSet *strips );
void evaluateLightingAndColorMaterial(const nvsg::Pr imitiveSet *p); void evaluateLightingAndColorMaterial(const nvsg::Pr imitiveSet *p);
nvgl::GLDisplayListCache * getDisplayListCache(const nvsg::DALHost *p ) const; nvgl::GLDisplayListCache * getDisplayListCache(const nvsg::DALHost *p ) const;
nvgl::GLElementArrayBufferCache * getElementArrayBufferCache(const nv sg::DALHost * p) const; nvgl::GLElementArrayBufferCache * getElementArrayBufferCache(const nv sg::DALHost * p) const;
nvgl::GLArrayBufferCache * getArrayBufferCache(const nvsg::DALHost * p) const; nvgl::GLArrayBufferCache * getArrayBufferCache(const nvsg::DALHost * p) const;
nvgl::GLTextureCache * getTextureCache(const nvsg::DALHost * p) const ; nvgl::GLTextureCache * getTextureCache(const nvsg::DALHost * p) const ;
bool getVBOCaches( const nvsg::PrimitiveSet * p, nvg l::GLElementArrayBufferCache ** eabc = NULL, nvgl::GLArrayBufferCache ** ab c = NULL ); bool getVBOCaches( const nvsg::PrimitiveSet * p, nvg l::GLElementArrayBufferCache ** eabc = NULL, nvgl::GLArrayBufferCache ** ab c = NULL );
void handleIndependentPrimitiveSetVBO( const nvsg::I ndependentPrimitiveSet * p ); void handleIndependentPrimitiveSetVBO( const nvsg::I ndependentPrimitiveSet * p );
void handleRectPatchesFallback( const nvsg::PatchesB ase * p, unsigned int width, unsigned int height );
void handleMeshedPrimitiveSetVBO( const nvsg::Meshed PrimitiveSet * p ); void handleMeshedPrimitiveSetVBO( const nvsg::Meshed PrimitiveSet * p );
void handleStrippedPrimitiveSetVBO( const nvsg::Stri ppedPrimitiveSet * p ); void handleStrippedPrimitiveSetVBO( const nvsg::Stri ppedPrimitiveSet * p );
void handleTriPatchesFallback( const nvsg::PatchesBa se * p, unsigned int size );
void indexMeshesToIndexSets( unsigned int numberOfMe shes, const nvsg::IndexMesh * meshes, std::vector<nvsg::IndexSet> &sets ); void indexMeshesToIndexSets( unsigned int numberOfMe shes, const nvsg::IndexMesh * meshes, std::vector<nvsg::IndexSet> &sets );
void jitterClear(); void jitterClear();
void jitterInit( JitterTechnique jt ); void jitterInit( JitterTechnique jt );
void prepareEffect( nvsg::CgFxEffect * effect ); void prepareEffect( nvsg::CgFxEffect * effect );
void processPrimitiveSet( const nvsg::PrimitiveSet * p ); void processPrimitiveSet( const nvsg::PrimitiveSet * p );
void processPrimitiveSetVBO( const nvsg::PrimitiveSe t *p, const nvgl::GLElementArrayBufferCache * vboInfoI, const nvgl::GLArray BufferCache * vboInfoV ); void processPrimitiveSetVBO( const nvsg::PrimitiveSe t *p, const nvgl::GLElementArrayBufferCache * vboInfoI, const nvgl::GLArray BufferCache * vboInfoV );
void renderCamera( const nvsg::Camera *p ); void renderCamera( const nvsg::Camera *p );
void renderIndependentPrimitiveSet( const nvsg::Inde pendentPrimitiveSet *p, GLenum mode ); void renderIndependentPrimitiveSet( const nvsg::Inde pendentPrimitiveSet *p, GLenum mode );
void renderMeshedPrimitiveSet( const nvsg::MeshedPri mitiveSet *p, GLenum mode ); void renderMeshedPrimitiveSet( const nvsg::MeshedPri mitiveSet *p, GLenum mode );
void renderStrippedPrimitiveSet( const nvsg::Strippe dPrimitiveSet *p, GLenum mode ); void renderStrippedPrimitiveSet( const nvsg::Strippe dPrimitiveSet *p, GLenum mode );
skipping to change at line 645 skipping to change at line 694
SUPPORT_TEXTURE_MIRRORED_REPEAT = BIT6, SUPPORT_TEXTURE_MIRRORED_REPEAT = BIT6,
SUPPORT_TEXTURE_ARRAY = BIT7, SUPPORT_TEXTURE_ARRAY = BIT7,
SUPPORT_PRIMITIVE_RESTART = BIT8, SUPPORT_PRIMITIVE_RESTART = BIT8,
SUPPORT_OCCLUSION_QUERY = BIT9, SUPPORT_OCCLUSION_QUERY = BIT9,
SUPPORT_DISPLAY_LIST = BIT10, SUPPORT_DISPLAY_LIST = BIT10,
SUPPORT_VBO = BIT11, SUPPORT_VBO = BIT11,
SUPPORT_FBO = BIT12, SUPPORT_FBO = BIT12,
SUPPORT_PBO = BIT13, SUPPORT_PBO = BIT13,
SUPPORT_BINDLESS_GRAPHICS = BIT14, SUPPORT_BINDLESS_GRAPHICS = BIT14,
SUPPORT_CONDITIONAL_RENDER = BIT15, SUPPORT_CONDITIONAL_RENDER = BIT15,
SUPPORT_TESSELLATION_SHADER = BIT16,
SUPPORT_LAST = SUPPORT_CONDITIONAL_RENDER, SUPPORT_LAST = SUPPORT_TESSELLATION_SHADER,
SUPPORT_ALL = (SUPPORT_LAST << 1) - 1 SUPPORT_ALL = (SUPPORT_LAST << 1) - 1
}; };
unsigned int m_supportFlags; unsigned int m_supportFlags;
bool m_initialized; // indicates whether the renderer is ready to render bool m_initialized; // indicates whether the renderer is ready to render
nvgl::GLContext *m_lastGLContext; nvgl::GLContext *m_lastGLContext;
#if !defined(NDEBUG) && defined(_WIN32) #if !defined(NDEBUG) && defined(_WIN32)
HGLRC m_hglrc; HGLRC m_hglrc;
#endif #endif
bool m_blendAttributeEnabled; bool m_blendAttributeEnabled;
JitterTechnique m_currentJitterTechnique; JitterTechnique m_currentJitterTechnique;
nvsg::StateSetHandle * m_currentStateSet;
unsigned int m_currentTextureCount; unsigned int m_currentTextureCount;
bool m_hiddenObject; bool m_hiddenObject;
GLuint m_jitterDataSize; // for read-pixels-based jittering GLuint m_jitterDataSize; // for read-pixels-based jittering
GLubyte * m_jitterImageData; GLubyte * m_jitterImageData;
GLushort * m_jitterAccumData; GLushort * m_jitterAccumData;
bool m_jitterAccumulationInitial ized; // for pbuffer-based jittering bool m_jitterAccumulationInitial ized; // for pbuffer-based jittering
GLuint m_jitterFPAccumulate; GLuint m_jitterFPAccumulate;
GLuint m_jitterFPLoad; GLuint m_jitterFPLoad;
GLuint m_jitterFPReturn; GLuint m_jitterFPReturn;
nvgl::PBuffer * m_jitterFBuffer[2]; nvgl::PBuffer * m_jitterFBuffer[2];
 End of changes. 15 change blocks. 
11 lines changed or deleted 74 lines changed or added


 NBF.h   NBF.h 
skipping to change at line 54 skipping to change at line 54
typedef float float3_t[3]; //!< Specifies a 3-component f loat vector. typedef float float3_t[3]; //!< Specifies a 3-component f loat vector.
typedef float float4_t[4]; //!< Specifies a 4-component f loat vector. typedef float float4_t[4]; //!< Specifies a 4-component f loat vector.
typedef float float44_t[4][4]; //!< Specifies a 4x4-comp onent float matrix. typedef float float44_t[4][4]; //!< Specifies a 4x4-comp onent float matrix.
#define PADDING(n) PADDING_i(n,__LINE__) //!< Convenient macro to ad d padding bits, part one of three #define PADDING(n) PADDING_i(n,__LINE__) //!< Convenient macro to ad d padding bits, part one of three
#define PADDING_i(n,l) PADDING_ii(n,l) //!< Convenient macro to ad d padding bits, part two of three #define PADDING_i(n,l) PADDING_ii(n,l) //!< Convenient macro to ad d padding bits, part two of three
#define PADDING_ii(n,l) ubyte_t padding##l[n] //!< Convenient macro to ad d padding bits, part three of three #define PADDING_ii(n,l) ubyte_t padding##l[n] //!< Convenient macro to ad d padding bits, part three of three
// NBF version // NBF version
const ubyte_t NBF_VER_MAJOR = 0x44; //!< NBF major version number const ubyte_t NBF_VER_MAJOR = 0x44; //!< NBF major version number
const ubyte_t NBF_VER_MINOR = 0x03; //!< NBF version compatibility level const ubyte_t NBF_VER_MINOR = 0x04; //!< NBF version compatibility level
const ubyte_t NBF_VER_BUGFIX = 0x00; //!< NBF version bugfix level const ubyte_t NBF_VER_BUGFIX = 0x00; //!< NBF version bugfix level
// constants specifying a certain byte order // constants specifying a certain byte order
const ubyte_t NBF_LITTLE_ENDIAN = 0x00; //!< Specifies little endian byte o rder const ubyte_t NBF_LITTLE_ENDIAN = 0x00; //!< Specifies little endian byte o rder
const ubyte_t NBF_BIG_ENDIAN = 0x01; //!< Specifies big endian byte orde r const ubyte_t NBF_BIG_ENDIAN = 0x01; //!< Specifies big endian byte orde r
// convenient helper types // convenient helper types
//! The byteArray_t structure specifies how an array of bytes is stored in a .NBF file. //! The byteArray_t structure specifies how an array of bytes is stored in a .NBF file.
struct byteArray_t struct byteArray_t
skipping to change at line 358 skipping to change at line 358
, NBF_QUADS //!< Identifies an NBFIndepen dentPrimitiveSet object (support since v0.3). , NBF_QUADS //!< Identifies an NBFIndepen dentPrimitiveSet object (support since v0.3).
, NBF_ANIMATED_QUADS //!< Obsolete , NBF_ANIMATED_QUADS //!< Obsolete
, NBF_QUADSTRIPS //!< Identifies an NBFStrippe dPrimitiveSet object (support since v0.4) , NBF_QUADSTRIPS //!< Identifies an NBFStrippe dPrimitiveSet object (support since v0.4)
, NBF_LINES //!< Identifies an NBFIndepen dentPrimitiveSet object (support since v0.5) , NBF_LINES //!< Identifies an NBFIndepen dentPrimitiveSet object (support since v0.5)
, NBF_LINESTRIPS //!< Identifies an NBFStrippe dPrimitiveSet object (support since v0.5) , NBF_LINESTRIPS //!< Identifies an NBFStrippe dPrimitiveSet object (support since v0.5)
, NBF_TRIFANS //!< Identifies an NBFTriFans object (support since v0.6) , NBF_TRIFANS //!< Identifies an NBFTriFans object (support since v0.6)
, NBF_POINTS //!< Identifies an NBFPoints object (support since v0.6) , NBF_POINTS //!< Identifies an NBFPoints object (support since v0.6)
, NBF_QUADMESHES //!< Identifies an NBFQuadMes hes object , NBF_QUADMESHES //!< Identifies an NBFQuadMes hes object
, NBF_ANIMATED_VERTEX_ATTRIBUTE_SET //!< Identifies an NBFAnimate dVertexAttributeSet , NBF_ANIMATED_VERTEX_ATTRIBUTE_SET //!< Identifies an NBFAnimate dVertexAttributeSet
, NBF_SKIN //!< Identifies an NBFSkin , NBF_SKIN //!< Identifies an NBFSkin
, NBF_PATCHES //!< Identifies an NBFPatches
, NBF_QUAD_PATCHES //!< Identifies an NBFQuadPat
ches
, NBF_QUAD_PATCHES_4X4 //!< Identifies an NBFQuadPat
ches4x4
, NBF_RECT_PATCHES //!< Identifies an NBFRectPat
ches
, NBF_TRI_PATCHES //!< Identifies an NBFTriPatc
hes
, NBF_TRI_PATCHES_4 //!< Identifies an NBFTriPatc
hes4
// node objects (0x400 - 0x4FF) // node objects (0x400 - 0x4FF)
, NBF_NODE = 0x00000400 , NBF_NODE = 0x00000400
, NBF_GEO_NODE //!< Identifies a NBFGeoNode object. , NBF_GEO_NODE //!< Identifies a NBFGeoNode object.
, NBF_GROUP //!< Identifies a NBFGroup ob ject. , NBF_GROUP //!< Identifies a NBFGroup ob ject.
, NBF_LOD //!< Identifies a NBFLOD obje ct. , NBF_LOD //!< Identifies a NBFLOD obje ct.
, NBF_SWITCH //!< Identifies a NBFSwitch o bject. , NBF_SWITCH //!< Identifies a NBFSwitch o bject.
, NBF_TRANSFORM //!< Identifies a NBFTransfor m object. , NBF_TRANSFORM //!< Identifies a NBFTransfor m object.
, NBF_ANIMATED_TRANSFORM //!< Identifies a NBFAnimated Transform object. , NBF_ANIMATED_TRANSFORM //!< Identifies a NBFAnimated Transform object.
, NBF_LIGHT_SOURCE , NBF_LIGHT_SOURCE
, NBF_DIRECTED_LIGHT //!< Identifies an NBFDirecte dLight object. , NBF_DIRECTED_LIGHT //!< Identifies an NBFDirecte dLight object.
skipping to change at line 1285 skipping to change at line 1291
/*! \brief The NBFLink structure represents a link between two objects usin g a callback. */ /*! \brief The NBFLink structure represents a link between two objects usin g a callback. */
struct NBFLink struct NBFLink
{ {
uint_t linkID; //!< Specifies the class id of the call back uint_t linkID; //!< Specifies the class id of the call back
uint_t subject; //!< Specifies the offset of the subjec t uint_t subject; //!< Specifies the offset of the subjec t
uint_t observer; //!< Specifies the offset of the observ er uint_t observer; //!< Specifies the offset of the observ er
}; };
NVSG_CTASSERT_MODULO_BYTESIZE(NBFLink,4); NVSG_CTASSERT_MODULO_BYTESIZE(NBFLink,4);
struct NBFPatchesBase : public NBFIndependentPrimitiveSet
{
uint_t verticesPerPatch;
PADDING(4); //!< Padding bits ensure offset of next
elements is on a 4-byte boundary, regardless of packing
};
NVSG_CTASSERT_MODULO_BYTESIZE(NBFPatchesBase,8);
struct NBFPatches : public NBFPatchesBase
{
};
NVSG_CTASSERT_MODULO_BYTESIZE(NBFPatches,8);
struct NBFQuadPatches : public NBFPatchesBase
{
uint_t size;
PADDING(4); //!< Padding bits ensure offset of next
elements is on a 4-byte boundary, regardless of packing
};
NVSG_CTASSERT_MODULO_BYTESIZE(NBFQuadPatches,8);
struct NBFQuadPatches4x4 : public NBFPatchesBase
{
};
NVSG_CTASSERT_MODULO_BYTESIZE(NBFQuadPatches4x4,8);
struct NBFRectPatches : public NBFPatchesBase
{
uint_t width;
uint_t height;
};
NVSG_CTASSERT_MODULO_BYTESIZE(NBFRectPatches,8);
struct NBFTriPatches : public NBFPatchesBase
{
uint_t size;
PADDING(4); //!< Padding bits ensure offset of next
elements is on a 4-byte boundary, regardless of packing
};
NVSG_CTASSERT_MODULO_BYTESIZE(NBFTriPatches,8);
struct NBFTriPatches4 : public NBFPatchesBase
{
};
NVSG_CTASSERT_MODULO_BYTESIZE(NBFTriPatches4,8);
#pragma pack(pop) #pragma pack(pop)
#undef __NVSG_CTASSERT_PREFIX #undef __NVSG_CTASSERT_PREFIX
 End of changes. 3 change blocks. 
1 lines changed or deleted 58 lines changed or added


 NVIRTFunctions.h   NVIRTFunctions.h 
// AUTOMATICALLY GENERATED - DO NOT EDIT // AUTOMATICALLY GENERATED - DO NOT EDIT
#pragma once #pragma once
#include <nvrt/nvsgrtapi.h> #include <nvrt/nvsgrtapi.h>
#include <nvrt/nvirt/optix.h> #include <nvrt/nvirt/optix.h>
#include <nvrt/nvirt/nvirtu/optixu.h> #include <nvrt/nvirt/optixu/optixu.h>
#include <nvsgcommon.h> #include <nvsgcommon.h>
#include <nvgl/GLContext.h>
#include <string> #include <string>
struct NVIRTFunctions struct NVIRTFunctions
{ {
RTresult (* RTGetVersion)( unsigned int* ); RTresult (* RTGetVersion)( unsigned int* );
RTresult (* RTDeviceGetDeviceCount)( unsigned int* ); RTresult (* RTDeviceGetDeviceCount)( unsigned int* );
RTresult (* RTDeviceGetAttribute)( int , RTdeviceattribute , RTsize , voi d* );
RTresult (* RTVariableSet1f)( RTvariable , float ); RTresult (* RTVariableSet1f)( RTvariable , float );
RTresult (* RTVariableSet2f)( RTvariable , float , float ); RTresult (* RTVariableSet2f)( RTvariable , float , float );
RTresult (* RTVariableSet3f)( RTvariable , float , float , float ); RTresult (* RTVariableSet3f)( RTvariable , float , float , float );
RTresult (* RTVariableSet4f)( RTvariable , float , float , float , float ); RTresult (* RTVariableSet4f)( RTvariable , float , float , float , float );
RTresult (* RTVariableSet1fv)( RTvariable , const float* ); RTresult (* RTVariableSet1fv)( RTvariable , const float* );
RTresult (* RTVariableSet2fv)( RTvariable , const float* ); RTresult (* RTVariableSet2fv)( RTvariable , const float* );
RTresult (* RTVariableSet3fv)( RTvariable , const float* ); RTresult (* RTVariableSet3fv)( RTvariable , const float* );
RTresult (* RTVariableSet4fv)( RTvariable , const float* ); RTresult (* RTVariableSet4fv)( RTvariable , const float* );
RTresult (* RTVariableSet1i)( RTvariable , int ); RTresult (* RTVariableSet1i)( RTvariable , int );
RTresult (* RTVariableSet2i)( RTvariable , int , int ); RTresult (* RTVariableSet2i)( RTvariable , int , int );
skipping to change at line 91 skipping to change at line 93
RTresult (* RTVariableGetMatrix3x4fv)( RTvariable , int , float* ); RTresult (* RTVariableGetMatrix3x4fv)( RTvariable , int , float* );
RTresult (* RTVariableGetMatrix4x2fv)( RTvariable , int , float* ); RTresult (* RTVariableGetMatrix4x2fv)( RTvariable , int , float* );
RTresult (* RTVariableGetMatrix4x3fv)( RTvariable , int , float* ); RTresult (* RTVariableGetMatrix4x3fv)( RTvariable , int , float* );
RTresult (* RTVariableGetMatrix4x4fv)( RTvariable , int , float* ); RTresult (* RTVariableGetMatrix4x4fv)( RTvariable , int , float* );
RTresult (* RTVariableGetObject)( RTvariable , RTobject* ); RTresult (* RTVariableGetObject)( RTvariable , RTobject* );
RTresult (* RTVariableGetUserData)( RTvariable , RTsize , void* ); RTresult (* RTVariableGetUserData)( RTvariable , RTsize , void* );
RTresult (* RTVariableGetName)( RTvariable , const char** ); RTresult (* RTVariableGetName)( RTvariable , const char** );
RTresult (* RTVariableGetAnnotation)( RTvariable , const char** ); RTresult (* RTVariableGetAnnotation)( RTvariable , const char** );
RTresult (* RTVariableGetType)( RTvariable , RTobjecttype* ); RTresult (* RTVariableGetType)( RTvariable , RTobjecttype* );
RTresult (* RTVariableGetContext)( RTvariable , RTcontext* ); RTresult (* RTVariableGetContext)( RTvariable , RTcontext* );
RTresult (* RTVariableGetSize)( RTvariable , RTsize* );
RTresult (* RTContextCreate)( RTcontext* ); RTresult (* RTContextCreate)( RTcontext* );
RTresult (* RTContextDestroy)( RTcontext ); RTresult (* RTContextDestroy)( RTcontext );
RTresult (* RTContextValidate)( RTcontext ); RTresult (* RTContextValidate)( RTcontext );
void (* RTContextGetErrorString)( RTcontext , RTresult , const char** ); void (* RTContextGetErrorString)( RTcontext , RTresult , const char** );
RTresult (* RTContextGetAttribute)( RTcontext , RTcontextattribute , RTsi ze , void* );
RTresult (* RTContextSetDevices)( RTcontext , unsigned int , const int* ) ; RTresult (* RTContextSetDevices)( RTcontext , unsigned int , const int* ) ;
RTresult (* RTContextGetDevices)( RTcontext , int* );
RTresult (* RTContextGetDeviceCount)( RTcontext , unsigned int* );
RTresult (* RTContextSetStackSize)( RTcontext , RTsize ); RTresult (* RTContextSetStackSize)( RTcontext , RTsize );
RTresult (* RTContextGetStackSize)( RTcontext , RTsize* ); RTresult (* RTContextGetStackSize)( RTcontext , RTsize* );
RTresult (* RTContextSetEntryPointCount)( RTcontext , unsigned int ); RTresult (* RTContextSetEntryPointCount)( RTcontext , unsigned int );
RTresult (* RTContextGetEntryPointCount)( RTcontext , unsigned int* ); RTresult (* RTContextGetEntryPointCount)( RTcontext , unsigned int* );
RTresult (* RTContextSetRayGenerationProgram)( RTcontext , unsigned int , RTprogram ); RTresult (* RTContextSetRayGenerationProgram)( RTcontext , unsigned int , RTprogram );
RTresult (* RTContextGetRayGenerationProgram)( RTcontext , unsigned int , RTprogram* ); RTresult (* RTContextGetRayGenerationProgram)( RTcontext , unsigned int , RTprogram* );
RTresult (* RTContextSetExceptionProgram)( RTcontext , unsigned int , RTp rogram ); RTresult (* RTContextSetExceptionProgram)( RTcontext , unsigned int , RTp rogram );
RTresult (* RTContextGetExceptionProgram)( RTcontext , unsigned int , RTp rogram* ); RTresult (* RTContextGetExceptionProgram)( RTcontext , unsigned int , RTp rogram* );
RTresult (* RTContextSetExceptionEnabled)( RTcontext , RTexception , int
);
RTresult (* RTContextGetExceptionEnabled)( RTcontext , RTexception , int*
);
RTresult (* RTContextSetRayTypeCount)( RTcontext , unsigned int ); RTresult (* RTContextSetRayTypeCount)( RTcontext , unsigned int );
RTresult (* RTContextGetRayTypeCount)( RTcontext , unsigned int* ); RTresult (* RTContextGetRayTypeCount)( RTcontext , unsigned int* );
RTresult (* RTContextSetMissProgram)( RTcontext , unsigned int , RTprogra m ); RTresult (* RTContextSetMissProgram)( RTcontext , unsigned int , RTprogra m );
RTresult (* RTContextGetMissProgram)( RTcontext , unsigned int , RTprogra m* ); RTresult (* RTContextGetMissProgram)( RTcontext , unsigned int , RTprogra m* );
RTresult (* RTContextCompile)( RTcontext ); RTresult (* RTContextCompile)( RTcontext );
RTresult (* RTContextLaunch1D)( RTcontext , unsigned int , RTsize ); RTresult (* RTContextLaunch1D)( RTcontext , unsigned int , RTsize );
RTresult (* RTContextLaunch2D)( RTcontext , unsigned int , RTsize , RTsiz e ); RTresult (* RTContextLaunch2D)( RTcontext , unsigned int , RTsize , RTsiz e );
RTresult (* RTContextLaunch3D)( RTcontext , unsigned int , RTsize , RTsiz e , RTsize ); RTresult (* RTContextLaunch3D)( RTcontext , unsigned int , RTsize , RTsiz e , RTsize );
RTresult (* RTContextGetRunningState)( RTcontext , int* ); RTresult (* RTContextGetRunningState)( RTcontext , int* );
RTresult (* RTContextSetPrintEnabled)( RTcontext , int ); RTresult (* RTContextSetPrintEnabled)( RTcontext , int );
skipping to change at line 260 skipping to change at line 268
RTresult (* RTTextureSamplerSetFilteringModes)( RTtexturesampler , RTfilt ermode , RTfiltermode , RTfiltermode ); RTresult (* RTTextureSamplerSetFilteringModes)( RTtexturesampler , RTfilt ermode , RTfiltermode , RTfiltermode );
RTresult (* RTTextureSamplerGetFilteringModes)( RTtexturesampler , RTfilt ermode* , RTfiltermode* , RTfiltermode* ); RTresult (* RTTextureSamplerGetFilteringModes)( RTtexturesampler , RTfilt ermode* , RTfiltermode* , RTfiltermode* );
RTresult (* RTTextureSamplerSetMaxAnisotropy)( RTtexturesampler , float ) ; RTresult (* RTTextureSamplerSetMaxAnisotropy)( RTtexturesampler , float ) ;
RTresult (* RTTextureSamplerGetMaxAnisotropy)( RTtexturesampler , float* ); RTresult (* RTTextureSamplerGetMaxAnisotropy)( RTtexturesampler , float* );
RTresult (* RTTextureSamplerSetReadMode)( RTtexturesampler , RTtexturerea dmode ); RTresult (* RTTextureSamplerSetReadMode)( RTtexturesampler , RTtexturerea dmode );
RTresult (* RTTextureSamplerGetReadMode)( RTtexturesampler , RTtexturerea dmode* ); RTresult (* RTTextureSamplerGetReadMode)( RTtexturesampler , RTtexturerea dmode* );
RTresult (* RTTextureSamplerSetIndexingMode)( RTtexturesampler , RTtextur eindexmode ); RTresult (* RTTextureSamplerSetIndexingMode)( RTtexturesampler , RTtextur eindexmode );
RTresult (* RTTextureSamplerGetIndexingMode)( RTtexturesampler , RTtextur eindexmode* ); RTresult (* RTTextureSamplerGetIndexingMode)( RTtexturesampler , RTtextur eindexmode* );
RTresult (* RTTextureSamplerSetBuffer)( RTtexturesampler , unsigned int , unsigned int , RTbuffer ); RTresult (* RTTextureSamplerSetBuffer)( RTtexturesampler , unsigned int , unsigned int , RTbuffer );
RTresult (* RTTextureSamplerGetBuffer)( RTtexturesampler , unsigned int , unsigned int , RTbuffer* ); RTresult (* RTTextureSamplerGetBuffer)( RTtexturesampler , unsigned int , unsigned int , RTbuffer* );
RTresult (* RTBufferCreate)( RTcontext , RTbuffertype , RTbuffer* ); RTresult (* RTBufferCreate)( RTcontext , unsigned int , RTbuffer* );
RTresult (* RTBufferDestroy)( RTbuffer ); RTresult (* RTBufferDestroy)( RTbuffer );
RTresult (* RTBufferValidate)( RTbuffer ); RTresult (* RTBufferValidate)( RTbuffer );
RTresult (* RTBufferGetContext)( RTbuffer , RTcontext* ); RTresult (* RTBufferGetContext)( RTbuffer , RTcontext* );
RTresult (* RTBufferSetFormat)( RTbuffer , RTformat ); RTresult (* RTBufferSetFormat)( RTbuffer , RTformat );
RTresult (* RTBufferGetFormat)( RTbuffer , RTformat* ); RTresult (* RTBufferGetFormat)( RTbuffer , RTformat* );
RTresult (* RTBufferSetElementSize)( RTbuffer , RTsize ); RTresult (* RTBufferSetElementSize)( RTbuffer , RTsize );
RTresult (* RTBufferGetElementSize)( RTbuffer , RTsize* ); RTresult (* RTBufferGetElementSize)( RTbuffer , RTsize* );
RTresult (* RTBufferSetSize1D)( RTbuffer , RTsize ); RTresult (* RTBufferSetSize1D)( RTbuffer , RTsize );
RTresult (* RTBufferGetSize1D)( RTbuffer , RTsize* ); RTresult (* RTBufferGetSize1D)( RTbuffer , RTsize* );
RTresult (* RTBufferSetSize2D)( RTbuffer , RTsize , RTsize ); RTresult (* RTBufferSetSize2D)( RTbuffer , RTsize , RTsize );
skipping to change at line 286 skipping to change at line 294
RTresult (* RTBufferGetDimensionality)( RTbuffer , unsigned int* ); RTresult (* RTBufferGetDimensionality)( RTbuffer , unsigned int* );
RTresult (* RTBufferMap)( RTbuffer , void** ); RTresult (* RTBufferMap)( RTbuffer , void** );
RTresult (* RTBufferUnmap)( RTbuffer ); RTresult (* RTBufferUnmap)( RTbuffer );
}; };
extern struct NVIRTFunctions _NVIRTFunctions; extern struct NVIRTFunctions _NVIRTFunctions;
bool InitNVIRTFunctions( void * (*DLL_FUNC)( void *, const std::string & ), void * DLL_ARG ); bool InitNVIRTFunctions( void * (*DLL_FUNC)( void *, const std::string & ), void * DLL_ARG );
RTresult NVRT_API RTGetVersion( unsigned int* version); RTresult NVRT_API RTGetVersion( unsigned int* version);
RTresult NVRT_API RTDeviceGetDeviceCount( unsigned int* count); RTresult NVRT_API RTDeviceGetDeviceCount( unsigned int* count);
RTresult NVRT_API RTDeviceGetAttribute( int ordinal, RTdeviceattribute attr ib, RTsize size, void* p);
RTresult NVRT_API RTVariableSet1f( RTvariable v, float f1); RTresult NVRT_API RTVariableSet1f( RTvariable v, float f1);
RTresult NVRT_API RTVariableSet2f( RTvariable v, float f1, float f2); RTresult NVRT_API RTVariableSet2f( RTvariable v, float f1, float f2);
RTresult NVRT_API RTVariableSet3f( RTvariable v, float f1, float f2, float f3); RTresult NVRT_API RTVariableSet3f( RTvariable v, float f1, float f2, float f3);
RTresult NVRT_API RTVariableSet4f( RTvariable v, float f1, float f2, float f3, float f4); RTresult NVRT_API RTVariableSet4f( RTvariable v, float f1, float f2, float f3, float f4);
RTresult NVRT_API RTVariableSet1fv( RTvariable v, const float* f); RTresult NVRT_API RTVariableSet1fv( RTvariable v, const float* f);
RTresult NVRT_API RTVariableSet2fv( RTvariable v, const float* f); RTresult NVRT_API RTVariableSet2fv( RTvariable v, const float* f);
RTresult NVRT_API RTVariableSet3fv( RTvariable v, const float* f); RTresult NVRT_API RTVariableSet3fv( RTvariable v, const float* f);
RTresult NVRT_API RTVariableSet4fv( RTvariable v, const float* f); RTresult NVRT_API RTVariableSet4fv( RTvariable v, const float* f);
RTresult NVRT_API RTVariableSet1i( RTvariable v, int i1); RTresult NVRT_API RTVariableSet1i( RTvariable v, int i1);
RTresult NVRT_API RTVariableSet2i( RTvariable v, int i1, int i2); RTresult NVRT_API RTVariableSet2i( RTvariable v, int i1, int i2);
skipping to change at line 360 skipping to change at line 369
RTresult NVRT_API RTVariableGetMatrix3x4fv( RTvariable v, int transpose, fl oat* m); RTresult NVRT_API RTVariableGetMatrix3x4fv( RTvariable v, int transpose, fl oat* m);
RTresult NVRT_API RTVariableGetMatrix4x2fv( RTvariable v, int transpose, fl oat* m); RTresult NVRT_API RTVariableGetMatrix4x2fv( RTvariable v, int transpose, fl oat* m);
RTresult NVRT_API RTVariableGetMatrix4x3fv( RTvariable v, int transpose, fl oat* m); RTresult NVRT_API RTVariableGetMatrix4x3fv( RTvariable v, int transpose, fl oat* m);
RTresult NVRT_API RTVariableGetMatrix4x4fv( RTvariable v, int transpose, fl oat* m); RTresult NVRT_API RTVariableGetMatrix4x4fv( RTvariable v, int transpose, fl oat* m);
RTresult NVRT_API RTVariableGetObject( RTvariable v, RTobject* object); RTresult NVRT_API RTVariableGetObject( RTvariable v, RTobject* object);
RTresult NVRT_API RTVariableGetUserData( RTvariable v, RTsize size, void* p tr); RTresult NVRT_API RTVariableGetUserData( RTvariable v, RTsize size, void* p tr);
RTresult NVRT_API RTVariableGetName( RTvariable v, const char** name_return ); RTresult NVRT_API RTVariableGetName( RTvariable v, const char** name_return );
RTresult NVRT_API RTVariableGetAnnotation( RTvariable v, const char** annot ation_return); RTresult NVRT_API RTVariableGetAnnotation( RTvariable v, const char** annot ation_return);
RTresult NVRT_API RTVariableGetType( RTvariable v, RTobjecttype* type_retur n); RTresult NVRT_API RTVariableGetType( RTvariable v, RTobjecttype* type_retur n);
RTresult NVRT_API RTVariableGetContext( RTvariable v, RTcontext* context); RTresult NVRT_API RTVariableGetContext( RTvariable v, RTcontext* context);
RTresult NVRT_API RTVariableGetSize( RTvariable v, RTsize* size);
RTresult NVRT_API RTContextCreate( RTcontext* context); RTresult NVRT_API RTContextCreate( RTcontext* context);
RTresult NVRT_API RTContextDestroy( RTcontext context); RTresult NVRT_API RTContextDestroy( RTcontext context);
RTresult NVRT_API RTContextValidate( RTcontext context); RTresult NVRT_API RTContextValidate( RTcontext context);
void NVRT_API RTContextGetErrorString( RTcontext context, RTresult code, co nst char** return_string); void NVRT_API RTContextGetErrorString( RTcontext context, RTresult code, co nst char** return_string);
RTresult NVRT_API RTContextGetAttribute( RTcontext context, RTcontextattrib ute attrib, RTsize size, void* p);
RTresult NVRT_API RTContextSetDevices( RTcontext context, unsigned int coun t, const int* devices); RTresult NVRT_API RTContextSetDevices( RTcontext context, unsigned int coun t, const int* devices);
RTresult NVRT_API RTContextGetDevices( RTcontext context, int* devices);
RTresult NVRT_API RTContextGetDeviceCount( RTcontext context, unsigned int*
count);
RTresult NVRT_API RTContextSetStackSize( RTcontext context, RTsize stack_s ize_bytes); RTresult NVRT_API RTContextSetStackSize( RTcontext context, RTsize stack_s ize_bytes);
RTresult NVRT_API RTContextGetStackSize( RTcontext context, RTsize* stack_s ize_bytes); RTresult NVRT_API RTContextGetStackSize( RTcontext context, RTsize* stack_s ize_bytes);
RTresult NVRT_API RTContextSetEntryPointCount( RTcontext context, unsigned int num_entry_points); RTresult NVRT_API RTContextSetEntryPointCount( RTcontext context, unsigned int num_entry_points);
RTresult NVRT_API RTContextGetEntryPointCount( RTcontext context, unsigned int* num_entry_points); RTresult NVRT_API RTContextGetEntryPointCount( RTcontext context, unsigned int* num_entry_points);
RTresult NVRT_API RTContextSetRayGenerationProgram( RTcontext context, unsi gned int entry_point_index, RTprogram program); RTresult NVRT_API RTContextSetRayGenerationProgram( RTcontext context, unsi gned int entry_point_index, RTprogram program);
RTresult NVRT_API RTContextGetRayGenerationProgram( RTcontext context, unsi gned int entry_point_index, RTprogram* program); RTresult NVRT_API RTContextGetRayGenerationProgram( RTcontext context, unsi gned int entry_point_index, RTprogram* program);
RTresult NVRT_API RTContextSetExceptionProgram( RTcontext context, unsigned int entry_point_index, RTprogram program); RTresult NVRT_API RTContextSetExceptionProgram( RTcontext context, unsigned int entry_point_index, RTprogram program);
RTresult NVRT_API RTContextGetExceptionProgram( RTcontext context, unsigned int entry_point_index, RTprogram* program); RTresult NVRT_API RTContextGetExceptionProgram( RTcontext context, unsigned int entry_point_index, RTprogram* program);
RTresult NVRT_API RTContextSetExceptionEnabled( RTcontext context, RTexcept
ion exception, int enabled );
RTresult NVRT_API RTContextGetExceptionEnabled( RTcontext context, RTexcept
ion exception, int* enabled );
RTresult NVRT_API RTContextSetRayTypeCount( RTcontext context, unsigned int num_ray_types); RTresult NVRT_API RTContextSetRayTypeCount( RTcontext context, unsigned int num_ray_types);
RTresult NVRT_API RTContextGetRayTypeCount( RTcontext context, unsigned int * num_ray_types); RTresult NVRT_API RTContextGetRayTypeCount( RTcontext context, unsigned int * num_ray_types);
RTresult NVRT_API RTContextSetMissProgram( RTcontext context, unsigned int ray_type_index, RTprogram program); RTresult NVRT_API RTContextSetMissProgram( RTcontext context, unsigned int ray_type_index, RTprogram program);
RTresult NVRT_API RTContextGetMissProgram( RTcontext context, unsigned int ray_type_index, RTprogram* program); RTresult NVRT_API RTContextGetMissProgram( RTcontext context, unsigned int ray_type_index, RTprogram* program);
RTresult NVRT_API RTContextCompile( RTcontext context); RTresult NVRT_API RTContextCompile( RTcontext context);
RTresult NVRT_API RTContextLaunch1D( RTcontext context, unsigned int entry_ point_index, RTsize image_width); RTresult NVRT_API RTContextLaunch1D( RTcontext context, unsigned int entry_ point_index, RTsize image_width);
RTresult NVRT_API RTContextLaunch2D( RTcontext context, unsigned int entry_ point_index, RTsize image_width, RTsize image_height); RTresult NVRT_API RTContextLaunch2D( RTcontext context, unsigned int entry_ point_index, RTsize image_width, RTsize image_height);
RTresult NVRT_API RTContextLaunch3D( RTcontext context, unsigned int entry_ point_index, RTsize image_width, RTsize image_height, RTsize image_depth); RTresult NVRT_API RTContextLaunch3D( RTcontext context, unsigned int entry_ point_index, RTsize image_width, RTsize image_height, RTsize image_depth);
RTresult NVRT_API RTContextGetRunningState( RTcontext context, int* running ); RTresult NVRT_API RTContextGetRunningState( RTcontext context, int* running );
RTresult NVRT_API RTContextSetPrintEnabled( RTcontext context, int enabled ); RTresult NVRT_API RTContextSetPrintEnabled( RTcontext context, int enabled );
skipping to change at line 529 skipping to change at line 544
RTresult NVRT_API RTTextureSamplerSetFilteringModes( RTtexturesampler textu resampler, RTfiltermode minification, RTfiltermode magnification, RTfilte rmode mipmapping); RTresult NVRT_API RTTextureSamplerSetFilteringModes( RTtexturesampler textu resampler, RTfiltermode minification, RTfiltermode magnification, RTfilte rmode mipmapping);
RTresult NVRT_API RTTextureSamplerGetFilteringModes( RTtexturesampler textu resampler, RTfiltermode* minification, RTfiltermode* magnification, RTfilte rmode* mipmapping); RTresult NVRT_API RTTextureSamplerGetFilteringModes( RTtexturesampler textu resampler, RTfiltermode* minification, RTfiltermode* magnification, RTfilte rmode* mipmapping);
RTresult NVRT_API RTTextureSamplerSetMaxAnisotropy( RTtexturesampler textur esampler, float value); RTresult NVRT_API RTTextureSamplerSetMaxAnisotropy( RTtexturesampler textur esampler, float value);
RTresult NVRT_API RTTextureSamplerGetMaxAnisotropy( RTtexturesampler textur esampler, float* value); RTresult NVRT_API RTTextureSamplerGetMaxAnisotropy( RTtexturesampler textur esampler, float* value);
RTresult NVRT_API RTTextureSamplerSetReadMode( RTtexturesampler texturesamp ler, RTtexturereadmode readmode); RTresult NVRT_API RTTextureSamplerSetReadMode( RTtexturesampler texturesamp ler, RTtexturereadmode readmode);
RTresult NVRT_API RTTextureSamplerGetReadMode( RTtexturesampler texturesamp ler, RTtexturereadmode* readmode); RTresult NVRT_API RTTextureSamplerGetReadMode( RTtexturesampler texturesamp ler, RTtexturereadmode* readmode);
RTresult NVRT_API RTTextureSamplerSetIndexingMode( RTtexturesampler texture sampler, RTtextureindexmode indexmode); RTresult NVRT_API RTTextureSamplerSetIndexingMode( RTtexturesampler texture sampler, RTtextureindexmode indexmode);
RTresult NVRT_API RTTextureSamplerGetIndexingMode( RTtexturesampler texture sampler, RTtextureindexmode* indexmode); RTresult NVRT_API RTTextureSamplerGetIndexingMode( RTtexturesampler texture sampler, RTtextureindexmode* indexmode);
RTresult NVRT_API RTTextureSamplerSetBuffer( RTtexturesampler texturesample r, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer buffer ); RTresult NVRT_API RTTextureSamplerSetBuffer( RTtexturesampler texturesample r, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer buffer );
RTresult NVRT_API RTTextureSamplerGetBuffer( RTtexturesampler texturesample r, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer* buffer ); RTresult NVRT_API RTTextureSamplerGetBuffer( RTtexturesampler texturesample r, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer* buffer );
RTresult NVRT_API RTBufferCreate( RTcontext context, RTbuffertype type, RTb uffer* buffer); RTresult NVRT_API RTBufferCreate( RTcontext context, unsigned int type, RTb uffer* buffer);
RTresult NVRT_API RTBufferDestroy( RTbuffer buffer); RTresult NVRT_API RTBufferDestroy( RTbuffer buffer);
RTresult NVRT_API RTBufferValidate( RTbuffer buffer); RTresult NVRT_API RTBufferValidate( RTbuffer buffer);
RTresult NVRT_API RTBufferGetContext( RTbuffer buffer, RTcontext* context); RTresult NVRT_API RTBufferGetContext( RTbuffer buffer, RTcontext* context);
RTresult NVRT_API RTBufferSetFormat( RTbuffer buffer, RTformat format); RTresult NVRT_API RTBufferSetFormat( RTbuffer buffer, RTformat format);
RTresult NVRT_API RTBufferGetFormat( RTbuffer buffer, RTformat* format); RTresult NVRT_API RTBufferGetFormat( RTbuffer buffer, RTformat* format);
RTresult NVRT_API RTBufferSetElementSize( RTbuffer buffer, RTsize size_of_ element); RTresult NVRT_API RTBufferSetElementSize( RTbuffer buffer, RTsize size_of_ element);
RTresult NVRT_API RTBufferGetElementSize( RTbuffer buffer, RTsize* size_of_ element); RTresult NVRT_API RTBufferGetElementSize( RTbuffer buffer, RTsize* size_of_ element);
RTresult NVRT_API RTBufferSetSize1D( RTbuffer buffer, RTsize width); RTresult NVRT_API RTBufferSetSize1D( RTbuffer buffer, RTsize width);
RTresult NVRT_API RTBufferGetSize1D( RTbuffer buffer, RTsize* width); RTresult NVRT_API RTBufferGetSize1D( RTbuffer buffer, RTsize* width);
RTresult NVRT_API RTBufferSetSize2D( RTbuffer buffer, RTsize width, RTsize height); RTresult NVRT_API RTBufferSetSize2D( RTbuffer buffer, RTsize width, RTsize height);
skipping to change at line 561 skipping to change at line 576
NVSG_ASSERT( _NVIRTFunctions.RTGetVersion ); NVSG_ASSERT( _NVIRTFunctions.RTGetVersion );
return _NVIRTFunctions.RTGetVersion( version ); return _NVIRTFunctions.RTGetVersion( version );
} }
inline RTresult RTDeviceGetDeviceCount( unsigned int* count ) inline RTresult RTDeviceGetDeviceCount( unsigned int* count )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTDeviceGetDeviceCount ); NVSG_ASSERT( _NVIRTFunctions.RTDeviceGetDeviceCount );
return _NVIRTFunctions.RTDeviceGetDeviceCount( count ); return _NVIRTFunctions.RTDeviceGetDeviceCount( count );
} }
inline RTresult RTDeviceGetAttribute( int ordinal, RTdeviceattribute attrib
, RTsize size, void* p )
{
NVSG_ASSERT( _NVIRTFunctions.RTDeviceGetAttribute );
return _NVIRTFunctions.RTDeviceGetAttribute( ordinal, attrib, size, p );
}
inline RTresult RTVariableSet1f( RTvariable v, float f1 ) inline RTresult RTVariableSet1f( RTvariable v, float f1 )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTVariableSet1f ); NVSG_ASSERT( _NVIRTFunctions.RTVariableSet1f );
return _NVIRTFunctions.RTVariableSet1f( v, f1 ); return _NVIRTFunctions.RTVariableSet1f( v, f1 );
} }
inline RTresult RTVariableSet2f( RTvariable v, float f1, float f2 ) inline RTresult RTVariableSet2f( RTvariable v, float f1, float f2 )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTVariableSet2f ); NVSG_ASSERT( _NVIRTFunctions.RTVariableSet2f );
return _NVIRTFunctions.RTVariableSet2f( v, f1, f2 ); return _NVIRTFunctions.RTVariableSet2f( v, f1, f2 );
skipping to change at line 1005 skipping to change at line 1026
NVSG_ASSERT( _NVIRTFunctions.RTVariableGetType ); NVSG_ASSERT( _NVIRTFunctions.RTVariableGetType );
return _NVIRTFunctions.RTVariableGetType( v, type_return ); return _NVIRTFunctions.RTVariableGetType( v, type_return );
} }
inline RTresult RTVariableGetContext( RTvariable v, RTcontext* context ) inline RTresult RTVariableGetContext( RTvariable v, RTcontext* context )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTVariableGetContext ); NVSG_ASSERT( _NVIRTFunctions.RTVariableGetContext );
return _NVIRTFunctions.RTVariableGetContext( v, context ); return _NVIRTFunctions.RTVariableGetContext( v, context );
} }
inline RTresult RTVariableGetSize( RTvariable v, RTsize* size )
{
NVSG_ASSERT( _NVIRTFunctions.RTVariableGetSize );
return _NVIRTFunctions.RTVariableGetSize( v, size );
}
inline RTresult RTContextCreate( RTcontext* context ) inline RTresult RTContextCreate( RTcontext* context )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextCreate ); NVSG_ASSERT( _NVIRTFunctions.RTContextCreate );
return _NVIRTFunctions.RTContextCreate( context ); return _NVIRTFunctions.RTContextCreate( context );
} }
inline RTresult RTContextDestroy( RTcontext context ) inline RTresult RTContextDestroy( RTcontext context )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextDestroy ); NVSG_ASSERT( _NVIRTFunctions.RTContextDestroy );
return _NVIRTFunctions.RTContextDestroy( context ); return _NVIRTFunctions.RTContextDestroy( context );
skipping to change at line 1029 skipping to change at line 1056
NVSG_ASSERT( _NVIRTFunctions.RTContextValidate ); NVSG_ASSERT( _NVIRTFunctions.RTContextValidate );
return _NVIRTFunctions.RTContextValidate( context ); return _NVIRTFunctions.RTContextValidate( context );
} }
inline void RTContextGetErrorString( RTcontext context, RTresult code, cons t char** return_string ) inline void RTContextGetErrorString( RTcontext context, RTresult code, cons t char** return_string )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextGetErrorString ); NVSG_ASSERT( _NVIRTFunctions.RTContextGetErrorString );
return _NVIRTFunctions.RTContextGetErrorString( context, code, return_str ing ); return _NVIRTFunctions.RTContextGetErrorString( context, code, return_str ing );
} }
inline RTresult RTContextGetAttribute( RTcontext context, RTcontextattribut
e attrib, RTsize size, void* p )
{
NVSG_ASSERT( _NVIRTFunctions.RTContextGetAttribute );
return _NVIRTFunctions.RTContextGetAttribute( context, attrib, size, p );
}
inline RTresult RTContextSetDevices( RTcontext context, unsigned int count, const int* devices ) inline RTresult RTContextSetDevices( RTcontext context, unsigned int count, const int* devices )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextSetDevices ); NVSG_ASSERT( _NVIRTFunctions.RTContextSetDevices );
return _NVIRTFunctions.RTContextSetDevices( context, count, devices ); return _NVIRTFunctions.RTContextSetDevices( context, count, devices );
} }
inline RTresult RTContextGetDevices( RTcontext context, int* devices )
{
NVSG_ASSERT( _NVIRTFunctions.RTContextGetDevices );
return _NVIRTFunctions.RTContextGetDevices( context, devices );
}
inline RTresult RTContextGetDeviceCount( RTcontext context, unsigned int* c
ount )
{
NVSG_ASSERT( _NVIRTFunctions.RTContextGetDeviceCount );
return _NVIRTFunctions.RTContextGetDeviceCount( context, count );
}
inline RTresult RTContextSetStackSize( RTcontext context, RTsize stack_siz e_bytes ) inline RTresult RTContextSetStackSize( RTcontext context, RTsize stack_siz e_bytes )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextSetStackSize ); NVSG_ASSERT( _NVIRTFunctions.RTContextSetStackSize );
return _NVIRTFunctions.RTContextSetStackSize( context, stack_size_bytes ) ; return _NVIRTFunctions.RTContextSetStackSize( context, stack_size_bytes ) ;
} }
inline RTresult RTContextGetStackSize( RTcontext context, RTsize* stack_siz e_bytes ) inline RTresult RTContextGetStackSize( RTcontext context, RTsize* stack_siz e_bytes )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextGetStackSize ); NVSG_ASSERT( _NVIRTFunctions.RTContextGetStackSize );
return _NVIRTFunctions.RTContextGetStackSize( context, stack_size_bytes ) ; return _NVIRTFunctions.RTContextGetStackSize( context, stack_size_bytes ) ;
skipping to change at line 1083 skipping to change at line 1128
NVSG_ASSERT( _NVIRTFunctions.RTContextSetExceptionProgram ); NVSG_ASSERT( _NVIRTFunctions.RTContextSetExceptionProgram );
return _NVIRTFunctions.RTContextSetExceptionProgram( context, entry_point _index, program ); return _NVIRTFunctions.RTContextSetExceptionProgram( context, entry_point _index, program );
} }
inline RTresult RTContextGetExceptionProgram( RTcontext context, unsigned i nt entry_point_index, RTprogram* program ) inline RTresult RTContextGetExceptionProgram( RTcontext context, unsigned i nt entry_point_index, RTprogram* program )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextGetExceptionProgram ); NVSG_ASSERT( _NVIRTFunctions.RTContextGetExceptionProgram );
return _NVIRTFunctions.RTContextGetExceptionProgram( context, entry_point _index, program ); return _NVIRTFunctions.RTContextGetExceptionProgram( context, entry_point _index, program );
} }
inline RTresult RTContextSetExceptionEnabled( RTcontext context, RTexceptio
n exception, int enabled )
{
NVSG_ASSERT( _NVIRTFunctions.RTContextSetExceptionEnabled );
return _NVIRTFunctions.RTContextSetExceptionEnabled( context, exception,
enabled );
}
inline RTresult RTContextGetExceptionEnabled( RTcontext context, RTexceptio
n exception, int* enabled )
{
NVSG_ASSERT( _NVIRTFunctions.RTContextGetExceptionEnabled );
return _NVIRTFunctions.RTContextGetExceptionEnabled( context, exception,
enabled );
}
inline RTresult RTContextSetRayTypeCount( RTcontext context, unsigned int num_ray_types ) inline RTresult RTContextSetRayTypeCount( RTcontext context, unsigned int num_ray_types )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextSetRayTypeCount ); NVSG_ASSERT( _NVIRTFunctions.RTContextSetRayTypeCount );
return _NVIRTFunctions.RTContextSetRayTypeCount( context, num_ray_types ) ; return _NVIRTFunctions.RTContextSetRayTypeCount( context, num_ray_types ) ;
} }
inline RTresult RTContextGetRayTypeCount( RTcontext context, unsigned int* num_ray_types ) inline RTresult RTContextGetRayTypeCount( RTcontext context, unsigned int* num_ray_types )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTContextGetRayTypeCount ); NVSG_ASSERT( _NVIRTFunctions.RTContextGetRayTypeCount );
return _NVIRTFunctions.RTContextGetRayTypeCount( context, num_ray_types ) ; return _NVIRTFunctions.RTContextGetRayTypeCount( context, num_ray_types ) ;
skipping to change at line 2019 skipping to change at line 2076
NVSG_ASSERT( _NVIRTFunctions.RTTextureSamplerSetBuffer ); NVSG_ASSERT( _NVIRTFunctions.RTTextureSamplerSetBuffer );
return _NVIRTFunctions.RTTextureSamplerSetBuffer( texturesampler, texture _array_idx, mip_level, buffer ); return _NVIRTFunctions.RTTextureSamplerSetBuffer( texturesampler, texture _array_idx, mip_level, buffer );
} }
inline RTresult RTTextureSamplerGetBuffer( RTtexturesampler texturesampler, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer* buffer ) inline RTresult RTTextureSamplerGetBuffer( RTtexturesampler texturesampler, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer* buffer )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTTextureSamplerGetBuffer ); NVSG_ASSERT( _NVIRTFunctions.RTTextureSamplerGetBuffer );
return _NVIRTFunctions.RTTextureSamplerGetBuffer( texturesampler, texture _array_idx, mip_level, buffer ); return _NVIRTFunctions.RTTextureSamplerGetBuffer( texturesampler, texture _array_idx, mip_level, buffer );
} }
inline RTresult RTBufferCreate( RTcontext context, RTbuffertype type, RTbuf fer* buffer ) inline RTresult RTBufferCreate( RTcontext context, unsigned int type, RTbuf fer* buffer )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTBufferCreate ); NVSG_ASSERT( _NVIRTFunctions.RTBufferCreate );
return _NVIRTFunctions.RTBufferCreate( context, type, buffer ); return _NVIRTFunctions.RTBufferCreate( context, type, buffer );
} }
inline RTresult RTBufferDestroy( RTbuffer buffer ) inline RTresult RTBufferDestroy( RTbuffer buffer )
{ {
NVSG_ASSERT( _NVIRTFunctions.RTBufferDestroy ); NVSG_ASSERT( _NVIRTFunctions.RTBufferDestroy );
return _NVIRTFunctions.RTBufferDestroy( buffer ); return _NVIRTFunctions.RTBufferDestroy( buffer );
} }
 End of changes. 20 change blocks. 
4 lines changed or deleted 73 lines changed or added


 NVIRTGLFunctions.h   NVIRTGLFunctions.h 
// AUTOMATICALLY GENERATED - DO NOT EDIT // AUTOMATICALLY GENERATED - DO NOT EDIT
#pragma once #pragma once
#include <nvrt/nvsgrtapi.h> #include <nvrt/nvsgrtapi.h>
#include <nvrt/nvirt/optix.h> #include <nvrt/nvirt/optix.h>
#include <nvrt/nvirt/nvirtu/optixu.h> #include <nvrt/nvirt/optixu/optixu.h>
#include <nvgl/GLContext.h>
#include <nvsgcommon.h> #include <nvsgcommon.h>
#include <nvgl/GLContext.h>
#include <string> #include <string>
struct NVIRTGLFunctions struct NVIRTGLFunctions
{ {
RTresult (* RTBufferCreateFromGLBO)( RTcontext , RTbuffertype , unsigned RTresult (* RTBufferCreateFromGLBO)( RTcontext , unsigned int , unsigned
int , RTbuffer* ); int , RTbuffer* );
RTresult (* RTBufferGetGLBOId)( RTbuffer , unsigned int ); RTresult (* RTTextureSamplerCreateFromGLImage)( RTcontext , unsigned int
, RTgltarget , RTtexturesampler* );
RTresult (* RTBufferGetGLBOId)( RTbuffer , unsigned int* );
RTresult (* RTTextureSamplerGetGLImageId)( RTtexturesampler , unsigned in
t* );
RTresult (* RTBufferGLRegister)( RTbuffer );
RTresult (* RTBufferGLUnregister)( RTbuffer );
RTresult (* RTTextureSamplerGLRegister)( RTtexturesampler );
RTresult (* RTTextureSamplerGLUnregister)( RTtexturesampler );
#ifdef _WIN32 #ifdef _WIN32
RTresult (* RTDeviceGetWGLDevice)( int* , HGPUNV ); RTresult (* RTDeviceGetWGLDevice)( int* , HGPUNV );
#endif #endif
}; };
extern struct NVIRTGLFunctions _NVIRTGLFunctions; extern struct NVIRTGLFunctions _NVIRTGLFunctions;
bool InitNVIRTGLFunctions( void * (*DLL_FUNC)( void *, const std::string & ), void * DLL_ARG ); bool InitNVIRTGLFunctions( void * (*DLL_FUNC)( void *, const std::string & ), void * DLL_ARG );
RTresult NVRT_API RTBufferCreateFromGLBO( RTcontext context, RTbuffertype t RTresult NVRT_API RTBufferCreateFromGLBO( RTcontext context, unsigned int
ype, unsigned int gl_id, RTbuffer* buffer); type, unsigned int glId, RTbuffer* buffer );
RTresult NVRT_API RTBufferGetGLBOId( RTbuffer buffer, unsigned int *gl_id); RTresult NVRT_API RTTextureSamplerCreateFromGLImage( RTcontext context, un
signed int glId, RTgltarget target, RTtexturesampler* textureSampler );
RTresult NVRT_API RTBufferGetGLBOId( RTbuffer buffer, unsigned int* glId )
;
RTresult NVRT_API RTTextureSamplerGetGLImageId( RTtexturesampler textureSa
mpler, unsigned int* glId );
RTresult NVRT_API RTBufferGLRegister( RTbuffer buffer );
RTresult NVRT_API RTBufferGLUnregister( RTbuffer buffer );
RTresult NVRT_API RTTextureSamplerGLRegister( RTtexturesampler textureSamp
ler );
RTresult NVRT_API RTTextureSamplerGLUnregister( RTtexturesampler textureSa
mpler );
#ifdef _WIN32 #ifdef _WIN32
RTresult NVRT_API RTDeviceGetWGLDevice( int* device, HGPUNV hGpu); RTresult NVRT_API RTDeviceGetWGLDevice( int* device, HGPUNV gpu);
#endif #endif
inline RTresult RTBufferCreateFromGLBO( RTcontext context, RTbuffertype typ e, unsigned int gl_id, RTbuffer* buffer ) inline RTresult RTBufferCreateFromGLBO( RTcontext context, unsigned int ty pe, unsigned int glId, RTbuffer* buffer )
{ {
NVSG_ASSERT( _NVIRTGLFunctions.RTBufferCreateFromGLBO ); NVSG_ASSERT( _NVIRTGLFunctions.RTBufferCreateFromGLBO );
return _NVIRTGLFunctions.RTBufferCreateFromGLBO( context, type, gl_id, bu ffer ); return _NVIRTGLFunctions.RTBufferCreateFromGLBO( context, type, glId, buf fer );
} }
inline RTresult RTBufferGetGLBOId( RTbuffer buffer, unsigned int *gl_id ) inline RTresult RTTextureSamplerCreateFromGLImage( RTcontext context, unsi
gned int glId, RTgltarget target, RTtexturesampler* textureSampler )
{
NVSG_ASSERT( _NVIRTGLFunctions.RTTextureSamplerCreateFromGLImage );
return _NVIRTGLFunctions.RTTextureSamplerCreateFromGLImage( context, glId
, target, textureSampler );
}
inline RTresult RTBufferGetGLBOId( RTbuffer buffer, unsigned int* glId )
{ {
NVSG_ASSERT( _NVIRTGLFunctions.RTBufferGetGLBOId ); NVSG_ASSERT( _NVIRTGLFunctions.RTBufferGetGLBOId );
return _NVIRTGLFunctions.RTBufferGetGLBOId( buffer, *gl_id ); return _NVIRTGLFunctions.RTBufferGetGLBOId( buffer, glId );
}
inline RTresult RTTextureSamplerGetGLImageId( RTtexturesampler textureSamp
ler, unsigned int* glId )
{
NVSG_ASSERT( _NVIRTGLFunctions.RTTextureSamplerGetGLImageId );
return _NVIRTGLFunctions.RTTextureSamplerGetGLImageId( textureSampler, gl
Id );
}
inline RTresult RTBufferGLRegister( RTbuffer buffer )
{
NVSG_ASSERT( _NVIRTGLFunctions.RTBufferGLRegister );
return _NVIRTGLFunctions.RTBufferGLRegister( buffer );
}
inline RTresult RTBufferGLUnregister( RTbuffer buffer )
{
NVSG_ASSERT( _NVIRTGLFunctions.RTBufferGLUnregister );
return _NVIRTGLFunctions.RTBufferGLUnregister( buffer );
}
inline RTresult RTTextureSamplerGLRegister( RTtexturesampler textureSample
r )
{
NVSG_ASSERT( _NVIRTGLFunctions.RTTextureSamplerGLRegister );
return _NVIRTGLFunctions.RTTextureSamplerGLRegister( textureSampler );
}
inline RTresult RTTextureSamplerGLUnregister( RTtexturesampler textureSamp
ler )
{
NVSG_ASSERT( _NVIRTGLFunctions.RTTextureSamplerGLUnregister );
return _NVIRTGLFunctions.RTTextureSamplerGLUnregister( textureSampler );
} }
#ifdef _WIN32 #ifdef _WIN32
inline RTresult RTDeviceGetWGLDevice( int* device, HGPUNV hGpu ) inline RTresult RTDeviceGetWGLDevice( int* device, HGPUNV gpu )
{ {
NVSG_ASSERT( _NVIRTGLFunctions.RTDeviceGetWGLDevice ); NVSG_ASSERT( _NVIRTGLFunctions.RTDeviceGetWGLDevice );
return _NVIRTGLFunctions.RTDeviceGetWGLDevice( device, hGpu ); return _NVIRTGLFunctions.RTDeviceGetWGLDevice( device, gpu );
} }
#endif #endif
 End of changes. 11 change blocks. 
15 lines changed or deleted 76 lines changed or added


 NVIRTUFunctions.h   NVIRTUFunctions.h 
// AUTOMATICALLY GENERATED - DO NOT EDIT // AUTOMATICALLY GENERATED - DO NOT EDIT
#pragma once #pragma once
#include <nvrt/nvsgrtapi.h> #include <nvrt/nvsgrtapi.h>
#include <nvrt/nvirt/optix.h> #include <nvrt/nvirt/optix.h>
#include <nvrt/nvirt/nvirtu/optixu.h> #include <nvrt/nvirt/optixu/optixu.h>
#include <nvsgcommon.h> #include <nvsgcommon.h>
#include <nvgl/GLContext.h>
#include <string> #include <string>
struct NVIRTUFunctions struct NVIRTUFunctions
{ {
RTresult (* RTUNameForType)( RTobjecttype , char* , RTsize ); RTresult (* RTUNameForType)( RTobjecttype , char* , RTsize );
RTresult (* RTUGetSizeForRTformat)( RTformat , size_t* );
RTresult (* RTUCUDACompileString)( const char* , const char** , unsigned int , RTsize* , RTsize* ); RTresult (* RTUCUDACompileString)( const char* , const char** , unsigned int , RTsize* , RTsize* );
RTresult (* RTUCUDACompileFile)( const char* , const char** , unsigned in t , RTsize* , RTsize* ); RTresult (* RTUCUDACompileFile)( const char* , const char** , unsigned in t , RTsize* , RTsize* );
RTresult (* RTUCUDAGetCompileResult)( char* , char* ); RTresult (* RTUCUDAGetCompileResult)( char* , char* );
}; };
extern struct NVIRTUFunctions _NVIRTUFunctions; extern struct NVIRTUFunctions _NVIRTUFunctions;
bool InitNVIRTUFunctions( void * (*DLL_FUNC)( void *, const std::string & ) , void * DLL_ARG ); bool InitNVIRTUFunctions( void * (*DLL_FUNC)( void *, const std::string & ) , void * DLL_ARG );
RTresult NVRT_API RTUNameForType( RTobjecttype type, char* buffer, RTsize bufferSize ); RTresult NVRT_API RTUNameForType( RTobjecttype type, char* buffer, RTsize bufferSize );
RTresult NVRT_API RTUGetSizeForRTformat( RTformat format, size_t* size);
RTresult NVRT_API RTUCUDACompileString( const char* source, const char** p reprocessorArguments, unsigned int numPreprocessorArguments, RTsize* result Size, RTsize* errorSize ); RTresult NVRT_API RTUCUDACompileString( const char* source, const char** p reprocessorArguments, unsigned int numPreprocessorArguments, RTsize* result Size, RTsize* errorSize );
RTresult NVRT_API RTUCUDACompileFile( const char* filename, const char** p reprocessorArguments, unsigned int numPreprocessorArguments, RTsize* result Size, RTsize* errorSize ); RTresult NVRT_API RTUCUDACompileFile( const char* filename, const char** p reprocessorArguments, unsigned int numPreprocessorArguments, RTsize* result Size, RTsize* errorSize );
RTresult NVRT_API RTUCUDAGetCompileResult( char* result, char* error ); RTresult NVRT_API RTUCUDAGetCompileResult( char* result, char* error );
inline RTresult RTUNameForType( RTobjecttype type, char* buffer, RTsize bu fferSize ) inline RTresult RTUNameForType( RTobjecttype type, char* buffer, RTsize bu fferSize )
{ {
NVSG_ASSERT( _NVIRTUFunctions.RTUNameForType ); NVSG_ASSERT( _NVIRTUFunctions.RTUNameForType );
return _NVIRTUFunctions.RTUNameForType( type, buffer, bufferSize ); return _NVIRTUFunctions.RTUNameForType( type, buffer, bufferSize );
} }
inline RTresult RTUGetSizeForRTformat( RTformat format, size_t* size )
{
NVSG_ASSERT( _NVIRTUFunctions.RTUGetSizeForRTformat );
return _NVIRTUFunctions.RTUGetSizeForRTformat( format, size );
}
inline RTresult RTUCUDACompileString( const char* source, const char** pre processorArguments, unsigned int numPreprocessorArguments, RTsize* resultSi ze, RTsize* errorSize ) inline RTresult RTUCUDACompileString( const char* source, const char** pre processorArguments, unsigned int numPreprocessorArguments, RTsize* resultSi ze, RTsize* errorSize )
{ {
NVSG_ASSERT( _NVIRTUFunctions.RTUCUDACompileString ); NVSG_ASSERT( _NVIRTUFunctions.RTUCUDACompileString );
return _NVIRTUFunctions.RTUCUDACompileString( source, preprocessorArgumen ts, numPreprocessorArguments, resultSize, errorSize ); return _NVIRTUFunctions.RTUCUDACompileString( source, preprocessorArgumen ts, numPreprocessorArguments, resultSize, errorSize );
} }
inline RTresult RTUCUDACompileFile( const char* filename, const char** pre processorArguments, unsigned int numPreprocessorArguments, RTsize* resultSi ze, RTsize* errorSize ) inline RTresult RTUCUDACompileFile( const char* filename, const char** pre processorArguments, unsigned int numPreprocessorArguments, RTsize* resultSi ze, RTsize* errorSize )
{ {
NVSG_ASSERT( _NVIRTUFunctions.RTUCUDACompileFile ); NVSG_ASSERT( _NVIRTUFunctions.RTUCUDACompileFile );
return _NVIRTUFunctions.RTUCUDACompileFile( filename, preprocessorArgumen ts, numPreprocessorArguments, resultSize, errorSize ); return _NVIRTUFunctions.RTUCUDACompileFile( filename, preprocessorArgumen ts, numPreprocessorArguments, resultSize, errorSize );
 End of changes. 5 change blocks. 
1 lines changed or deleted 10 lines changed or added


 NVSGVersion.h   NVSGVersion.h 
skipping to change at line 23 skipping to change at line 23
/** \file */ /** \file */
#if !defined( DOXYGEN_IGNORE ) // no need to document the version heade r #if !defined( DOXYGEN_IGNORE ) // no need to document the version heade r
//------------------------------------------------------------------------- -- //------------------------------------------------------------------------- --
// Version Number // Version Number
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// - This is the ONLY place to edit the version number. // - This is the ONLY place to edit the version number.
// - There must be no unnecessary leading zeros in the numbers. // - There must be no unnecessary leading zeros in the numbers.
// (e.g.: don't use '02' - use '2' instead) // (e.g.: don't use '02' - use '2' instead)
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define NVSG_VER_MAIN 5 // marketing main version #define NVSG_VER_MAIN 6 // marketing main version
#define NVSG_VER_AUX 5 // marketing auxiliary version #define NVSG_VER_AUX 0 // marketing auxiliary version
#define NVSG_VER_MAJOR 8 #define NVSG_VER_MAJOR 8
#define NVSG_VER_MINOR 0 #define NVSG_VER_MINOR 0
#if !defined(NVSG_VER_BUILD) #if !defined(NVSG_VER_BUILD)
#define NVSG_VER_BUILD 12 #define NVSG_VER_BUILD 4
#endif #endif
//#define NVSG_ALPHA //#define NVSG_ALPHA
//#define NVSG_BETA //#define NVSG_BETA
// MaKe STRing helper macro // MaKe STRing helper macro
#define MKSTR(s) MKSTR_i(s) #define MKSTR(s) MKSTR_i(s)
#define MKSTR_i(s) MKSTR_ii(s) #define MKSTR_i(s) MKSTR_ii(s)
#define MKSTR_ii(s) #s #define MKSTR_ii(s) #s
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added


 Object.h   Object.h 
skipping to change at line 87 skipping to change at line 87
, OC_POINTS //!< Points , OC_POINTS //!< Points
, OC_SHAPE //!< Shape , OC_SHAPE //!< Shape
, OC_BITMAP //!< Bitmap , OC_BITMAP //!< Bitmap
, OC_PIXMAP //!< Pixmap , OC_PIXMAP //!< Pixmap
, OC_MAPELEMENT //!< MapElement , OC_MAPELEMENT //!< MapElement
, OC_MAPARRAY //!< MapArray , OC_MAPARRAY //!< MapArray
, OC_MAPMATRIX //!< MapMatrix , OC_MAPMATRIX //!< MapMatrix
, OC_MAPLIST //!< MapList , OC_MAPLIST //!< MapList
, OC_QUADMESHES //!< QuadMeshes , OC_QUADMESHES //!< QuadMeshes
, OC_SKIN //!< Skin , OC_SKIN //!< Skin
, OC_PATCHES //!< Patches
, OC_RECT_PATCHES //!< RectPatches
, OC_QUAD_PATCHES //!< QuadPatches
, OC_QUAD_PATCHES_4X4 //!< QuadPatches4x4
, OC_TRI_PATCHES //!< TriPatches
, OC_TRI_PATCHES_4 //!< TriPatches4
// states (0x40-0x5F) // states (0x40-0x5F)
, OC_STATESET = 0x40 //!< StateSet = 0x40 , OC_STATESET = 0x40 //!< StateSet = 0x40
, OC_STATEVARIANT //!< StateVariant , OC_STATEVARIANT //!< StateVariant
, OC_STATEPASS //!< StatePass , OC_STATEPASS //!< StatePass
, OC_STATEATTRIBUTE //!< StateAttribute , OC_STATEATTRIBUTE //!< StateAttribute
, OC_CGFX //!< CgFX , OC_CGFX //!< CgFX
, OC_RTFX //!< RTFx , OC_RTFX //!< RTFx
, OC_RTFX_PROGRAM //!< RTFx Program , OC_RTFX_PROGRAM //!< RTFx Program
, OC_RTFX_SCENE_ATTRIBUTE //!< RTFxSceneAttribute , OC_RTFX_SCENE_ATTRIBUTE //!< RTFxSceneAttribute
, OC_FACEATTRIBUTE //!< FaceAttribute , OC_FACEATTRIBUTE //!< FaceAttribute
skipping to change at line 788 skipping to change at line 794
* The idea of flagging Object incarnations valid is to optimize the re verse process * The idea of flagging Object incarnations valid is to optimize the re verse process
* of invalidating incarnations up the Object hierarchy. The invalidati on can * of invalidating incarnations up the Object hierarchy. The invalidati on can
* stop immediately if an Object's incarnation is detected invalid alre ady. * stop immediately if an Object's incarnation is detected invalid alre ady.
* Only those Object's of which the incarnations in question are flagge d valid, need * Only those Object's of which the incarnations in question are flagge d valid, need
* to further communicate invalidation to parent or owner Objects. * to further communicate invalidation to parent or owner Objects.
* \sa invalidateIncarnation, getIncarnation, getTreeIncarnation */ * \sa invalidateIncarnation, getIncarnation, getTreeIncarnation */
NVSG_API virtual bool validateIncarnation(unsigned int which) const; NVSG_API virtual bool validateIncarnation(unsigned int which) const;
/*! \brief Add an app traverser callback to this object. /*! \brief Add an app traverser callback to this object.
* \param cb Pointer to the callback to add. * \param cb Pointer to the callback to add.
* \remarks An app traverser callback is used in the AppTraverser::pos tTraverseObject. That is, whenever * \remarks App Traverser callbacks are invoked from AppTraverser::pos tTraverseObject. That is, whenever
* an object has been traversed by the AppTraverser, it's app traverse r callbacks are called. * an object has been traversed by the AppTraverser, it's app traverse r callbacks are called.
* \sa Callback, AppTraverser */ * \note When an AppTraverser callback is invoked, the 'data' pointer
sent to the callback method will be a
* pointer to an AppTraverserCallbackData structure as defined in nvtr
averser/AppTraverser.h.
* \note AppTraverser callbacks are invoked in the order they were add
ed.
* \sa Callback, AppTraverser, AppTraverserCallbackData */
NVSG_API void addAppTraverserCallback( const Callback * cb ); NVSG_API void addAppTraverserCallback( const Callback * cb );
/*! \brief Get the number of app traverser callbacks in this object. /*! \brief Get the number of app traverser callbacks in this object.
* \return The number of app traverser callbacks in this object. * \return The number of app traverser callbacks in this object.
* \remarks An app traverser callback is used in the AppTraverser::pos tTraverseObject. That is, whenever * \remarks App Traverser callbacks are invoked from AppTraverser::pos tTraverseObject. That is, whenever
* an object has been traversed by the AppTraverser, it's app traverse r callbacks are called. * an object has been traversed by the AppTraverser, it's app traverse r callbacks are called.
* \sa Callback, AppTraverser */ * \sa Callback, AppTraverser */
NVSG_API unsigned int getNumberOfAppTraverserCallbacks() const; NVSG_API unsigned int getNumberOfAppTraverserCallbacks() const;
/*! \brief Get a specified app traverser callback from this object. /*! \brief Get a specified app traverser callback from this object.
* \param i The index of the app traverser callback to get. * \param i The index of the app traverser callback to get.
* \return A pointer to the i'th app traverser callback in this object . * \return A pointer to the i'th app traverser callback in this object .
* \remarks An app traverser callback is used in the AppTraverser::pos tTraverseObject. That is, whenever * \remarks App Traverser callbacks are invoked from AppTraverser::pos tTraverseObject. That is, whenever
* an object has been traversed by the AppTraverser, it's app traverse r callbacks are called. * an object has been traversed by the AppTraverser, it's app traverse r callbacks are called.
* \note The behavior is undefined if there are less then \c i app tra verser callbacks registered on this * \note The behavior is undefined if there are less then \c i app tra verser callbacks registered on this
* object. * object.
* \sa Callback, AppTraverser */ * \sa Callback, AppTraverser */
NVSG_API const Callback * getAppTraverserCallback( unsigned int i ) con st; NVSG_API const Callback * getAppTraverserCallback( unsigned int i ) con st;
/*! \brief Remove a specified app traverser callback from this object. /*! \brief Remove a specified app traverser callback from this object.
* \param i The index of the app traverser callback to remove. * \param i The index of the app traverser callback to remove.
* \remarks An app traverser callback is used in the AppTraverser::pos tTraverseObject. That is, whenever * \remarks An app traverser callback is used in the AppTraverser::pos tTraverseObject. That is, whenever
* an object has been traversed by the AppTraverser, it's app traverse r callbacks are called. * an object has been traversed by the AppTraverser, it's app traverse r callbacks are called.
 End of changes. 5 change blocks. 
4 lines changed or deleted 16 lines changed or added


 RTBufferGL.h   RTBufferGL.h 
skipping to change at line 72 skipping to change at line 72
/*! \brief Initialize this object. /*! \brief Initialize this object.
* \param context The RTContext to create the acceleration structure with. * \param context The RTContext to create the acceleration structure with.
* \param type Enumeration to specify the buffer type. * \param type Enumeration to specify the buffer type.
* \remarks This function is called from RTContext::newBuffer to ini tialize the new buffer * \remarks This function is called from RTContext::newBuffer to ini tialize the new buffer
* structure. The enumeration values for \a type are RT_BUFFER_INPUT , RT_BUFFER_OUTPUT, and * structure. The enumeration values for \a type are RT_BUFFER_INPUT , RT_BUFFER_OUTPUT, and
* RT_BUFFER_INPUT_OUTPUT * RT_BUFFER_INPUT_OUTPUT
* \sa nvrt::RTContext */ * \sa nvrt::RTContext */
NVRT_API virtual void init( RTcontext context, RTbuffertype type ); NVRT_API virtual void init( RTcontext context, RTbuffertype type );
private: private:
NVRT_API void updateGLObject(); void updateGLObject();
void resizeGLObject(unsigned int size);
private: private:
GLuint m_glId; //< Id for OpenGL buffer object GLuint m_glId; //< Id for OpenGL buffer object
}; };
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added


 RTTraverser.h   RTTraverser.h 
skipping to change at line 205 skipping to change at line 205
, nvrt::RTAccelerat ion::RTBuilderType & rtbt , nvrt::RTAccelerat ion::RTBuilderType & rtbt
, nvrt::RTAccelerat ion::RTTraverserType & rttt ); , nvrt::RTAccelerat ion::RTTraverserType & rttt );
void getShaderMaterial( const nvsg::Material * p, ShaderMaterial & sm ); void getShaderMaterial( const nvsg::Material * p, ShaderMaterial & sm );
void setMaterialComponents( const nvsg::Material * p, nvrt::RTMaterialHandle * rtm ); void setMaterialComponents( const nvsg::Material * p, nvrt::RTMaterialHandle * rtm );
void initAccelerationGeometry( nvrt::RTAcceleratio nHandle * accelerationHdl void initAccelerationGeometry( nvrt::RTAcceleratio nHandle * accelerationHdl
, nvrt::RTAcceleratio n::RTBuilderType rtbt , nvrt::RTAcceleratio n::RTBuilderType rtbt
, nvrt::RTAcceleratio n::RTTraverserType rttt ); , nvrt::RTAcceleratio n::RTTraverserType rttt );
void initAccelerationHierarchy( nvrt::RTAccelerati onHandle * accelerationHdl void initAccelerationHierarchy( nvrt::RTAccelerati onHandle * accelerationHdl
, nvrt::RTAccelerati on::RTBuilderType rtbt , nvrt::RTAccelerati on::RTBuilderType rtbt
, nvrt::RTAccelerati on::RTTraverserType rttt ); , nvrt::RTAccelerati on::RTTraverserType rttt );
bool isChildrenBarrier() const;
nvrt::RTGroupCache * processGroup( const nvsg::Group * p ); nvrt::RTGroupCache * processGroup( const nvsg::Group * p );
template<typename T> template<typename T>
void processPrimitiveSet( T * p ); void processPrimitiveSet( T * p );
void processTextures( const nvsg::RTFxBase * rtfx, nvrt::RTVariablesManager * vholder ); void processTextures( const nvsg::RTFxBase * rtfx, nvrt::RTVariablesManager * vholder );
void processBuffers( const nvsg::RTFxBase * rtfx, nvrt::RTVariablesManager * vholder ); void processBuffers( const nvsg::RTFxBase * rtfx, nvrt::RTVariablesManager * vholder );
void pushLightType( nvsg::LightSourceHandle * lsh, const nvmath::Mat44f&, const nvmath::Mat44f& ); void pushLightType( nvsg::LightSourceHandle * lsh, const nvmath::Mat44f&, const nvmath::Mat44f& );
void setGlobalVariables( const nvsg::RTFxBase * p, nvrt::RTContextHandle * ch ); void setGlobalVariables( const nvsg::RTFxBase * p, nvrt::RTContextHandle * ch );
void updateTextureImages( const nvsg::RTFxBase * p ); void updateTextureImages( const nvsg::RTFxBase * p );
void setLocalVariables( const nvsg::RTFxBase * p, nvrt::RTMaterialHandle * mh ); void setLocalVariables( const nvsg::RTFxBase * p, nvrt::RTMaterialHandle * mh );
void setLocalVariables( const nvsg::RTFxBase * p, nvrt::RTGeometryHandle * gh ); void setLocalVariables( const nvsg::RTFxBase * p, nvrt::RTGeometryHandle * gh );
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 RayIntersectTraverser.h   RayIntersectTraverser.h 
skipping to change at line 299 skipping to change at line 299
// Groups in the tree: // Groups in the tree:
NVSG_API virtual void handleAnimatedTransform( const nvsg::AnimatedTr ansform *p ); NVSG_API virtual void handleAnimatedTransform( const nvsg::AnimatedTr ansform *p );
NVSG_API virtual void handleBillboard( const nvsg::Billboard * p); NVSG_API virtual void handleBillboard( const nvsg::Billboard * p);
NVSG_API virtual void handleGroup( const nvsg::Group * group); NVSG_API virtual void handleGroup( const nvsg::Group * group);
NVSG_API virtual void handleLOD( const nvsg::LOD * lod); NVSG_API virtual void handleLOD( const nvsg::LOD * lod);
NVSG_API virtual void handleSwitch( const nvsg::Switch * swtch); NVSG_API virtual void handleSwitch( const nvsg::Switch * swtch);
NVSG_API virtual void handleTransform( const nvsg::Transform * p); NVSG_API virtual void handleTransform( const nvsg::Transform * p);
// Other operators: // Other operators:
NVSG_API virtual void handleLines( const nvsg::Lines *lines ); NVSG_API virtual void handleLines( const nvsg::Lines * p );
NVSG_API virtual void handleLineStrips( const nvsg::LineStrips *strip NVSG_API virtual void handleLineStrips( const nvsg::LineStrips * p );
s ); //NVSG_API virtual void handlePatches( const nvsg::Patches * p );
NVSG_API virtual void handlePoints( const nvsg::Points *points ); // no topological information on patches!!
NVSG_API virtual void handleQuadMeshes( const nvsg::QuadMeshes *meshe NVSG_API virtual void handlePoints( const nvsg::Points * p );
s ); NVSG_API virtual void handleQuadMeshes( const nvsg::QuadMeshes * p );
NVSG_API virtual void handleQuads( const nvsg::Quads *quads ); NVSG_API virtual void handleQuadPatches( const nvsg::QuadPatches * p
NVSG_API virtual void handleQuadStrips( const nvsg::QuadStrips *strip );
s ); NVSG_API virtual void handleQuadPatches4x4( const nvsg::QuadPatches4x
NVSG_API virtual void handleSkinnedTriangles( const nvsg::SkinnedTria 4 * p );
ngles *triangles ); NVSG_API virtual void handleQuads( const nvsg::Quads * p );
NVSG_API virtual void handleTriangles( const nvsg::Triangles *triangl NVSG_API virtual void handleQuadStrips( const nvsg::QuadStrips * p );
es ); NVSG_API virtual void handleRectPatches( const nvsg::RectPatches * p
NVSG_API virtual void handleTriFans( const nvsg::TriFans *fans ); );
NVSG_API virtual void handleTriStrips( const nvsg::TriStrips *strips NVSG_API virtual void handleSkinnedTriangles( const nvsg::SkinnedTria
); ngles * p );
NVSG_API virtual void handleTriangles( const nvsg::Triangles *p );
NVSG_API virtual void handleTriFans( const nvsg::TriFans * p );
NVSG_API virtual void handleTriPatches( const nvsg::TriPatches * p );
NVSG_API virtual void handleTriPatches4( const nvsg::TriPatches4 * p
);
NVSG_API virtual void handleTriStrips( const nvsg::TriStrips * p );
// Specialized state handling // Specialized state handling
// handleFaceAttribute lets us evaluate backface culling for subseque nt geometry. // handleFaceAttribute lets us evaluate backface culling for subseque nt geometry.
// Note, that we consider backface culling for picking! // Note, that we consider backface culling for picking!
NVSG_API virtual void handleCgFx( const nvsg::CgFx * p ); NVSG_API virtual void handleCgFx( const nvsg::CgFx * p );
NVSG_API virtual void handleFaceAttribute( const nvsg::FaceAttribute *faceAttrib ); NVSG_API virtual void handleFaceAttribute( const nvsg::FaceAttribute *faceAttrib );
NVSG_API virtual void handleStateSet( const nvsg::StateSet *stateSet ); NVSG_API virtual void handleStateSet( const nvsg::StateSet *stateSet );
/*! \brief Store the active clip planes of \a p for later usage. /*! \brief Store the active clip planes of \a p for later usage.
* \param p A pointer to the constant Group to get the active clip p lanes from. * \param p A pointer to the constant Group to get the active clip p lanes from.
skipping to change at line 433 skipping to change at line 439
, unsigned int primitiveIndex //!< I ndex of the intersected primitive , unsigned int primitiveIndex //!< I ndex of the intersected primitive
, const std::vector<unsigned int> & ve rtexIndices //!< Indices of the vertices of the intersected primitive , const std::vector<unsigned int> & ve rtexIndices //!< Indices of the vertices of the intersected primitive
); );
#if !defined(NDEBUG) #if !defined(NDEBUG)
/** Dump intersection map - for Debug*/ /** Dump intersection map - for Debug*/
NVSG_API void dumpIntersectionList(); NVSG_API void dumpIntersectionList();
#endif #endif
private: private:
void checkLine( const nvsg::Drawable * p, const nvmath::Vec3f * verti
ces, unsigned int i0
, unsigned int i1, unsigned int pi );
void checkQuad( const nvsg::Drawable * p, const nvmath::Vec3f * verti
ces
, const nvmath::Vec3f * normals, unsigned int i00, unsi
gned int i01, unsigned int i10
, unsigned int i11, unsigned int pi );
void checkRectPatches( const nvsg::PatchesBase * p, unsigned int widt
h, unsigned int height );
void checkTriangle( const nvsg::Drawable * p, const nvmath::Vec3f * v
ertices
, const nvmath::Vec3f * normals, unsigned int i0, u
nsigned int i1, unsigned int i2
, unsigned int pi );
void checkTriPatches( const nvsg::PatchesBase* vash, unsigned int siz
e );
bool equal( nvmath::Vec3f v0, nvmath::Vec3f v1, float width ) const; bool equal( nvmath::Vec3f v0, nvmath::Vec3f v1, float width ) const;
bool lookForLineAttribute( const nvsg::StateSet *ss ); bool lookForLineAttribute( const nvsg::StateSet *ss );
bool lookForPointAttribute( const nvsg::StateSet *ss ); bool lookForPointAttribute( const nvsg::StateSet *ss );
static const nvmath::Vec3f _RAY_ORIGIN_DEFAULT; //!< Default value : (0.f, 0.f, 0.f) static const nvmath::Vec3f _RAY_ORIGIN_DEFAULT; //!< Default value : (0.f, 0.f, 0.f)
static const nvmath::Vec3f _RAY_DIRECTION_DEFAULT; //!< Default value : (0.f, 0.f, -1.f) static const nvmath::Vec3f _RAY_DIRECTION_DEFAULT; //!< Default value : (0.f, 0.f, -1.f)
bool m_backFaceCulling; //!< true: consider b ackface culling bool m_backFaceCulling; //!< true: consider b ackface culling
bool m_camClipping; //!< true: use camera far/near clipping planes bool m_camClipping; //!< true: use camera far/near clipping planes
 End of changes. 2 change blocks. 
16 lines changed or deleted 39 lines changed or added


 RenderBin.h   RenderBin.h 
skipping to change at line 112 skipping to change at line 112
m_childSelectors.reserve(1024); m_childSelectors.reserve(1024);
m_lights.reserve(1024); m_lights.reserve(1024);
m_drawables.reserve(1024); m_drawables.reserve(1024);
m_highlights.reserve(1024); m_highlights.reserve(1024);
} }
void clear() void clear()
{ {
m_renderEntities.clear(); m_renderEntities.clear();
m_geometries.clear(); m_geometries.clear();
m_highlightGeometries.clear();
m_materials.clear(); m_materials.clear();
m_transforms.clear(); m_transforms.clear();
m_lods.clear(); m_lods.clear();
m_childSelectors.clear(); m_childSelectors.clear();
m_clipPlanes.clear(); m_clipPlanes.clear();
m_lights.clear(); m_lights.clear();
m_drawables.clear(); m_drawables.clear();
m_highlights.clear(); m_highlights.clear();
m_materialMap.clear(); m_materialMap.clear();
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 RenderEntity.h   RenderEntity.h 
skipping to change at line 57 skipping to change at line 57
const ChildSelectorStack& childSelectorStack, const ChildSelectorStack& childSelectorStack,
unsigned int optimizeFlags ) unsigned int optimizeFlags )
: m_renderBin(renderBin) : m_renderBin(renderBin)
, m_materialIndex(materialIndex) , m_materialIndex(materialIndex)
, m_lightingIndex(lightingIndex) , m_lightingIndex(lightingIndex)
, m_clippingIndex(clippingIndex) , m_clippingIndex(clippingIndex)
, m_lodIndex(lodIndex) , m_lodIndex(lodIndex)
, m_lod(lod) , m_lod(lod)
, m_childSelectorStack(childSelectorStack) , m_childSelectorStack(childSelectorStack)
, m_lightIndices(lightsBegin, lightsEnd) , m_lightIndices(lightsBegin, lightsEnd)
, m_flags(0) , m_flags(SUBJECT_TO_CULL)
, m_hiddenGeometries(0) , m_hiddenGeometries(0)
, m_hiddenDrawables(0) , m_hiddenDrawables(0)
, m_optimizeFlags(optimizeFlags) , m_optimizeFlags(optimizeFlags)
{ {
NVSG_ASSERT( m_renderBin ); NVSG_ASSERT( m_renderBin );
if ( m_clippingIndex != ~0 ) if ( m_clippingIndex != ~0 )
{ {
m_clipPlaneIndices.insert(m_clipPlaneIndices.begin(), clipPlanesBegin , clipPlanesEnd); m_clipPlaneIndices.insert(m_clipPlaneIndices.begin(), clipPlanesBegin , clipPlanesEnd);
} }
skipping to change at line 112 skipping to change at line 112
void incHiddenDrawables() { NVSG_ASSERT(m_hiddenDrawables != ~0) /* will overflow? */; ++m_hiddenDrawables; } void incHiddenDrawables() { NVSG_ASSERT(m_hiddenDrawables != ~0) /* will overflow? */; ++m_hiddenDrawables; }
void decHiddenDrawables() { NVSG_ASSERT(m_hiddenDrawables > 0); --m_hidde nDrawables; } void decHiddenDrawables() { NVSG_ASSERT(m_hiddenDrawables > 0); --m_hidde nDrawables; }
void incHiddenGeometries() { NVSG_ASSERT(m_hiddenGeometries < m_geometryI ndices.size()); ++m_hiddenGeometries; } void incHiddenGeometries() { NVSG_ASSERT(m_hiddenGeometries < m_geometryI ndices.size()); ++m_hiddenGeometries; }
void decHiddenGeometries() { NVSG_ASSERT(m_hiddenGeometries > 0); --m_hid denGeometries; } void decHiddenGeometries() { NVSG_ASSERT(m_hiddenGeometries > 0); --m_hid denGeometries; }
const nvmath::Sphere3f& getBoundingSphere() const; const nvmath::Sphere3f& getBoundingSphere() const;
void invalidateBoundingSphere() { m_flags &= ~BSPHERE_VALID; } void invalidateBoundingSphere() { m_flags &= ~BSPHERE_VALID; }
float squaredDistance(const nvmath::Mat44f& worldToView) const; float squaredDistance(const nvmath::Mat44f& worldToView) const;
void resetSubjectToCull() { m_flags &= ~SUBJECT_TO_CULL; }
bool isSubjectToCull() const { return !!(m_flags & SUBJECT_TO_CULL); }
enum { enum {
OPT_BATCH_TRANSFORMS = BIT0 OPT_BATCH_TRANSFORMS = BIT0
}; };
private: private:
RenderBin * m_renderBin; RenderBin * m_renderBin;
enum { enum {
BSPHERE_VALID = BIT0, BSPHERE_VALID = BIT0,
SQDIST_VALID = BIT1 SQDIST_VALID = BIT1,
SUBJECT_TO_CULL = BIT2
}; };
mutable unsigned int m_flags; mutable unsigned int m_flags;
mutable nvmath::Sphere3f m_boundingSphere; mutable nvmath::Sphere3f m_boundingSphere;
mutable float m_sqdist; mutable float m_sqdist;
MaterialEntityIndex m_materialIndex; MaterialEntityIndex m_materialIndex;
LightEntityIndex m_lightingIndex; LightEntityIndex m_lightingIndex;
ClipPlaneEntityIndex m_clippingIndex; ClipPlaneEntityIndex m_clippingIndex;
LODEntityIndex m_lodIndex; // reference to shared LODEntity LODEntityIndex m_lodIndex; // reference to shared LODEntity
 End of changes. 3 change blocks. 
2 lines changed or deleted 6 lines changed or added


 RenderList.h   RenderList.h 
skipping to change at line 33 skipping to change at line 33
{ {
class RenderList class RenderList
{ {
public: public:
typedef std::list< RenderEntityIndex > RenderEntityList; typedef std::list< RenderEntityIndex > RenderEntityList;
typedef RenderEntityList::iterator RenderEntityIter; typedef RenderEntityList::iterator RenderEntityIter;
typedef RenderEntityList::const_iterator ConstRenderEntityIter; typedef RenderEntityList::const_iterator ConstRenderEntityIter;
public: public:
RenderList() : m_renderBin(NULL), m_flags(0) {}; RenderList() : m_renderBin(NULL), m_flags(SUBJECT_TO_CULL) {};
void setRenderBin( RenderBin * rb ) { m_renderBin = rb; } void setRenderBin( RenderBin * rb ) { m_renderBin = rb; }
bool empty() const; bool empty() const;
void clear(); void clear();
template<typename Pred> template<typename Pred>
void removeIf(Pred pred) void removeIf(Pred pred)
{ {
m_renderEntities.remove_if(pred); m_renderEntities.remove_if(pred);
skipping to change at line 70 skipping to change at line 70
RenderEntityIter renderEntitiesBegin() { return m_renderEntities.begin(); } RenderEntityIter renderEntitiesBegin() { return m_renderEntities.begin(); }
RenderEntityIter renderEntitiesEnd() { return m_renderEntities.end(); } RenderEntityIter renderEntitiesEnd() { return m_renderEntities.end(); }
ConstRenderEntityIter renderEntitiesBegin() const { return m_renderEntiti es.begin(); } ConstRenderEntityIter renderEntitiesBegin() const { return m_renderEntiti es.begin(); }
ConstRenderEntityIter renderEntitiesEnd() const { return m_renderEntiti es.end(); } ConstRenderEntityIter renderEntitiesEnd() const { return m_renderEntiti es.end(); }
const size_t numRenderEntities() const { return m_renderEntities.size(); } const size_t numRenderEntities() const { return m_renderEntities.size(); }
const nvmath::Sphere3f& getBoundingSphere() const; const nvmath::Sphere3f& getBoundingSphere() const;
void invalidateBoundingSphere() { m_flags &= ~BSPHERE_VALID; } void invalidateBoundingSphere() { m_flags &= ~BSPHERE_VALID; }
void resetSubjectToCull() { m_flags &= ~SUBJECT_TO_CULL; }
bool isSubjectToCull() const { return !!(m_flags & SUBJECT_TO_CULL); }
private: private:
struct LocalState struct LocalState
{ {
LocalState( MaterialEntityIndex mi, LightEntityIndex li, LocalState( MaterialEntityIndex mi, LightEntityIndex li,
ClipPlaneEntityIndex cpi, LODEntityIndex lodi, unsigned int lod, ClipPlaneEntityIndex cpi, LODEntityIndex lodi, unsigned int lod,
ChildSelectorEntityIndex csi, unsigned int ch ) ChildSelectorEntityIndex csi, unsigned int ch )
: m_mi(mi), m_li(li), m_cpi(cpi), m_lodi(lodi), m_lod(lod), m_csi(csi ), m_ch(ch) {} : m_mi(mi), m_li(li), m_cpi(cpi), m_lodi(lodi), m_lod(lod), m_csi(csi ), m_ch(ch) {}
MaterialEntityIndex m_mi; MaterialEntityIndex m_mi;
LightEntityIndex m_li; LightEntityIndex m_li;
ClipPlaneEntityIndex m_cpi; ClipPlaneEntityIndex m_cpi;
skipping to change at line 97 skipping to change at line 100
bool operator()(const LocalState& ls1, const LocalState& ls2) const bool operator()(const LocalState& ls1, const LocalState& ls2) const
{ {
return memcmp(&ls1, &ls2, sizeof(LocalState)) < 0; return memcmp(&ls1, &ls2, sizeof(LocalState)) < 0;
} }
}; };
typedef std::map< LocalState, RenderEntityIndex, LocalStateLessThan > Loo kupTable; typedef std::map< LocalState, RenderEntityIndex, LocalStateLessThan > Loo kupTable;
private: private:
enum { enum {
BSPHERE_VALID = BIT0, BSPHERE_VALID = BIT0,
SUBJECT_TO_CULL = BIT1
}; };
mutable unsigned int m_flags; mutable unsigned int m_flags;
mutable nvmath::Sphere3f m_boundingSphere; mutable nvmath::Sphere3f m_boundingSphere;
RenderEntityList m_renderEntities; RenderEntityList m_renderEntities;
LookupTable m_lookupTable; LookupTable m_lookupTable;
RenderBin * m_renderBin; RenderBin * m_renderBin;
 End of changes. 3 change blocks. 
1 lines changed or deleted 5 lines changed or added


 RenderTraverser.h   RenderTraverser.h 
skipping to change at line 848 skipping to change at line 848
* \note The behavior is undefined if \a oh points to an invalid loca tion. * \note The behavior is undefined if \a oh points to an invalid loca tion.
* The behavior is also undefined if the additional argument doesn't match that of the corresponding render routine. */ * The behavior is also undefined if the additional argument doesn't match that of the corresponding render routine. */
template <typename T> template <typename T>
void renderObject( nvsg::ObjectHandle * oh, T arg ); void renderObject( nvsg::ObjectHandle * oh, T arg );
NVSG_API virtual void renderAnimatedTransform( const nvsg::AnimatedTr ansform * p ); NVSG_API virtual void renderAnimatedTransform( const nvsg::AnimatedTr ansform * p );
NVSG_API virtual void renderBillboard( const nvsg::Billboard * p ); NVSG_API virtual void renderBillboard( const nvsg::Billboard * p );
NVSG_API virtual void renderBlendAttribute( const nvsg::BlendAttribut e *p, bool enable ); NVSG_API virtual void renderBlendAttribute( const nvsg::BlendAttribut e *p, bool enable );
NVSG_API virtual void renderAlphaTestAttribute( const nvsg::AlphaTest Attribute *p ,bool enable ); NVSG_API virtual void renderAlphaTestAttribute( const nvsg::AlphaTest Attribute *p ,bool enable );
NVSG_API virtual void renderCgFx( const nvsg::CgFx *p, bool enable ); NVSG_API virtual void renderCgFx( const nvsg::CgFx *p, bool enable );
NVSG_API virtual void renderRTFx( const nvsg::RTFx *p, bool enable );
NVSG_API virtual void renderDepthAttribute( const nvsg::DepthAttribut e *p, bool enable ); NVSG_API virtual void renderDepthAttribute( const nvsg::DepthAttribut e *p, bool enable );
NVSG_API virtual void renderDirectedLight( const nvsg::DirectedLight *p, bool enable ); NVSG_API virtual void renderDirectedLight( const nvsg::DirectedLight *p, bool enable );
NVSG_API virtual void renderFaceAttribute( const nvsg::FaceAttribute *p, bool enable ); NVSG_API virtual void renderFaceAttribute( const nvsg::FaceAttribute *p, bool enable );
NVSG_API virtual void renderHighlightBox( const nvsg::HighlightBox * p ); NVSG_API virtual void renderHighlightBox( const nvsg::HighlightBox * p );
NVSG_API virtual void renderHighlightEdges( const nvsg::HighlightEdge s * p ); NVSG_API virtual void renderHighlightEdges( const nvsg::HighlightEdge s * p );
NVSG_API virtual void renderLightingAttribute( const nvsg::LightingAt tribute *p, bool enable ); NVSG_API virtual void renderLightingAttribute( const nvsg::LightingAt tribute *p, bool enable );
NVSG_API virtual void renderLineAttribute( const nvsg::LineAttribute *p, bool enable ); NVSG_API virtual void renderLineAttribute( const nvsg::LineAttribute *p, bool enable );
NVSG_API virtual void renderLines( const nvsg::Lines *p ); NVSG_API virtual void renderLines( const nvsg::Lines *p );
NVSG_API virtual void renderLineStrips( const nvsg::LineStrips *p ); NVSG_API virtual void renderLineStrips( const nvsg::LineStrips *p );
NVSG_API virtual void renderPointAttribute( const nvsg::PointAttribut
e *p, bool enable );
NVSG_API virtual void renderPoints( const nvsg::Points *p );
NVSG_API virtual void renderMaterial( const nvsg::Material *p , bool enable ); NVSG_API virtual void renderMaterial( const nvsg::Material *p , bool enable );
NVSG_API virtual void renderParallelCamera( const nvsg::ParallelCamer a *p ); NVSG_API virtual void renderParallelCamera( const nvsg::ParallelCamer a *p );
NVSG_API virtual void renderPatches( const nvsg::Patches *p );
NVSG_API virtual void renderPerspectiveCamera( const nvsg::Perspectiv eCamera *p ); NVSG_API virtual void renderPerspectiveCamera( const nvsg::Perspectiv eCamera *p );
NVSG_API virtual void renderPointAttribute( const nvsg::PointAttribut e *p, bool enable );
NVSG_API virtual void renderPointLight( const nvsg::PointLight *p, bo ol enable ); NVSG_API virtual void renderPointLight( const nvsg::PointLight *p, bo ol enable );
NVSG_API virtual void renderQuads( const nvsg::Quads *p ); NVSG_API virtual void renderPoints( const nvsg::Points *p );
NVSG_API virtual void renderQuadMeshes( const nvsg::QuadMeshes *p ); NVSG_API virtual void renderQuadMeshes( const nvsg::QuadMeshes *p );
NVSG_API virtual void renderQuadPatches( const nvsg::QuadPatches *p )
;
NVSG_API virtual void renderQuadPatches4x4( const nvsg::QuadPatches4x
4 *p );
NVSG_API virtual void renderQuads( const nvsg::Quads *p );
NVSG_API virtual void renderQuadStrips( const nvsg::QuadStrips *p ); NVSG_API virtual void renderQuadStrips( const nvsg::QuadStrips *p );
NVSG_API virtual void renderRectPatches( const nvsg::RectPatches *p )
;
NVSG_API virtual void renderRTFx( const nvsg::RTFx *p, bool enable );
NVSG_API virtual void renderSkinnedTriangles( const nvsg::SkinnedTria ngles *p ); NVSG_API virtual void renderSkinnedTriangles( const nvsg::SkinnedTria ngles *p );
NVSG_API virtual void renderSpotLight( const nvsg::SpotLight *p , boo l enable ); NVSG_API virtual void renderSpotLight( const nvsg::SpotLight *p , boo l enable );
NVSG_API virtual void renderStatePass( const nvsg::StatePass *p ); NVSG_API virtual void renderStatePass( const nvsg::StatePass *p );
NVSG_API virtual void renderStencilAttribute( const nvsg::StencilAttr ibute *p, bool enable ); NVSG_API virtual void renderStencilAttribute( const nvsg::StencilAttr ibute *p, bool enable );
NVSG_API virtual void renderTextureAttribute( const nvsg::TextureAttr ibute *p , bool enable ); NVSG_API virtual void renderTextureAttribute( const nvsg::TextureAttr ibute *p , bool enable );
NVSG_API virtual void renderTextureAttributeItem( const nvsg::Texture AttributeItem *p , unsigned int tu ); NVSG_API virtual void renderTextureAttributeItem( const nvsg::Texture AttributeItem *p , unsigned int tu );
NVSG_API virtual void renderTransform( const nvsg::Transform * p); NVSG_API virtual void renderTransform( const nvsg::Transform * p);
NVSG_API virtual void renderTriangles( const nvsg::Triangles *p ); NVSG_API virtual void renderTriangles( const nvsg::Triangles *p );
NVSG_API virtual void renderTriFans( const nvsg::TriFans *p ); NVSG_API virtual void renderTriFans( const nvsg::TriFans *p );
NVSG_API virtual void renderTriPatches( const nvsg::TriPatches *p );
NVSG_API virtual void renderTriPatches4( const nvsg::TriPatches4 *p )
;
NVSG_API virtual void renderTriStrips( const nvsg::TriStrips *p ); NVSG_API virtual void renderTriStrips( const nvsg::TriStrips *p );
NVSG_API virtual void renderShape( const nvsg::Shape * p ); NVSG_API virtual void renderShape( const nvsg::Shape * p );
NVSG_API virtual void renderUnlitColorAttribute( const nvsg::UnlitCol orAttribute *p , bool enable ); NVSG_API virtual void renderUnlitColorAttribute( const nvsg::UnlitCol orAttribute *p , bool enable );
//! Set a clipping plane. //! Set a clipping plane.
/** This base implementation is a NOP. */ /** This base implementation is a NOP. */
NVSG_API virtual void enableClipPlane(unsigned int index, nvsg::ClipP laneHandle * plane); NVSG_API virtual void enableClipPlane(unsigned int index, nvsg::ClipP laneHandle * plane);
NVSG_API virtual void disableClipPlane(unsigned int index); NVSG_API virtual void disableClipPlane(unsigned int index);
//! Set the current model to world and world to model transforms. //! Set the current model to world and world to model transforms.
skipping to change at line 1177 skipping to change at line 1183
const nvmath::Mat44f& lightEntityGetWorldToModel(LightEntityIndex lig ht) const; const nvmath::Mat44f& lightEntityGetWorldToModel(LightEntityIndex lig ht) const;
TransformEntityIndex clipPlaneEntityGetTransform(ClipPlaneEntityIndex ) const; TransformEntityIndex clipPlaneEntityGetTransform(ClipPlaneEntityIndex ) const;
nvsg::ClipPlaneHandle * clipPlaneEntityGetPlane(ClipPlaneEntityIndex) const; nvsg::ClipPlaneHandle * clipPlaneEntityGetPlane(ClipPlaneEntityIndex) const;
unsigned int getNumberOfVisibleLights() const; unsigned int getNumberOfVisibleLights() const;
LightEntityIndex getVisibleLight(unsigned int) const; LightEntityIndex getVisibleLight(unsigned int) const;
virtual void renderSphere( const nvmath::Sphere3f, const nvmath::Vec4 f color ) {} virtual void renderSphere( const nvmath::Sphere3f, const nvmath::Vec4 f color ) {}
bool isProcessingCgFx() const { return NULL != m_rstate.m_cgfx;}
void stopProcessingCgFx() { m_rstate.m_cgfx = NULL; } // give derived
renderer ability to stop processing
// if dependent
setup failed
unsigned int frameCount() const { return m_rstate.m_frame; } unsigned int frameCount() const { return m_rstate.m_frame; }
size_t lightingState() const { return m_rstate.m_lighting; } size_t lightingState() const { return m_rstate.m_lighting; }
size_t transformState() const { return m_rstate.m_transform; } size_t transformState() const { return m_rstate.m_transform; }
size_t materialState() const { return m_rstate.m_material; } size_t materialState() const { return m_rstate.m_material; }
bool isProcessingCgFx() const { return NULL != m_rstate.m_cgfxState.m
_cgfx;}
bool fixedFunction() const { return NULL == m_rstate.m_cgfxState.m_cg
fx; }
// give derived renderer ability to stop processing if dependent setu
p failed
void stopProcessingCgFx() { m_rstate.m_cgfxState.m_cgfx = NULL; }
bool hasCgFxTessellationPrograms() const { return m_rstate.m_cgfxStat
e.m_hasTessellationPrograms; }
private: private:
enum enum
{ {
RENDER_TRANSPARENT = BIT0, // 1 = transparent, 0 = opaqu e RENDER_TRANSPARENT = BIT0, // 1 = transparent, 0 = opaqu e
RENDER_OVERLAY = BIT1, // 1 = render to overlay RENDER_OVERLAY = BIT1, // 1 = render to overlay
RENDER_DYNAMIC = BIT2, // 1 = dynamic, 0 = static - not used yet RENDER_DYNAMIC = BIT2, // 1 = dynamic, 0 = static - not used yet
RENDER_BITS = RENDER_TRANSPARENT | RENDER_OVERLAY | RENDER_D YNAMIC, RENDER_BITS = RENDER_TRANSPARENT | RENDER_OVERLAY | RENDER_D YNAMIC,
RENDER_OPAQUE = 0, RENDER_OPAQUE = 0,
skipping to change at line 1299 skipping to change at line 1307
void reset() { void reset() {
// don't reset OCC flags here! // don't reset OCC flags here!
m_frame++; m_frame++;
m_material = MaterialEntityIndex(~0); m_material = MaterialEntityIndex(~0);
m_transform = TransformEntityIndex(~0); m_transform = TransformEntityIndex(~0);
m_lighting = LightEntityIndex(~0); m_lighting = LightEntityIndex(~0);
m_clipping = ClipPlaneEntityIndex(~0); m_clipping = ClipPlaneEntityIndex(~0);
m_sstate.m_shader = 0; m_sstate.m_shader = 0;
m_sstate.m_transform = TransformEntityIndex(~0); m_sstate.m_transform = TransformEntityIndex(~0);
m_lodState.m_transform = TransformEntityIndex(~0); m_lodState.m_transform = TransformEntityIndex(~0);
m_cullState.m_sphere.invalidate();
m_cullState.m_cc = nvsg::CC_IN;
m_statePass = NULL; m_statePass = NULL;
m_cgfx = NULL; m_cgfxState.reset();
} }
struct ShaderState struct ShaderState
{ {
nvsg::DataID m_shader; nvsg::DataID m_shader;
TransformEntityIndex m_transform; TransformEntityIndex m_transform;
}; };
struct LODState struct LODState
{ {
TransformEntityIndex m_transform; // transform last used with LOD considerations TransformEntityIndex m_transform; // transform last used with LOD considerations
nvmath::Mat44f m_modelToView; // cached modelview nvmath::Mat44f m_modelToView; // cached modelview
}; };
struct CullState
{
nvmath::Sphere3f m_sphere; // last tested sphere
nvsg::CullCode m_cc; // last cull code
};
struct CgFxState
{
CgFxState() : m_cgfx(NULL), m_fxResource(NULL), m_hasTessellation
Programs(false) {}
void reset()
{
m_cgfx = NULL;
m_fxResource = NULL;
m_hasTessellationPrograms = false;
}
nvsg::CgFxHandle * m_cgfx; // currently processed CgFX shader
nvsg::DataID m_fxResource; // identifies unique shader resource
bool m_hasTessellationPrograms;
};
enum enum
{ {
OCC_INITIALIZED = BIT0, OCC_INITIALIZED = BIT0,
OCC_RESULTS_AVAILABLE = BIT1 OCC_RESULTS_AVAILABLE = BIT1
}; };
unsigned int m_flags; unsigned int m_flags;
unsigned int m_frame; unsigned int m_frame;
MaterialEntityIndex m_material; // index to address current materi al state MaterialEntityIndex m_material; // index to address current materi al state
TransformEntityIndex m_transform; // index to address current world transform state TransformEntityIndex m_transform; // index to address current world transform state
LightEntityIndex m_lighting; // indicates current lighting stat e LightEntityIndex m_lighting; // indicates current lighting stat e
ClipPlaneEntityIndex m_clipping; // indicates current clipping stat e ClipPlaneEntityIndex m_clipping; // indicates current clipping stat e
ShaderState m_sstate; ShaderState m_sstate;
LODState m_lodState; LODState m_lodState;
CullState m_cullState;
std::vector<LightEntityIndex> m_lights; // lights visible to c urrently proceeded RenderEntity std::vector<LightEntityIndex> m_lights; // lights visible to c urrently proceeded RenderEntity
std::vector<ClipPlaneEntityIndex> m_clipPlanes; // clipping planes visible to currently proceeded RenderEntity std::vector<ClipPlaneEntityIndex> m_clipPlanes; // clipping planes visible to currently proceeded RenderEntity
nvutil::SmartPtr<nvsg::StateSetHandle> m_nullState; // serve as de fault state and pass nvutil::SmartPtr<nvsg::StateSetHandle> m_nullState; // serve as de fault state and pass
nvutil::SmartPtr<nvsg::StatePassHandle> m_nullPass; // if none is available for the processed geometry nvutil::SmartPtr<nvsg::StatePassHandle> m_nullPass; // if none is available for the processed geometry
const nvsg::StatePass * m_statePass; // currently realized state pa ss const nvsg::StatePass * m_statePass; // currently realized state pa ss
nvsg::CgFxHandle * m_cgfx; // currently processed CgFX shader
nvsg::DataID m_fxResource; // identifies unique shader resource
// used with state handling during rendering // used with state handling during rendering
std::list<nvutil::SmartPtr<nvsg::StateAttributeHandle> > m_attribs; std::list<nvutil::SmartPtr<nvsg::StateAttributeHandle> > m_attribs;
std::vector<unsigned int> m_qryNames; // reserved names std::vector<unsigned int> m_qryNames; // reserved names
std::vector<unsigned int> m_qryObjects; // instanciated queries std::vector<unsigned int> m_qryObjects; // instanciated queries
CgFxState m_cgfxState;
}; };
TraverseState m_tstate; TraverseState m_tstate;
RenderState m_rstate; RenderState m_rstate;
// internal only UserDrawable processing // internal only UserDrawable processing
void renderUserDrawable(const UserDrawable * p); void renderUserDrawable(const UserDrawable * p);
// helper // helper
skipping to change at line 1437 skipping to change at line 1469
void endOcclusionQuery(DrawableEntityIndex); void endOcclusionQuery(DrawableEntityIndex);
void startConditionalRendering(DrawableEntityIndex); void startConditionalRendering(DrawableEntityIndex);
void endConditionalRendering(DrawableEntityIndex); void endConditionalRendering(DrawableEntityIndex);
std::string statRenderList( const RenderList * renderList ) const; std::string statRenderList( const RenderList * renderList ) const;
std::string statRenderEntity( RenderEntityIndex ) const; std::string statRenderEntity( RenderEntityIndex ) const;
std::string statGeometryEntity( GeometryEntityIndex ) const; std::string statGeometryEntity( GeometryEntityIndex ) const;
std::string statDrawableEntity( DrawableEntityIndex ) const; std::string statDrawableEntity( DrawableEntityIndex ) const;
bool fixedFunction() const { return NULL == m_rstate.m_cgfx; }
// returns whether passed entity represents LOD to use // returns whether passed entity represents LOD to use
bool useLOD(const nvutil::SmartPtr<RenderEntity>& entity); bool useLOD(const nvutil::SmartPtr<RenderEntity>& entity);
unsigned int getLODToUse(const nvutil::SmartPtr<LODEntity>& lodEntity ); unsigned int getLODToUse(const nvutil::SmartPtr<LODEntity>& lodEntity );
// returns whether passed entity represents an active descendant of a child selector // returns whether passed entity represents an active descendant of a child selector
bool useChild(const nvutil::SmartPtr<RenderEntity>& entity); bool useChild(const nvutil::SmartPtr<RenderEntity>& entity);
// perform frustum and size culling on the passed-in entity's boundin g sphere. // perform frustum and size culling on the passed-in entity's boundin g sphere.
// if the entity is in object space, a model2world transformentityind ex has // if the entity is in object space, a model2world transformentityind ex has
// to be passed too to transform the entity into world space. // to be passed too to transform the entity into world space.
// trivialIn is used and updated by the frustum cull to determine and flag that an object // trivialIn is used and updated by the frustum cull to determine and flag that an object
// was completely inside the frustum (and thus objects lower in the h ierarchy don't have to be checked) // was completely inside the frustum (and thus objects lower in the h ierarchy don't have to be checked)
// the entity requires an operator->() to reference a getBoundingSphe re API // the entity requires an operator->() to reference a getBoundingSphe re API
template<typename EntityType> bool isCulled(const EntityType& entity template<typename EntityType> bool isCulled(const EntityType& entity,
, bool& trivialIn bool& trivialIn); // inner node cullin
, TransformEntityIndex mo template<typename EntityType> bool isCulled(const EntityType& entity,
del2world = TransformEntityIndex(~0)); TransformEntityIndex model2world); // leaf node culling
bool isCulled(const nvmath::Sphere3f& bsphere, bool& trivialIn); // t
est a world space bounding shere & return trivial-in status (inner node)
bool isCulled(const nvmath::Sphere3f& bsphere); // test a world space
bounding shere (leaf node)
bool isFrustumCulled(const nvmath::Sphere3f& bsphere);
bool isSizeCulled(const nvmath::Sphere3f& bsphere);
}; };
template<typename RendererType> template<typename RendererType>
inline void RenderTraverser::addObjectRenderer( unsigned int objectCode , RendererType renderer ) inline void RenderTraverser::addObjectRenderer( unsigned int objectCode , RendererType renderer )
{ {
m_mrftbl->addEntry( objectCode, renderer ); m_mrftbl->addEntry( objectCode, renderer );
} }
inline unsigned int RenderTraverser::getObjectRenderCode(const nvsg::Obje ct * obj) inline unsigned int RenderTraverser::getObjectRenderCode(const nvsg::Obje ct * obj)
{ {
 End of changes. 18 change blocks. 
20 lines changed or deleted 62 lines changed or added


 SearchTraverser.h   SearchTraverser.h 
skipping to change at line 151 skipping to change at line 151
//! Routine to handle a \link nvsg::Lines Lines \endlink object while traversing the scene graph. //! Routine to handle a \link nvsg::Lines Lines \endlink object while traversing the scene graph.
NVSG_API virtual void handleLines( NVSG_API virtual void handleLines(
const nvsg::Lines * p //!< Points to the currently visited Line s object. const nvsg::Lines * p //!< Points to the currently visited Line s object.
); );
//! Routine to handle a \link nvsg::LineStrips LineStrips \endlink ob ject while traversing the scene graph. //! Routine to handle a \link nvsg::LineStrips LineStrips \endlink ob ject while traversing the scene graph.
NVSG_API virtual void handleLineStrips( NVSG_API virtual void handleLineStrips(
const nvsg::LineStrips * p //!< Points to the currently visited Lin eStrips object. const nvsg::LineStrips * p //!< Points to the currently visited Lin eStrips object.
); );
//! Routine to handle a \link nvsg::Patches Patches \endlink object w
hile traversing the scene graph.
NVSG_API virtual void handlePatches(
const nvsg::Patches * p //!< Points to the currently visited Patche
s object.
);
//! Routine to handle a \link nvsg::Points Points \endlink object whi le traversing the scene graph. //! Routine to handle a \link nvsg::Points Points \endlink object whi le traversing the scene graph.
NVSG_API virtual void handlePoints( NVSG_API virtual void handlePoints(
const nvsg::Points * p //!< Points to the currently visited Poi nts object. const nvsg::Points * p //!< Points to the currently visited Poi nts object.
); );
//! Routine to handle a QuadMeshes object while traversing the scene graph. //! Routine to handle a QuadMeshes object while traversing the scene graph.
NVSG_API virtual void handleQuadMeshes( NVSG_API virtual void handleQuadMeshes(
const nvsg::QuadMeshes * p //!< Points to the currently visited Qua dMeshes object. const nvsg::QuadMeshes * p //!< Points to the currently visited Qua dMeshes object.
); );
//! Routine to handle a \link nvsg::QuadPatches QuadPatches \endlink
object while traversing the scene graph.
NVSG_API virtual void handleQuadPatches(
const nvsg::QuadPatches * p //!< Points to the currently visited Qu
adPatches object.
);
//! Routine to handle a \link nvsg::QuadPatches4x4 QuadPatches4x4 \en
dlink object while traversing the scene graph.
NVSG_API virtual void handleQuadPatches4x4(
const nvsg::QuadPatches4x4 * p //!< Points to the currently visited
QuadPatches4x4 object.
);
//! Routine to handle a \link nvsg::Quads Quads \endlink object while traversing the scene graph. //! Routine to handle a \link nvsg::Quads Quads \endlink object while traversing the scene graph.
NVSG_API virtual void handleQuads( NVSG_API virtual void handleQuads(
const nvsg::Quads * p //!< Points to the currently visited Quads ob ject. const nvsg::Quads * p //!< Points to the currently visited Quads ob ject.
); );
//! Routine to handle a \link nvsg::QuadStrips QuadStrips \endlink ob ject while traversing the scene graph. //! Routine to handle a \link nvsg::QuadStrips QuadStrips \endlink ob ject while traversing the scene graph.
NVSG_API virtual void handleQuadStrips( NVSG_API virtual void handleQuadStrips(
const nvsg::QuadStrips * p //!< Points to the currently visited Qua dStrips object. const nvsg::QuadStrips * p //!< Points to the currently visited Qua dStrips object.
); );
//! Routine to handle a \link nvsg::RectPatches RectPatches \endlink
object while traversing the scene graph.
NVSG_API virtual void handleRectPatches(
const nvsg::RectPatches * p //!< Points to the currently visited Re
ctPatches object.
);
//! Routine to handle a \link nvsg::Triangles Triangles \endlink obje ct while traversing the scene graph. //! Routine to handle a \link nvsg::Triangles Triangles \endlink obje ct while traversing the scene graph.
NVSG_API virtual void handleTriangles( NVSG_API virtual void handleTriangles(
const nvsg::Triangles * p //!< Points to the currently visited Tria ngles object. const nvsg::Triangles * p //!< Points to the currently visited Tria ngles object.
); );
//! Routine to handle a \link nvsg::SkinnedTriangles SkinnedTriangles \endlink object while traversing the scene graph. //! Routine to handle a \link nvsg::SkinnedTriangles SkinnedTriangles \endlink object while traversing the scene graph.
NVSG_API virtual void handleSkinnedTriangles( NVSG_API virtual void handleSkinnedTriangles(
const nvsg::SkinnedTriangles * p //!< Points to the currently visit ed SkinnedTriangles object. const nvsg::SkinnedTriangles * p //!< Points to the currently visit ed SkinnedTriangles object.
); );
//! Routine to handle a \link nvsg::TriFans TriFans \endlink object w hile traversing the scene graph. //! Routine to handle a \link nvsg::TriFans TriFans \endlink object w hile traversing the scene graph.
NVSG_API virtual void handleTriFans( NVSG_API virtual void handleTriFans(
const nvsg::TriFans * p //!< Points to the currently visited TriFan s object. const nvsg::TriFans * p //!< Points to the currently visited TriFan s object.
); );
//! Routine to handle a \link nvsg::TriPatches TriPatches \endlink ob
ject while traversing the scene graph.
NVSG_API virtual void handleTriPatches(
const nvsg::TriPatches * p //!< Points to the currently visited Tri
Patches object.
);
//! Routine to handle a \link nvsg::TriPatches4 TriPatches4 \endlink
object while traversing the scene graph.
NVSG_API virtual void handleTriPatches4(
const nvsg::TriPatches4 * p //!< Points to the currently visited Tr
iPatches4 object.
);
//! Routine to handle a \link nvsg::TriStrips TriStrips \endlink obje ct while traversing the scene graph. //! Routine to handle a \link nvsg::TriStrips TriStrips \endlink obje ct while traversing the scene graph.
NVSG_API virtual void handleTriStrips( NVSG_API virtual void handleTriStrips(
const nvsg::TriStrips * p //!< Points to the currently visited TriS trips object. const nvsg::TriStrips * p //!< Points to the currently visited TriS trips object.
); );
//! Routine to handle a \link nvsg::StateSet StateSet \endlink object while traversing the scene graph. //! Routine to handle a \link nvsg::StateSet StateSet \endlink object while traversing the scene graph.
NVSG_API virtual void handleStateSet( NVSG_API virtual void handleStateSet(
const nvsg::StateSet * p //!< Points to the currently visited State Set object. const nvsg::StateSet * p //!< Points to the currently visited State Set object.
); );
skipping to change at line 421 skipping to change at line 451
//! Search through a Node object. //! Search through a Node object.
/** This function is called when base class searching is enabled. */ /** This function is called when base class searching is enabled. */
NVSG_API virtual void search( const nvsg::Node *p //!< Node to search through NVSG_API virtual void search( const nvsg::Node *p //!< Node to search through
); );
//! Search through an Object object. //! Search through an Object object.
/** This function is called when base class searching is enabled. */ /** This function is called when base class searching is enabled. */
NVSG_API virtual void search( const nvsg::Object *p //!< Object to search through NVSG_API virtual void search( const nvsg::Object *p //!< Object to search through
); );
//! Search through a PatchesBase object.
/** This function is called when base class searching is enabled. */
NVSG_API virtual void search( const nvsg::PatchesBase *p //!<
PatchesBase to search through
);
//! Search through a PrimitiveSet object. //! Search through a PrimitiveSet object.
/** This function is called when base class searching is enabled. */ /** This function is called when base class searching is enabled. */
NVSG_API virtual void search( const nvsg::PrimitiveSet *p // !< PrimitiveSet to search through NVSG_API virtual void search( const nvsg::PrimitiveSet *p // !< PrimitiveSet to search through
); );
//! Search through a StateAttribute object. //! Search through a StateAttribute object.
/** This function is called when base class searching is enabled. */ /** This function is called when base class searching is enabled. */
NVSG_API virtual void search( const nvsg::StateAttribute *p //!< StateAttribute to search through NVSG_API virtual void search( const nvsg::StateAttribute *p //!< StateAttribute to search through
); );
 End of changes. 5 change blocks. 
0 lines changed or deleted 48 lines changed or added


 SmoothTraverser.h   SmoothTraverser.h 
skipping to change at line 51 skipping to change at line 51
NVSG_API virtual ~SmoothTraverser(void); NVSG_API virtual ~SmoothTraverser(void);
//! doApply override //! doApply override
NVSG_API virtual void doApply( nvsg::NodeHandle * root ); NVSG_API virtual void doApply( nvsg::NodeHandle * root );
//! Handle a GeoNode object. //! Handle a GeoNode object.
/** The GeoNode is the primary object to smooth. */ /** The GeoNode is the primary object to smooth. */
NVSG_API virtual void handleGeoNode( nvsg::GeoNode *p / /!< GeoNode to handle NVSG_API virtual void handleGeoNode( nvsg::GeoNode *p / /!< GeoNode to handle
); );
//! Handle a QuadPatches object.
NVSG_API virtual void handleQuadPatches( nvsg::QuadPatches *p /
/!< QuadPatches to handle
);
//! Handle a QuadPatches4x4 object.
NVSG_API virtual void handleQuadPatches4x4( nvsg::QuadPatches4x4 *p
//!< QuadPatches4x4 to handle
);
//! Handle a Quads object. //! Handle a Quads object.
NVSG_API virtual void handleQuads( nvsg::Quads *p / /!< Quads to handle NVSG_API virtual void handleQuads( nvsg::Quads *p / /!< Quads to handle
); );
//! Handle a RectPatches object.
NVSG_API virtual void handleRectPatches( nvsg::RectPatches *p /
/!< RectPatches to handle
);
//! Handle a Triangles object. //! Handle a Triangles object.
NVSG_API virtual void handleTriangles( nvsg::Triangles *p / /!< Triangles to handle NVSG_API virtual void handleTriangles( nvsg::Triangles *p / /!< Triangles to handle
); );
//! Handle a TriPatches object.
NVSG_API virtual void handleTriPatches( nvsg::TriPatches *p //!
< TriPatches to handle
);
//! Handle a TriPatches4 object.
NVSG_API virtual void handleTriPatches4( nvsg::TriPatches4 *p /
/!< TriPatches4 to handle
);
#if !defined(NDEBUG) #if !defined(NDEBUG)
//! Handle a QuadStrips object. //! Handle a QuadStrips object.
/** Just assert here; shouldn't happen at all! */ /** Just assert here; shouldn't happen at all! */
NVSG_API virtual void handleQuadStrips( nvsg::QuadStrips *p / /!< QuadStrips to handle NVSG_API virtual void handleQuadStrips( nvsg::QuadStrips *p / /!< QuadStrips to handle
); );
//! Handle a TriFans object. //! Handle a TriFans object.
/** Just assert here; shouldn't happen at all! */ /** Just assert here; shouldn't happen at all! */
NVSG_API virtual void handleTriFans( nvsg::TriFans *p / /!< TriFans to handle NVSG_API virtual void handleTriFans( nvsg::TriFans *p / /!< TriFans to handle
); );
//! Handle a TriStrips object. //! Handle a TriStrips object.
/** Just assert here; shouldn't happen at all! */ /** Just assert here; shouldn't happen at all! */
NVSG_API virtual void handleTriStrips( nvsg::TriStrips *p / /!< TriStrips to handle NVSG_API virtual void handleTriStrips( nvsg::TriStrips *p / /!< TriStrips to handle
); );
#endif #endif
/*! \brief Test whether this Object should be optimized /*! \brief Test whether this Object should be optimized
* \param p A pointer to the constant nvsg::Object to test. */ * \param p A pointer to the constant nvsg::Object to test. */
NVSG_API virtual bool optimizationAllowed( const nvsg::Object *p ); NVSG_API virtual bool optimizationAllowed( const nvsg::PrimitiveSet * p );
private: private:
void handleIndependentPrimitiveSet( nvsg::IndependentPrimitiveSet *p , unsigned int primitiveSize ); void flattenIndependentPrimitiveSet( nvsg::IndependentPrimitiveSet *p );
private: private:
float m_creaseAngle; float m_creaseAngle;
DestrippingTraverser * m_destrippingTraverser; DestrippingTraverser * m_destrippingTraverser;
std::vector<nvsg::PrimitiveSetHandle *> m_primitiveSets; std::vector<nvsg::PrimitiveSetHandle *> m_primitiveSets;
}; };
} }
 End of changes. 5 change blocks. 
2 lines changed or deleted 27 lines changed or added


 StateSet.h   StateSet.h 
skipping to change at line 466 skipping to change at line 466
NVSG_API virtual unsigned int determineHintsContainment(unsigned int which) const; NVSG_API virtual unsigned int determineHintsContainment(unsigned int which) const;
NVSG_API virtual bool determineShaderContainment() const; NVSG_API virtual bool determineShaderContainment() const;
NVSG_API virtual bool determineTransparencyContainment() const; NVSG_API virtual bool determineTransparencyContainment() const;
private: private:
VariantKey m_variantKey; VariantKey m_variantKey;
std::map<VariantKey,StateVariantHandle *> m_variants; std::map<VariantKey,StateVariantHandle *> m_variants;
}; };
/*! \brief Typedef for a map from a StateSet and a StateAttribute to a St
ateSet */
typedef std::map<std::pair<nvsg::StateSetHandle*,nvsg::StateAttributeHand
le*>,nvsg::StateSetHandle*> StateSetReplacementMap;
/*! \brief Get a StateSet, that references the same objects as a given St
ateSet and also holds a reference to the
* given StateAttribute.
* \param replacementStateSets A map from pairs of StateSet and StateAtt
ribute to StateSets that holds results
* from previous replacement opertions to reduce redundant object creati
on.
* \param sshIn The StateSet to get a replacement for.
* \param sahIn The StateAttribute to be part of the replacement StateSe
t.
* \return A StateSet that is exactly the same as \a sshIn, but also hol
ds \a sahIn in every StatePass of the
* active StateVariant.
* \remarks With this function, you get a StateSet, that is exactly the
same as the StateSet \a sshIn, but also
* holds the StateAttribute \a sahIn in every StatePass of the active St
ateVariant. Everything not in the active
* StateVariant, as well all StateAttributes are just referenced, while
the StateVariant and all its StatePasses
* are newly created.\n
* As this might be a pretty complex operation, the newly created StateS
et is stored in the StateSetReplacementMap
* \a replacementStateSets, using \a sshIn and \a sahIn as the key. If t
he same combineation of StateSet and
* StateAttribute is used with this same map again, the already created
StateSet from the map is returned. */
StateSetHandle * getReplacementStateSet( StateSetReplacementMap & replace
mentStateSets, StateSetHandle * sshIn, StateAttributeHandle * sahIn );
#if defined( _DEBUG ) #if defined( _DEBUG )
inline bool find( std::map<VariantKey,StateVariantHandle*>::const_iterato r it inline bool find( std::map<VariantKey,StateVariantHandle*>::const_iterato r it
, const std::map<VariantKey,StateVariantHandle*> &m ) , const std::map<VariantKey,StateVariantHandle*> &m )
{ {
for ( std::map<VariantKey,StateVariantHandle*>::const_iterator i = m.be gin() ; i!=m.end() ; ++i ) for ( std::map<VariantKey,StateVariantHandle*>::const_iterator i = m.be gin() ; i!=m.end() ; ++i )
{ {
if ( i == it ) if ( i == it )
{ {
return( true ); return( true );
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 34 lines changed or added


 StatisticsTraverser.h   StatisticsTraverser.h 
skipping to change at line 169 skipping to change at line 169
class StatLineStrips : public StatStrippedPrimitiveSet class StatLineStrips : public StatStrippedPrimitiveSet
{ {
public: public:
StatLineStrips() : m_numberOfSegments(0) {} StatLineStrips() : m_numberOfSegments(0) {}
public: public:
unsigned int m_numberOfSegments; unsigned int m_numberOfSegments;
}; };
class StatPatchesBase : public StatPrimitive
{
public:
StatPatchesBase() : m_numberOfPatches(0) {}
public:
unsigned int m_numberOfPatches;
};
class StatPatches : public StatPatchesBase
{
};
class StatRectPatches : public StatPatchesBase
{
};
class StatQuadPatches : public StatPatchesBase
{
};
class StatQuadPatches4x4 : public StatPatchesBase
{
};
class StatTriPatches : public StatPatchesBase
{
};
class StatTriPatches4 : public StatPatchesBase
{
};
class StatPoints : public StatPrimitive class StatPoints : public StatPrimitive
{ {
}; };
class StatQuadMeshes : public StatMeshedPrimitiveSet class StatQuadMeshes : public StatMeshedPrimitiveSet
{ {
public: public:
StatQuadMeshes() : m_numberOfFaces(0) {} StatQuadMeshes() : m_numberOfFaces(0) {}
public: public:
skipping to change at line 581 skipping to change at line 614
StatHighlightBox m_statHighlig htBox; StatHighlightBox m_statHighlig htBox;
StatHighlightEdges m_statHighlig htEdges; StatHighlightEdges m_statHighlig htEdges;
StatIndexAnimation m_statIndexAn imation; StatIndexAnimation m_statIndexAn imation;
StatLightingAttribute m_statLightin gAttribute; StatLightingAttribute m_statLightin gAttribute;
StatLinearInterpolatedTrafoAnimationDescription m_statLinearI nterpolatedTrafoAnimationDescription; StatLinearInterpolatedTrafoAnimationDescription m_statLinearI nterpolatedTrafoAnimationDescription;
StatLinearInterpolatedVertexAttributeAnimationDescription m_statLinea rInterpolatedVertexAttributeAnimationDescription; StatLinearInterpolatedVertexAttributeAnimationDescription m_statLinea rInterpolatedVertexAttributeAnimationDescription;
StatLineAttribute m_statLineAttribute; StatLineAttribute m_statLineAttribute;
StatLines m_statLines; StatLines m_statLines;
StatLineStrips m_statLineStrips; StatLineStrips m_statLineStrips;
StatLOD m_statLOD; StatLOD m_statLOD;
StatMapArray m_statMapArra StatMapArray m_statMapArray;
y; StatMapElement m_statMapElement;
StatMapElement m_statMapElem StatMapList m_statMapList;
ent; StatMapMatrix m_statMapMatrix;
StatMapList m_statMapList
;
StatMapMatrix m_statMapMatr
ix;
StatMaterial m_statMaterial; StatMaterial m_statMaterial;
StatParallelCamera m_statParallelCamera; StatParallelCamera m_statParallelCamera;
StatPatches m_statPatches;
StatPerspectiveCamera m_statPerspectiveCame ra; StatPerspectiveCamera m_statPerspectiveCame ra;
StatPointAttribute m_statPointAttribute; StatPointAttribute m_statPointAttribute;
StatPointLight m_statPointLight; StatPointLight m_statPointLight;
StatPoints m_statPoints; StatPoints m_statPoints;
StatQuadMeshes m_statQuadMeshes; StatQuadMeshes m_statQuadMeshes;
StatQuadPatches m_statQuadPatches;
StatQuadPatches4x4 m_statQuadPatches4x4;
StatQuads m_statQuads; StatQuads m_statQuads;
StatQuadStrips m_statQuadStrips; StatQuadStrips m_statQuadStrips;
StatRectPatches m_statRectPatches;
StatRTFx m_statRTFx; StatRTFx m_statRTFx;
StatRTFxProgram m_statRTFxProgram; StatRTFxProgram m_statRTFxProgram;
StatSpotLight m_statSpotLight; StatSpotLight m_statSpotLight;
StatShape m_statShape; StatShape m_statShape;
StatSkin m_statSkin; StatSkin m_statSkin;
StatSkinnedTriangles m_statSkinnedTriangle s; StatSkinnedTriangles m_statSkinnedTriangle s;
StatStatePass m_statStatePa ss; StatStatePass m_statStatePass;
StatStateSet m_statStateSet; StatStateSet m_statStateSet;
StatStateVariant m_statStateVa riant; StatStateVariant m_statStateVariant;
StatSwitch m_statSwitch; StatSwitch m_statSwitch;
StatTexture m_statTexture; StatTexture m_statTexture;
StatTextureAttribute m_statTextureAttribut e; StatTextureAttribute m_statTextureAttribut e;
StatTextureAttributeItem m_statTexture StatTextureAttributeItem m_statTextureAttribut
AttributeItem; eItem;
StatTrafoAnimation m_statTrafoAn StatTrafoAnimation m_statTrafoAnimation;
imation;
StatTransform m_statTransform; StatTransform m_statTransform;
StatTriangles m_statTriangles; StatTriangles m_statTriangles;
StatTriFans m_statTriFans; StatTriFans m_statTriFans;
StatTriPatches m_statTriPatches;
StatTriPatches4 m_statTriPatches4;
StatTriStrips m_statTriStrips; StatTriStrips m_statTriStrips;
StatVertexAttributeAnimation m_statVertexA ttributeAnimation; StatVertexAttributeAnimation m_statVertexAttribute Animation;
StatVertexAttributeSet m_statVertexAttribute Set; StatVertexAttributeSet m_statVertexAttribute Set;
StatVolumeNode m_statVolumeNode; StatVolumeNode m_statVolumeNode;
}; };
//! Traverser to record some statistics of a scene. //! Traverser to record some statistics of a scene.
class StatisticsTraverser : public nvtraverser::SharedTraverser class StatisticsTraverser : public nvtraverser::SharedTraverser
{ {
public: public:
//! Constructor //! Constructor
NVSG_API StatisticsTraverser(void); NVSG_API StatisticsTraverser(void);
skipping to change at line 653 skipping to change at line 692
NVSG_API void statMeshedPrimitiveSet( const nvsg::MeshedPrimitiveSet *p, StatMeshedPrimitiveSet &stats ); NVSG_API void statMeshedPrimitiveSet( const nvsg::MeshedPrimitiveSet *p, StatMeshedPrimitiveSet &stats );
//! Record statistics of a Node. //! Record statistics of a Node.
/** Just records the statistics of an Object. */ /** Just records the statistics of an Object. */
NVSG_API void statNode( const nvsg::Node *p, StatNode &stats ); NVSG_API void statNode( const nvsg::Node *p, StatNode &stats );
//! Record statistics of an Object. //! Record statistics of an Object.
/** Does nothing. */ /** Does nothing. */
NVSG_API void statObject( const nvsg::Object *p, StatObject &stats ) ; NVSG_API void statObject( const nvsg::Object *p, StatObject &stats ) ;
//! Record statistics of a PatchesBase.
/** Records the total number of patches. Then the statistics of a Pri
mitiveSet are recorded. */
NVSG_API void statPatchesBase( const nvsg::PatchesBase *p, StatPatch
esBase &stats );
//! Record statistics of a PrimitiveSet. //! Record statistics of a PrimitiveSet.
/** Records the statistics of the VertexAttributeSet. Then the statis tics of a Drawable are recorded. */ /** Records the statistics of the VertexAttributeSet. Then the statis tics of a Drawable are recorded. */
NVSG_API void statPrimitive( const nvsg::PrimitiveSet *p, StatPrimit ive &stats ); NVSG_API void statPrimitive( const nvsg::PrimitiveSet *p, StatPrimit ive &stats );
//! Record statistics of a Quads. //! Record statistics of a Quads.
/** Records the total number of faces. Then the statistics of a GeoSe t are recorded. */ /** Records the total number of faces. Then the statistics of a Primi tiveSet are recorded. */
NVSG_API void statQuads( const nvsg::Quads *p, StatQuads &stats ); NVSG_API void statQuads( const nvsg::Quads *p, StatQuads &stats );
//! Record statistics of a StateAttribute. //! Record statistics of a StateAttribute.
/** Just records the statistics of an Object. */ /** Just records the statistics of an Object. */
NVSG_API void statStateAttribute( const nvsg::StateAttribute *p, Sta tStateAttribute &stats ); NVSG_API void statStateAttribute( const nvsg::StateAttribute *p, Sta tStateAttribute &stats );
NVSG_API void statStrippedPrimitiveSet( const nvsg::StrippedPrimitiv eSet *p, StatStrippedPrimitiveSet &stats ); NVSG_API void statStrippedPrimitiveSet( const nvsg::StrippedPrimitiv eSet *p, StatStrippedPrimitiveSet &stats );
//! Record statistics of a Transform. //! Record statistics of a Transform.
/** Just records the statistics of a Group. */ /** Just records the statistics of a Group. */
NVSG_API void statTransform( const nvsg::Transform *p, StatTransform &stats ); NVSG_API void statTransform( const nvsg::Transform *p, StatTransform &stats );
//! Record statistics of a Triangles. //! Record statistics of a Triangles.
/** Records the total number of faces. Then the statistics of a GeoSe t are recorded. */ /** Records the total number of faces. Then the statistics of a Primi tiveSet are recorded. */
NVSG_API void statTriangles( const nvsg::Triangles *p, StatTriangles &stats ); NVSG_API void statTriangles( const nvsg::Triangles *p, StatTriangles &stats );
template<typename T> template<typename T>
void statVertexAttributeAnimation( const nvsg::Animation<T> *p, Stat VertexAttributeAnimation &stats ); void statVertexAttributeAnimation( const nvsg::Animation<T> *p, Stat VertexAttributeAnimation &stats );
//! Record statistics of a VertexAttributeSet. //! Record statistics of a VertexAttributeSet.
/** Records the number of vertices, the number of PrimitiveSet object /** Records the number of vertices, the number of PrimitiveSet object
s with normals, the number of normals, the number of s with normals, the number of
* textured GeoSet objects, the number of used texture units, the to * normals, the number of textured PrimitiveSet objects, the number
tal dimension of the textures, the total number of used texture units, the
* of texture coordinates, the number of colored GeoSet object, the * total dimension of the textures, the total number of texture coor
total number of colors, the number of secondary dinates, the number of colored
* colored GeoSet objects, the total number of secondary colors, the * PrimitiveSet object, the total number of colors, the number of se
number of fogged GeoSet objects, and the total condary colored PrimitiveSet
* number of fog coordinates. Then the statistics of an Object are * objects, the total number of secondary colors, the number of fogg
recorded. */ ed PrimitiveSet objects, and
* the total number of fog coordinates. Then the statistics of an Ob
ject are recorded. */
NVSG_API void statVertexAttributeSet( const nvsg::VertexAttributeSet *p, StatVertexAttributeSet &stats ); NVSG_API void statVertexAttributeSet( const nvsg::VertexAttributeSet *p, StatVertexAttributeSet &stats );
NVSG_API void statSkin( const nvsg::Skin *p, StatSkin &stats ); NVSG_API void statSkin( const nvsg::Skin *p, StatSkin &stats );
NVSG_API void statMapObject( const nvsg::MapObject * p, StatMapObject & stats ); NVSG_API void statMapObject( const nvsg::MapObject * p, StatMapObject & stats );
NVSG_API void statAnimationState( const nvsg::AnimationState * p, Sta tAnimationState & stats ); NVSG_API void statAnimationState( const nvsg::AnimationState * p, Sta tAnimationState & stats );
NVSG_API void statIndexAnimationDescription( const nvsg::AnimationDes cription<unsigned int> * p, StatIndexAnimationDescription & stats ); NVSG_API void statIndexAnimationDescription( const nvsg::AnimationDes cription<unsigned int> * p, StatIndexAnimationDescription & stats );
skipping to change at line 768 skipping to change at line 812
/** The number of Group objects are count. */ /** The number of Group objects are count. */
NVSG_API virtual void handleGroup( const nvsg::Group *p //!< Group to handle NVSG_API virtual void handleGroup( const nvsg::Group *p //!< Group to handle
); );
//! Handle a LineAttribute object. //! Handle a LineAttribute object.
/** The number of LineAttribute objects is count. Then the statistics of a StateAttribute are recorded. */ /** The number of LineAttribute objects is count. Then the statistics of a StateAttribute are recorded. */
NVSG_API virtual void handleLineAttribute( const nvsg::LineAttribute *p //!< LineAttribute to handle NVSG_API virtual void handleLineAttribute( const nvsg::LineAttribute *p //!< LineAttribute to handle
); );
//! Handle a Lines object. //! Handle a Lines object.
/** The number of Lines objects and the total number of lines are cou /** The number of Lines objects and the total number of lines are cou
nt. Then the statistics of a GeoSet are nt. Then the statistics of a
* recorded. */ * PrimitiveSet are recorded. */
NVSG_API virtual void handleLines( const nvsg::Lines *p //!< Lines to handle NVSG_API virtual void handleLines( const nvsg::Lines *p //!< Lines to handle
); );
//! Handle a LineStrips object. //! Handle a LineStrips object.
/** The number of LineStrips objects and the total number of segments /** The number of LineStrips objects and the total number of segments
are count. Then the statistics of a GeoSet are are count. Then the statistics
* recorded. */ * of a PrimitiveSet are recorded. */
NVSG_API virtual void handleLineStrips( const nvsg::LineStrips *p //!< LineStrips to handle NVSG_API virtual void handleLineStrips( const nvsg::LineStrips *p //!< LineStrips to handle
); );
//! Handle a LOD object. //! Handle a LOD object.
/** The number of LOD objects is counted. Then the statistics of a Gr oup is recorded. */ /** The number of LOD objects is counted. Then the statistics of a Gr oup is recorded. */
NVSG_API virtual void handleLOD( const nvsg::LOD *p / /!< LOD to save NVSG_API virtual void handleLOD( const nvsg::LOD *p / /!< LOD to save
); );
//! Handle a Material object. //! Handle a Material object.
/** The number of Material objects and the number of transparent mate rials are count. Then the statistics of a /** The number of Material objects and the number of transparent mate rials are count. Then the statistics of a
* StateAttribute are recorded. */ * StateAttribute are recorded. */
NVSG_API virtual void handleMaterial( const nvsg::Material *p //!< Material to handle NVSG_API virtual void handleMaterial( const nvsg::Material *p //!< Material to handle
); );
//! Handle a ParallelCamera object. //! Handle a ParallelCamera object.
/** The number of ParallelCamera objects is counted. Then the statist ics of a Camera is recoreded. */ /** The number of ParallelCamera objects is counted. Then the statist ics of a Camera is recoreded. */
NVSG_API virtual void handleParallelCamera( const nvsg::ParallelCame ra *p //!< ParallelCamera to handle NVSG_API virtual void handleParallelCamera( const nvsg::ParallelCame ra *p //!< ParallelCamera to handle
); );
//! Handle a Patches object.
/** The number of Patches objects and the total number of patches are
count. Then the statistics of
* a PrimitiveSet are recorded. */
NVSG_API virtual void handlePatches( const nvsg::Patches *p
//!< Patches to handle
);
//! Handle a PerspectiveCamera object. //! Handle a PerspectiveCamera object.
/** The number of PerspectiveCamera objects is counted. Then the stat istics of a Camera is recoreded. */ /** The number of PerspectiveCamera objects is counted. Then the stat istics of a Camera is recoreded. */
NVSG_API virtual void handlePerspectiveCamera( const nvsg::Perspecti veCamera *p //!< PerspectiveCamera to handle NVSG_API virtual void handlePerspectiveCamera( const nvsg::Perspecti veCamera *p //!< PerspectiveCamera to handle
); );
//! Handle a PointAttribute object. //! Handle a PointAttribute object.
/** The number of PointAttribute objects is count. Then the statistic s of a StateAttribute are recorded. */ /** The number of PointAttribute objects is count. Then the statistic s of a StateAttribute are recorded. */
NVSG_API virtual void handlePointAttribute( const nvsg::PointAttribu te *p //!< PointAttribute to handle NVSG_API virtual void handlePointAttribute( const nvsg::PointAttribu te *p //!< PointAttribute to handle
); );
//! Handle a PointLight object. //! Handle a PointLight object.
/** The number of PointLight objects and the number of attenuated Poi ntLight objects are count. The the statistics /** The number of PointLight objects and the number of attenuated Poi ntLight objects are count. The the statistics
* of a LightSource is recorded. */ * of a LightSource is recorded. */
NVSG_API virtual void handlePointLight( const nvsg::PointLight *p //!< PointLight to handle NVSG_API virtual void handlePointLight( const nvsg::PointLight *p //!< PointLight to handle
); );
//! Handle a Points object. //! Handle a Points object.
/** The number of Points objects are count. Then the statistics of a GeoSet are recorded. */ /** The number of Points objects are count. Then the statistics of a PrimitiveSet are recorded. */
NVSG_API virtual void handlePoints( const nvsg::Points *p //!< Points to handle NVSG_API virtual void handlePoints( const nvsg::Points *p //!< Points to handle
); );
//! Handle a QuadMeshes object. //! Handle a QuadMeshes object.
/** The number of QuadMeshes objects and the total number of faces ar /** The number of QuadMeshes objects and the total number of faces ar
e count. Then the statistics of a GeoSet are e count. Then the statistics of
* recorded. */ * a PrimitiveSet are recorded. */
NVSG_API virtual void handleQuadMeshes( const nvsg::QuadMeshes *p //!< QuadMeshes to handle NVSG_API virtual void handleQuadMeshes( const nvsg::QuadMeshes *p //!< QuadMeshes to handle
); );
//! Handle a QuadPatches object.
/** The number of QuadPatches objects and the total number of patches
are count. Then the statistics
* of a PrimitiveSet are recorded. */
NVSG_API virtual void handleQuadPatches( const nvsg::QuadPatches *p
//!< QuadPatches to handle
);
//! Handle a QuadPatches4x4 object.
/** The number of QuadPatches4x4 objects and the total number of patc
hes are count. Then the
* statistics of a PrimitiveSet are recorded. */
NVSG_API virtual void handleQuadPatches4x4( const nvsg::QuadPatches4
x4 *p //!< QuadPatches4x4 to handle
);
//! Handle a Quads object. //! Handle a Quads object.
/** The number of Quads objects and the total number of faces are cou /** The number of Quads objects and the total number of faces are cou
nt. Then the statistics of a GeoSet are nt. Then the statistics of a
* recorded. */ * PrimitiveSet are recorded. */
NVSG_API virtual void handleQuads( const nvsg::Quads *p //!< Quads to handle NVSG_API virtual void handleQuads( const nvsg::Quads *p //!< Quads to handle
); );
//! Handle a QuadStrips object. //! Handle a QuadStrips object.
/** The number of QuadStrips objects and the total number of faces ar /** The number of QuadStrips objects and the total number of faces ar
e count. Then the statistics of a GeoSet are e count. Then the statistics of
* recorded. */ * a PrimitiveSet are recorded. */
NVSG_API virtual void handleQuadStrips( const nvsg::QuadStrips *p //!< QuadStrips to handle NVSG_API virtual void handleQuadStrips( const nvsg::QuadStrips *p //!< QuadStrips to handle
); );
//! Handle a RectPatches object.
/** The number of RectPatches objects and the total number of patches
are count. Then the statistics
* of a PrimitiveSet are recorded. */
NVSG_API virtual void handleRectPatches( const nvsg::RectPatches *p
//!< RectPatches to handle
);
NVSG_API virtual void handleRTFx( const nvsg::RTFx * p ); NVSG_API virtual void handleRTFx( const nvsg::RTFx * p );
NVSG_API virtual void handleRTFxProgram( const nvsg::RTFxProgram * p ); NVSG_API virtual void handleRTFxProgram( const nvsg::RTFxProgram * p );
//! Handle a SkinnedTriangles object. //! Handle a SkinnedTriangles object.
/** The number of SkinnedTriangles objects and the total number of sk ins are count. The the statistics of a Triangles /** The number of SkinnedTriangles objects and the total number of sk ins are count. The the statistics of a Triangles
* are recorded. */ * are recorded. */
NVSG_API virtual void handleSkinnedTriangles( const nvsg::SkinnedTri angles *p //!< SkinnedTriangles to handle NVSG_API virtual void handleSkinnedTriangles( const nvsg::SkinnedTri angles *p //!< SkinnedTriangles to handle
); );
skipping to change at line 877 skipping to change at line 945
* are count. Then the statistics of a StateAttribute is recorded. * / * are count. Then the statistics of a StateAttribute is recorded. * /
NVSG_API virtual void handleTextureAttribute( const nvsg::TextureAtt ribute *p //!< TextureAttribute to handle NVSG_API virtual void handleTextureAttribute( const nvsg::TextureAtt ribute *p //!< TextureAttribute to handle
); );
//! Handle a Transform object. //! Handle a Transform object.
/** The number of Transform objects are count. Then the statistics of a Group is recorded. */ /** The number of Transform objects are count. Then the statistics of a Group is recorded. */
NVSG_API virtual void handleTransform( const nvsg::Transform *p //!< Transform to handle NVSG_API virtual void handleTransform( const nvsg::Transform *p //!< Transform to handle
); );
//! Handle a Triangles object. //! Handle a Triangles object.
/** The number of Triangles objects and the total number of faces are /** The number of Triangles objects and the total number of faces are
count. Then the statistics of a GeoSet are count. Then the statistics of
* recorded. */ * a PrimitiveSet are recorded. */
NVSG_API virtual void handleTriangles( const nvsg::Triangles *p //!< Triangles to handle NVSG_API virtual void handleTriangles( const nvsg::Triangles *p //!< Triangles to handle
); );
//! Handle a TriFans object. //! Handle a TriFans object.
/** The number of TriFans objects and the total number of faces are c /** The number of TriFans objects and the total number of faces are c
ount. Then the statistics of a GeoSet are ount. Then the statistics of a
* recorded. */ * PrimitiveSet are recorded. */
NVSG_API virtual void handleTriFans( const nvsg::TriFans *p //!< TriFans to handle NVSG_API virtual void handleTriFans( const nvsg::TriFans *p //!< TriFans to handle
); );
//! Handle a TriPatches object.
/** The number of TriPatches objects and the total number of patches
are count. Then the statistics
* of a PrimitiveSet are recorded. */
NVSG_API virtual void handleTriPatches( const nvsg::TriPatches *p
//!< TriPatches to handle
);
//! Handle a TriPatches4 object.
/** The number of TriPatches4 objects and the total number of patches
are count. Then the statistics
* of a PrimitiveSet are recorded. */
NVSG_API virtual void handleTriPatches4( const nvsg::TriPatches4 *p
//!< TriPatches4 to handle
);
//! Handle a TriStrips object. //! Handle a TriStrips object.
/** The number of TriStrips objects and the total number of faces are /** The number of TriStrips objects and the total number of faces are
count. Then the statistics of a GeoSet are count. Then the statistics of
* recorded. */ * a PrimitiveSet are recorded. */
NVSG_API virtual void handleTriStrips( const nvsg::TriStrips *p //!< TriStrips to handle NVSG_API virtual void handleTriStrips( const nvsg::TriStrips *p //!< TriStrips to handle
); );
NVSG_API virtual void handleVertexAttributeSet( const nvsg::VertexAt tributeSet *p ); NVSG_API virtual void handleVertexAttributeSet( const nvsg::VertexAt tributeSet *p );
NVSG_API virtual void handleVolumeNode( const nvsg::VolumeNode *p ); NVSG_API virtual void handleVolumeNode( const nvsg::VolumeNode *p );
NVSG_API virtual void handleShape( const nvsg::Shape * shape ); NVSG_API virtual void handleShape( const nvsg::Shape * shape );
NVSG_API virtual void handleStateVariant( const nvsg::StateVariant * variant ); NVSG_API virtual void handleStateVariant( const nvsg::StateVariant * variant );
 End of changes. 28 change blocks. 
53 lines changed or deleted 143 lines changed or added


 StrippingTraverser.h   StrippingTraverser.h 
skipping to change at line 73 skipping to change at line 73
NVSG_API virtual void handleAnimatedVertexAttributeSet( nvsg::Animate dVertexAttributeSet * p ); NVSG_API virtual void handleAnimatedVertexAttributeSet( nvsg::Animate dVertexAttributeSet * p );
//! Set the complexVAS flag to true, to prevent stripping Primitives holding a Skin. //! Set the complexVAS flag to true, to prevent stripping Primitives holding a Skin.
NVSG_API virtual void handleSkin( nvsg::Skin * p ); NVSG_API virtual void handleSkin( nvsg::Skin * p );
/*! \brief Test whether this Object should be optimized /*! \brief Test whether this Object should be optimized
* \param p A pointer to the constant nvsg::Object to test. */ * \param p A pointer to the constant nvsg::Object to test. */
NVSG_API virtual bool optimizationAllowed( const nvsg::Object *p ); NVSG_API virtual bool optimizationAllowed( const nvsg::Object *p );
private: private:
void addQuadStrip( const std::list<unsigned int> &vertexList, std: std::pair<nvsg::QuadsHandle*,nvsg::QuadStripsHandle*> createQuadS
:vector<nvsg::IndexSet> &strips tripsFromQuads( nvsg::QuadsHandle *p );
, nvsg::IndexSet &quads ); std::pair<nvsg::TrianglesHandle*,nvsg::TriStripsHandle*> createTriSt
void addTriStrip( const std::list<unsigned int> &vertexList, std:: ripsFromTriangles( nvsg::TrianglesHandle *p );
vector<nvsg::IndexSet> &strips
, nvsg::IndexSet &triangles );
void connectFaces( const unsigned int *indices, unsigned int fi, u
nsigned int ps
, unsigned int i0, unsigned int i1
, const std::vector<std::list<unsigned int> > &ve
rticesToFaceLists
, std::vector<unsigned int> &faceConnections );
void copyVertexAttributeData( nvsg::VertexAttributeSetHandle *from
, nvsg::VertexAttributeSetHandle *to
, std::vector<nvsg::IndexSet> &strips
);
void copyVertexAttributeData( nvsg::VertexAttributeSetHandle *from
, nvsg::VertexAttributeSetHandle *to
, nvsg::IndexSet &indices );
void cutConnections( const std::list<unsigned int> &list, unsigned
int vpf
, std::vector<std::set<unsigned int> > &faceSet
s
, std::vector<unsigned int> &faceConnections
, std::vector<unsigned int> &faceConnectionCoun
ts );
void determineList( const nvsg::Face3 *faces, unsigned int fi, uns
igned int le
, std::list<unsigned int> &faceList
, const std::vector<unsigned int> &faceConnectio
ns
, std::list<unsigned int> &vertexList );
void determineList( const nvsg::Face4 *faces, unsigned int fi, uns
igned int le
, std::list<unsigned int> &faceList
, const std::vector<unsigned int> &faceConnectio
ns
, std::list<unsigned int> &vertexList );
unsigned int getNextFaceIndex( const unsigned int *indices, unsigned
int primitiveSize
, std::vector<std::set<unsigned int> > &
faceSets
, nvsg::IndexSet &faces );
void prepareStripping( const nvsg::IndependentPrimitiveSet *p, uns
igned int primitiveSize
, std::vector<unsigned int> &faceConnections
, std::vector<unsigned int> &faceConnectionCo
unts
, std::vector<std::set<unsigned int> > &faceS
ets );
std::pair<nvsg::QuadsHandle*,nvsg::QuadStripsHandle*> createQuadStrip
sFromQuads( nvsg::QuadsHandle *p );
std::pair<nvsg::TrianglesHandle*,nvsg::TriStripsHandle*> createTri
StripsFromTriangles( nvsg::TrianglesHandle *p );
private: private:
unsigned int m_minimalQuadStrip; unsigned int m_minimalQuadStrip;
unsigned int m_minimalTriStrip; unsigned int m_minimalTriStrip;
bool m_containsComplexVAS; bool m_containsComplexVAS;
std::vector<nvsg::QuadsHandle *> m_quads; std::vector<nvsg::QuadsHandle *> m_quads;
std::vector<nvsg::TrianglesHandle*> m_triangles; std::vector<nvsg::TrianglesHandle*> m_triangles;
std::map<nvsg::QuadsHandle*,std::pair<nvsg::QuadsHandle*,nvsg::QuadSt ripsHandle*> > m_quadsToQuadStrips; std::map<nvsg::QuadsHandle*,std::pair<nvsg::QuadsHandle*,nvsg::QuadSt ripsHandle*> > m_quadsToQuadStrips;
std::map<nvsg::TrianglesHandle*,std::pair<nvsg::TrianglesHandle*,nvsg ::TriStripsHandle*> > m_trianglesToTriStrips; std::map<nvsg::TrianglesHandle*,std::pair<nvsg::TrianglesHandle*,nvsg ::TriStripsHandle*> > m_trianglesToTriStrips;
 End of changes. 1 change blocks. 
55 lines changed or deleted 4 lines changed or added


 TextureImage.h   TextureImage.h 
skipping to change at line 1253 skipping to change at line 1253
NVSG_TRACE(); NVSG_TRACE();
return getBytesPerPixel()==4 ? 4 : 1; return getBytesPerPixel()==4 ? 4 : 1;
} }
inline bool TextureImage::is1D() const inline bool TextureImage::is1D() const
{ {
NVSG_TRACE(); NVSG_TRACE();
return ( 1==m_images.size() return ( 1==m_images.size()
&& 1==m_images[0][0].m_depth && 1==m_images[0][0].m_depth
&& 1==m_images[0][0].m_height && 1==m_images[0][0].m_height
&& 1<m_images[0][0].m_width ); && 1<=m_images[0][0].m_width );
} }
inline bool TextureImage::is2D() const inline bool TextureImage::is2D() const
{ {
NVSG_TRACE(); NVSG_TRACE();
return ( 1==m_images.size() return ( 1==m_images.size()
&& 1==m_images[0][0].m_depth && 1==m_images[0][0].m_depth
&& 1<m_images[0][0].m_width && 1<=m_images[0][0].m_width
&& 1<m_images[0][0].m_height ); && 1<=m_images[0][0].m_height );
} }
inline bool TextureImage::is3D() const inline bool TextureImage::is3D() const
{ {
NVSG_TRACE(); NVSG_TRACE();
return ( 1==m_images.size() return ( 1==m_images.size()
&& 1<m_images[0][0].m_depth && 1<=m_images[0][0].m_depth
&& 1<m_images[0][0].m_width && 1<=m_images[0][0].m_width
&& 1<m_images[0][0].m_height ); && 1<=m_images[0][0].m_height );
} }
inline bool TextureImage::is2DArray() const inline bool TextureImage::is2DArray() const
{ {
// Will conflict with cube map if you have the user // Will conflict with cube map if you have the user
// has defined an array of 6 square textures. Not sure // has defined an array of 6 square textures. Not sure
// how to handle this. // how to handle this.
NVSG_TRACE(); NVSG_TRACE();
// must have at least 2 images to identify as array. // must have at least 2 images to identify as array.
if( 1 < m_images.size() if( 1 < m_images.size()
&& 1==m_images[0][0].m_depth && 1==m_images[0][0].m_depth
&& 1<m_images[0][0].m_width && 1<=m_images[0][0].m_width
&& 1<m_images[0][0].m_height ) && 1<=m_images[0][0].m_height )
{ {
unsigned int width = m_images[0][0].m_width; unsigned int width = m_images[0][0].m_width;
unsigned int height = m_images[0][0].m_height; unsigned int height = m_images[0][0].m_height;
for(unsigned int i=1; i<m_images.size(); i++ ) for(unsigned int i=1; i<m_images.size(); i++ )
{ {
if( m_images[i][0].m_width != width || if( m_images[i][0].m_width != width ||
m_images[i][0].m_height != height || m_images[i][0].m_height != height ||
m_images[i][0].m_depth != 1 ) m_images[i][0].m_depth != 1 )
{ {
skipping to change at line 1315 skipping to change at line 1315
return false; return false;
} }
} }
inline bool TextureImage::is1DArray() const inline bool TextureImage::is1DArray() const
{ {
NVSG_TRACE(); NVSG_TRACE();
// must have at least 2 images to identify as array. // must have at least 2 images to identify as array.
if( 1 < m_images.size() if( 1 < m_images.size()
&& 1==m_images[0][0].m_depth && 1==m_images[0][0].m_depth
&& 1<m_images[0][0].m_width && 1<=m_images[0][0].m_width
&& 1==m_images[0][0].m_height ) && 1==m_images[0][0].m_height )
{ {
unsigned int width = m_images[0][0].m_width; unsigned int width = m_images[0][0].m_width;
for(unsigned int i=1; i<m_images.size(); i++ ) for(unsigned int i=1; i<m_images.size(); i++ )
{ {
if( m_images[i][0].m_width != width || if( m_images[i][0].m_width != width ||
m_images[i][0].m_height != 1 || m_images[i][0].m_height != 1 ||
m_images[i][0].m_depth != 1 ) m_images[i][0].m_depth != 1 )
{ {
skipping to change at line 1343 skipping to change at line 1343
{ {
return false; return false;
} }
} }
inline bool TextureImage::isCubeMap() const inline bool TextureImage::isCubeMap() const
{ {
NVSG_TRACE(); NVSG_TRACE();
if ( 6==m_images.size() if ( 6==m_images.size()
&& 1==m_images[0][0].m_depth && 1==m_images[0][0].m_depth
&& 1<m_images[0][0].m_width && 1<=m_images[0][0].m_width
&& 1<m_images[0][0].m_height && 1<=m_images[0][0].m_height
// must be square // must be square
&& m_images[0][0].m_width == m_images[0][0].m_height ) && m_images[0][0].m_width == m_images[0][0].m_height )
{ {
unsigned int width = m_images[0][0].m_width; unsigned int width = m_images[0][0].m_width;
for(unsigned int i=1; i<m_images.size(); i++ ) for(unsigned int i=1; i<m_images.size(); i++ )
{ {
if( m_images[i][0].m_width != width || if( m_images[i][0].m_width != width ||
m_images[i][0].m_height != width || m_images[i][0].m_height != width ||
m_images[i][0].m_depth != 1 ) m_images[i][0].m_depth != 1 )
 End of changes. 6 change blocks. 
11 lines changed or deleted 11 lines changed or added


 Traverser.h   Traverser.h 
skipping to change at line 674 skipping to change at line 674
* \param gnode A pointer to the read-locked GeoNode being traversed . * \param gnode A pointer to the read-locked GeoNode being traversed .
* \remarks This function is called from the framework whenever a Ge oNode is encountered on * \remarks This function is called from the framework whenever a Ge oNode is encountered on
* traversal. The GeoNode \a gnode is already read-locked.\n * traversal. The GeoNode \a gnode is already read-locked.\n
* The base implementation just calls Traverser::traverseGeoNode(). * The base implementation just calls Traverser::traverseGeoNode().
* \note When this function is overloaded by a traverser derived fro m SharedTraverser, it is * \note When this function is overloaded by a traverser derived fro m SharedTraverser, it is
* recommended to always call the base class implementation in order to properly continue * recommended to always call the base class implementation in order to properly continue
* traversal. * traversal.
* \sa traverseGeoNode */ * \sa traverseGeoNode */
NVSG_API virtual void handleGeoNode( const nvsg::GeoNode * gnode ); NVSG_API virtual void handleGeoNode( const nvsg::GeoNode * gnode );
/*! \brief Handler function for a Patches.
* \param patches A pointer to the read-locked Patches being travers
ed.
* \remarks This function is called from the framework whenever a Pa
tches is encountered on
* traversal. The Patches \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handlePatches( const nvsg::Patches * patches );
/*! \brief Handler function for a RectPatches.
* \param patches A pointer to the read-locked RectPatches being tra
versed.
* \remarks This function is called from the framework whenever a Re
ctPatches is encountered on
* traversal. The RectPatches \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleRectPatches( const nvsg::RectPatches * pa
tches );
/*! \brief Handler function for a QuadPatches.
* \param patches A pointer to the read-locked QuadPatches being tra
versed.
* \remarks This function is called from the framework whenever a Qu
adPatches is encountered on
* traversal. The QuadPatches \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleQuadPatches( const nvsg::QuadPatches * pa
tches );
/*! \brief Handler function for a QuadPatches4x4.
* \param patches A pointer to the read-locked QuadPatches4x4 being
traversed.
* \remarks This function is called from the framework whenever a Qu
adPatches4x4 is encountered
* on traversal. The QuadPatches4x4 \a patches is already read-locke
d.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleQuadPatches4x4( const nvsg::QuadPatches4x
4 * patches );
/*! \brief Handler function for a Quads. /*! \brief Handler function for a Quads.
* \param quads A pointer to the read-locked Quads being traversed. * \param quads A pointer to the read-locked Quads being traversed.
* \remarks This function is called from the framework whenever a Qu ads is encountered on * \remarks This function is called from the framework whenever a Qu ads is encountered on
* traversal. The Quads \a quads is already read-locked.\n * traversal. The Quads \a quads is already read-locked.\n
* The base implementation just calls traversePrimitiveSet(). * The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro m SharedTraverser, it is * \note When this function is overloaded by a traverser derived fro m SharedTraverser, it is
* recommended to always call the base class implementation in order to properly continue * recommended to always call the base class implementation in order to properly continue
* traversal. * traversal.
* \sa traversePrimitiveSet */ * \sa traversePrimitiveSet */
NVSG_API virtual void handleQuads( const nvsg::Quads * quads ); NVSG_API virtual void handleQuads( const nvsg::Quads * quads );
skipping to change at line 763 skipping to change at line 807
* \param fans A pointer to the read-locked TriFans being traversed. * \param fans A pointer to the read-locked TriFans being traversed.
* \remarks This function is called from the framework whenever a Tr iFans is encountered on * \remarks This function is called from the framework whenever a Tr iFans is encountered on
* traversal. The TriFans \a fans is already read-locked.\n * traversal. The TriFans \a fans is already read-locked.\n
* The base implementation just calls traversePrimitiveSet(). * The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro m SharedTraverser, it is * \note When this function is overloaded by a traverser derived fro m SharedTraverser, it is
* recommended to always call the base class implementation in order to properly continue * recommended to always call the base class implementation in order to properly continue
* traversal. * traversal.
* \sa traversePrimitiveSet */ * \sa traversePrimitiveSet */
NVSG_API virtual void handleTriFans( const nvsg::TriFans * fans ); NVSG_API virtual void handleTriFans( const nvsg::TriFans * fans );
/*! \brief Handler function for a TriPatches.
* \param patches A pointer to the read-locked TriPatches being trav
ersed.
* \remarks This function is called from the framework whenever a Tr
iPatches is encountered on
* traversal. The TriPatches \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleTriPatches( const nvsg::TriPatches * patc
hes );
/*! \brief Handler function for a TriPatches4.
* \param patches A pointer to the read-locked TriPatches4 being tra
versed.
* \remarks This function is called from the framework whenever a Tr
iPatches4 is encountered on
* traversal. The TriPatches4 \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleTriPatches4( const nvsg::TriPatches4 * pa
tches );
/*! \brief Handler function for a TriStrips. /*! \brief Handler function for a TriStrips.
* \param strips A pointer to the read-locked TriStrips being traver sed. * \param strips A pointer to the read-locked TriStrips being traver sed.
* \remarks This function is called from the framework whenever a Tr iStrips is encountered on * \remarks This function is called from the framework whenever a Tr iStrips is encountered on
* traversal. The TriStrips \a strips is already read-locked.\n * traversal. The TriStrips \a strips is already read-locked.\n
* The base implementation just calls traversePrimitiveSet(). * The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro m SharedTraverser, it is * \note When this function is overloaded by a traverser derived fro m SharedTraverser, it is
* recommended to always call the base class implementation in order to properly continue * recommended to always call the base class implementation in order to properly continue
* traversal. * traversal.
* \sa traversePrimitiveSet */ * \sa traversePrimitiveSet */
NVSG_API virtual void handleTriStrips( const nvsg::TriStrips * strips ); NVSG_API virtual void handleTriStrips( const nvsg::TriStrips * strips );
skipping to change at line 1501 skipping to change at line 1567
* \param gnode A pointer to the write-locked GeoNode being traverse d. * \param gnode A pointer to the write-locked GeoNode being traverse d.
* \remarks This function is called from the framework whenever a Ge oNode is encountered on * \remarks This function is called from the framework whenever a Ge oNode is encountered on
* traversal. The GeoNode \a gnode is already write-locked.\n * traversal. The GeoNode \a gnode is already write-locked.\n
* The base implementation just calls Traverser::traverseGeoNode(). * The base implementation just calls Traverser::traverseGeoNode().
* \note When this function is overloaded by a traverser derived fro m ExclusiveTraverser, it * \note When this function is overloaded by a traverser derived fro m ExclusiveTraverser, it
* is recommended to always call the base class implementation in or der to properly continue * is recommended to always call the base class implementation in or der to properly continue
* traversal. * traversal.
* \sa traverseGeoNode */ * \sa traverseGeoNode */
NVSG_API virtual void handleGeoNode( nvsg::GeoNode * gnode ); NVSG_API virtual void handleGeoNode( nvsg::GeoNode * gnode );
/*! \brief Handler function for a Patches.
* \param patches A pointer to the read-locked Patches being travers
ed.
* \remarks This function is called from the framework whenever a Pa
tches is encountered on
* traversal. The Patches \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handlePatches( nvsg::Patches * patches );
/*! \brief Handler function for a RectPatches.
* \param patches A pointer to the read-locked RectPatches being tra
versed.
* \remarks This function is called from the framework whenever a Re
ctPatches is encountered on
* traversal. The RectPatches \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleRectPatches( nvsg::RectPatches * patches
);
/*! \brief Handler function for a QuadPatches.
* \param patches A pointer to the read-locked QuadPatches being tra
versed.
* \remarks This function is called from the framework whenever a Qu
adPatches is encountered on
* traversal. The QuadPatches \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleQuadPatches( nvsg::QuadPatches * patches
);
/*! \brief Handler function for a QuadPatches4x4.
* \param patches A pointer to the read-locked QuadPatches4x4 being
traversed.
* \remarks This function is called from the framework whenever a Qu
adPatches4x4 is encountered
* on traversal. The QuadPatches4x4 \a patches is already read-locke
d.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleQuadPatches4x4( nvsg::QuadPatches4x4 * pa
tches );
/*! \brief Handler function for a Quads. /*! \brief Handler function for a Quads.
* \param quads A pointer to the write-locked Quads being traversed. * \param quads A pointer to the write-locked Quads being traversed.
* \remarks This function is called from the framework whenever a Qu ads is encountered on * \remarks This function is called from the framework whenever a Qu ads is encountered on
* traversal. The Quads \a quads is already write-locked.\n * traversal. The Quads \a quads is already write-locked.\n
* The base implementation just calls traversePrimitiveSet(). * The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro m ExclusiveTraverser, it * \note When this function is overloaded by a traverser derived fro m ExclusiveTraverser, it
* is recommended to always call the base class implementation in or der to properly continue * is recommended to always call the base class implementation in or der to properly continue
* traversal. * traversal.
* \sa traversePrimitiveSet */ * \sa traversePrimitiveSet */
NVSG_API virtual void handleQuads( nvsg::Quads * quads ); NVSG_API virtual void handleQuads( nvsg::Quads * quads );
skipping to change at line 1590 skipping to change at line 1700
* \param fans A pointer to the write-locked TriFans being traversed . * \param fans A pointer to the write-locked TriFans being traversed .
* \remarks This function is called from the framework whenever a Tr iFans is encountered on * \remarks This function is called from the framework whenever a Tr iFans is encountered on
* traversal. The TriFans \a fans is already write-locked.\n * traversal. The TriFans \a fans is already write-locked.\n
* The base implementation just calls traversePrimitiveSet(). * The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro m ExclusiveTraverser, it * \note When this function is overloaded by a traverser derived fro m ExclusiveTraverser, it
* is recommended to always call the base class implementation in or der to properly continue * is recommended to always call the base class implementation in or der to properly continue
* traversal. * traversal.
* \sa traversePrimitiveSet */ * \sa traversePrimitiveSet */
NVSG_API virtual void handleTriFans( nvsg::TriFans * fans ); NVSG_API virtual void handleTriFans( nvsg::TriFans * fans );
/*! \brief Handler function for a TriPatches.
* \param patches A pointer to the read-locked TriPatches being trav
ersed.
* \remarks This function is called from the framework whenever a Tr
iPatches is encountered on
* traversal. The TriPatches \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleTriPatches( nvsg::TriPatches * patches );
/*! \brief Handler function for a TriPatches4.
* \param patches A pointer to the read-locked TriPatches4 being tra
versed.
* \remarks This function is called from the framework whenever a Tr
iPatches4 is encountered on
* traversal. The TriPatches4 \a patches is already read-locked.\n
* The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro
m SharedTraverser, it is
* recommended to always call the base class implementation in order
to properly continue
* traversal.
* \sa traversePrimitiveSet */
NVSG_API virtual void handleTriPatches4( nvsg::TriPatches4 * patches
);
/*! \brief Handler function for a TriStrips. /*! \brief Handler function for a TriStrips.
* \param strips A pointer to the write-locked TriStrips being trave rsed. * \param strips A pointer to the write-locked TriStrips being trave rsed.
* \remarks This function is called from the framework whenever a Tr iStrips is encountered on * \remarks This function is called from the framework whenever a Tr iStrips is encountered on
* traversal. The TriStrips \a strips is already write-locked.\n * traversal. The TriStrips \a strips is already write-locked.\n
* The base implementation just calls traversePrimitiveSet(). * The base implementation just calls traversePrimitiveSet().
* \note When this function is overloaded by a traverser derived fro m ExclusiveTraverser, it * \note When this function is overloaded by a traverser derived fro m ExclusiveTraverser, it
* is recommended to always call the base class implementation in or der to properly continue * is recommended to always call the base class implementation in or der to properly continue
* traversal. * traversal.
* \sa traversePrimitiveSet */ * \sa traversePrimitiveSet */
NVSG_API virtual void handleTriStrips( nvsg::TriStrips * strips ); NVSG_API virtual void handleTriStrips( nvsg::TriStrips * strips );
 End of changes. 4 change blocks. 
0 lines changed or deleted 191 lines changed or added


 UnifyTraverser.h   UnifyTraverser.h 
skipping to change at line 165 skipping to change at line 165
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleLines( nvsg::Lines * lines ); NVSG_API virtual void handleLines( nvsg::Lines * lines );
/*! \brief Overload of the \link ExclusiveTraverser::handleLineStrips handleLineStrips \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleLineStrips handleLineStrips \endlink method.
* \param strips A pointer to the write-locked \link nvsg::LineStrip s LineStrips \endlink to * \param strips A pointer to the write-locked \link nvsg::LineStrip s LineStrips \endlink to
* handle. * handle.
* \remarks After traversing \a strips, it is unified if unification of \link * \remarks After traversing \a strips, it is unified if unification of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleLineStrips( nvsg::LineStrips * strips ); NVSG_API virtual void handleLineStrips( nvsg::LineStrips * strips );
/*! \brief Overload of the \link ExclusiveTraverser::handlePatches ha
ndlePatches \endlink method.
* \param patches A pointer to the write-locked \link nvsg::Patches
Patches \endlink to handle.
* \remarks After traversing \a patches, it is unified if unificatio
n of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handlePatches( nvsg::Patches * patches );
/*! \brief Overload of the \link ExclusiveTraverser::handlePoints han dlePoints \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handlePoints han dlePoints \endlink method.
* \param points A pointer to the write-locked \link nvsg::Points Po ints \endlink to handle. * \param points A pointer to the write-locked \link nvsg::Points Po ints \endlink to handle.
* \remarks After traversing \a points, it is unified if unification of \link * \remarks After traversing \a points, it is unified if unification of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handlePoints( nvsg::Points *points ); NVSG_API virtual void handlePoints( nvsg::Points *points );
/*! \brief Overload of the \link ExclusiveTraverser::handleQuadMeshes handleQuadMeshes \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleQuadMeshes handleQuadMeshes \endlink method.
* \param meshes A pointer to the write-locked \link nvsg::QuadMeshe s QuadMeshes \endlink to * \param meshes A pointer to the write-locked \link nvsg::QuadMeshe s QuadMeshes \endlink to
* handle. * handle.
* \remarks After traversing \a meshes, it is unified if unification of \link * \remarks After traversing \a meshes, it is unified if unification of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleQuadMeshes( nvsg::QuadMeshes * meshes ); NVSG_API virtual void handleQuadMeshes( nvsg::QuadMeshes * meshes );
/*! \brief Overload of the \link ExclusiveTraverser::handleQuadPatche
s handleQuadPatches \endlink method.
* \param quadPatches A pointer to the write-locked \link nvsg::Quad
Patches QuadPatches \endlink to handle.
* \remarks After traversing \a quadPatches, it is unified if unific
ation of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleQuadPatches( nvsg::QuadPatches * quadPatc
hes );
/*! \brief Overload of the \link ExclusiveTraverser::handleQuadPatche
s4x4 handleQuadPatches4x4 \endlink method.
* \param quadPatches4x4 pointer to the write-locked \link nvsg::Qua
dPatches4x4 QuadPatches4x4 \endlink to handle.
* \remarks After traversing \a quadPatches4x4, it is unified if uni
fication of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleQuadPatches4x4( nvsg::QuadPatches4x4 * qu
adPatches4x4 );
/*! \brief Overload of the \link ExclusiveTraverser::handleQuads hand leQuads \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleQuads hand leQuads \endlink method.
* \param quads A pointer to the write-locked \link nvsg::Quads Quad s \endlink to handle. * \param quads A pointer to the write-locked \link nvsg::Quads Quad s \endlink to handle.
* \remarks After traversing \a quads, it is unified if unification of \link * \remarks After traversing \a quads, it is unified if unification of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleQuads( nvsg::Quads * quads ); NVSG_API virtual void handleQuads( nvsg::Quads * quads );
/*! \brief Overload of the \link ExclusiveTraverser::handleQuadStrips handleQuadStrips \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleQuadStrips handleQuadStrips \endlink method.
* \param strips A pointer to the write-locked \link nvsg::QuadStrip s QuadStrips \endlink to * \param strips A pointer to the write-locked \link nvsg::QuadStrip s QuadStrips \endlink to
* handle. * handle.
* \remarks After traversing \a strips, it is unified if unification of \link * \remarks After traversing \a strips, it is unified if unification of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleQuadStrips( nvsg::QuadStrips * strips ); NVSG_API virtual void handleQuadStrips( nvsg::QuadStrips * strips );
/*! \brief Overload of the \link ExclusiveTraverser::handleRectPatche
s handleRectPatches \endlink method.
* \param rectPatches A pointer to the write-locked \link nvsg::Rect
Patches RectPatches \endlink to handle.
* \remarks After traversing \a rectPatches, it is unified if unific
ation of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleRectPatches( nvsg::RectPatches * rectPatc
hes );
NVSG_API virtual void handleRTFx( nvsg::RTFx * rtfx ); NVSG_API virtual void handleRTFx( nvsg::RTFx * rtfx );
/*! \brief Overload of the \link ExclusiveTraverser::handleStatePass handleStatePass \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleStatePass handleStatePass \endlink method.
* \param pass A pointer to the write-locked \link nvsg::StatePass S tatePass \endlink to * \param pass A pointer to the write-locked \link nvsg::StatePass S tatePass \endlink to
* handle. * handle.
* \remarks After traversing \a pass, it's StateAttributes are unifi ed if unification of * \remarks After traversing \a pass, it's StateAttributes are unifi ed if unification of
* \link nvsg::StateAttribute StateAttributes \endlink is requested. */ * \link nvsg::StateAttribute StateAttributes \endlink is requested. */
NVSG_API virtual void handleStatePass( nvsg::StatePass * pass ); NVSG_API virtual void handleStatePass( nvsg::StatePass * pass );
/*! \brief Overload of the \link ExclusiveTraverser::handleStateSet h andleStateSet \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleStateSet h andleStateSet \endlink method.
skipping to change at line 240 skipping to change at line 264
* \remarks After traversing \a triangles, it is unified if unificat ion of \link * \remarks After traversing \a triangles, it is unified if unificat ion of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleTriangles( nvsg::Triangles * triangles ); NVSG_API virtual void handleTriangles( nvsg::Triangles * triangles );
/*! \brief Overload of the \link ExclusiveTraverser::handleTriFans ha ndleTriFans \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleTriFans ha ndleTriFans \endlink method.
* \param fans A pointer to the write-locked \link nvsg::TriFans Tri Fans \endlink to handle. * \param fans A pointer to the write-locked \link nvsg::TriFans Tri Fans \endlink to handle.
* \remarks After traversing \a fans, it is unified if unification o f \link * \remarks After traversing \a fans, it is unified if unification o f \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleTriFans( nvsg::TriFans * fans ); NVSG_API virtual void handleTriFans( nvsg::TriFans * fans );
/*! \brief Overload of the \link ExclusiveTraverser::handleTriPatches
handleTriPatches \endlink method.
* \param triPatches A pointer to the write-locked \link nvsg::TriPa
tches TriPatches \endlink to handle.
* \remarks After traversing \a triPatches, it is unified if unifica
tion of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleTriPatches( nvsg::TriPatches * triPatches
);
/*! \brief Overload of the \link ExclusiveTraverser::handleTriPatches
4 handleTriPatches4 \endlink method.
* \param triPatches4 A pointer to the write-locked \link nvsg::TriP
atches4 TriPatches4 \endlink to handle.
* \remarks After traversing \a triPatches4, it is unified if unific
ation of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleTriPatches4( nvsg::TriPatches4 * triPatch
es4 );
/*! \brief Overload of the \link ExclusiveTraverser::handleTriStrips handleTriStrips \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleTriStrips handleTriStrips \endlink method.
* \param strips A pointer to the write-locked \link nvsg::TriStrips TriStrips \endlink to * \param strips A pointer to the write-locked \link nvsg::TriStrips TriStrips \endlink to
* handle. * handle.
* \remarks After traversing \a strips, it is unified if unification of \link * \remarks After traversing \a strips, it is unified if unification of \link
* nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */ * nvsg::PrimitiveSet PrimitiveSets \endlink is requested. */
NVSG_API virtual void handleTriStrips( nvsg::TriStrips * strips ); NVSG_API virtual void handleTriStrips( nvsg::TriStrips * strips );
/*! \brief Overload of the \link ExclusiveTraverser::handleVertexAttr ibuteSet handleVertexAttributeSet \endlink method. /*! \brief Overload of the \link ExclusiveTraverser::handleVertexAttr ibuteSet handleVertexAttributeSet \endlink method.
* \param vas A pointer to the write-locked \link nvsg::VertexAttrib uteSet VertexAttributeSet * \param vas A pointer to the write-locked \link nvsg::VertexAttrib uteSet VertexAttributeSet
* \endlink to handle. * \endlink to handle.
skipping to change at line 291 skipping to change at line 327
private: private:
nvsg::GeoNode * m_c urrentGeoNode; nvsg::GeoNode * m_c urrentGeoNode;
float m_e psilon; float m_e psilon;
std::vector<nvsg::TrafoAnimationHandle *> m_t rafoAnimations; std::vector<nvsg::TrafoAnimationHandle *> m_t rafoAnimations;
std::vector<nvsg::GeoNodeHandle *> m_g eoNodes; std::vector<nvsg::GeoNodeHandle *> m_g eoNodes;
std::vector<nvsg::GroupHandle *> m_g roups; std::vector<nvsg::GroupHandle *> m_g roups;
std::vector<nvsg::LinesHandle *> m_l ines; std::vector<nvsg::LinesHandle *> m_l ines;
std::vector<nvsg::LineStripsHandle *> m_l ineStrips; std::vector<nvsg::LineStripsHandle *> m_l ineStrips;
std::vector<nvsg::LODHandle *> m_L ODs; std::vector<nvsg::LODHandle *> m_L ODs;
std::vector<nvsg::PatchesHandle *> m_p atches;
std::vector<nvsg::PointsHandle *> m_p oints; std::vector<nvsg::PointsHandle *> m_p oints;
std::vector<nvsg::QuadMeshesHandle *> m_q uadMeshes; std::vector<nvsg::QuadMeshesHandle *> m_q uadMeshes;
std::vector<nvsg::QuadPatchesHandle *> m_q
uadPatches;
std::vector<nvsg::QuadPatches4x4Handle *> m_q
uadPatches4x4;
std::vector<nvsg::QuadsHandle *> m_q uads; std::vector<nvsg::QuadsHandle *> m_q uads;
std::vector<nvsg::QuadStripsHandle *> m_q uadStrips; std::vector<nvsg::QuadStripsHandle *> m_q uadStrips;
std::vector<nvsg::RectPatchesHandle *> m_r ectPatches;
std::set<nvsg::RTFxProgramHandle *> m_r tfxPrograms; std::set<nvsg::RTFxProgramHandle *> m_r tfxPrograms;
std::map<unsigned int, std::set<nvsg::StateAttributeHandle *> > m_s tateAttributes; std::map<unsigned int, std::set<nvsg::StateAttributeHandle *> > m_s tateAttributes;
std::set<nvsg::StatePassHandle *> m_s tatePasses; std::set<nvsg::StatePassHandle *> m_s tatePasses;
std::set<nvsg::StateSetHandle *> m_s tateSets; std::set<nvsg::StateSetHandle *> m_s tateSets;
std::set<nvsg::StateVariantHandle *> m_s tateVariants; std::set<nvsg::StateVariantHandle *> m_s tateVariants;
std::set<nvsg::TextureAttributeItemHandle *> m_t extureAttributeItems; std::set<nvsg::TextureAttributeItemHandle *> m_t extureAttributeItems;
std::vector<nvsg::TrianglesHandle *> m_t riangles; std::vector<nvsg::TrianglesHandle *> m_t riangles;
std::vector<nvsg::TriFansHandle *> m_t riFans; std::vector<nvsg::TriFansHandle *> m_t riFans;
std::vector<nvsg::TriPatchesHandle *> m_t
riPatches;
std::vector<nvsg::TriPatches4Handle *> m_t
riPatches4;
std::vector<nvsg::TriStripsHandle *> m_t riStrips; std::vector<nvsg::TriStripsHandle *> m_t riStrips;
unsigned int m_u nifyTargets; unsigned int m_u nifyTargets;
std::vector<nvsg::VertexAttributeSetHandle *> m_v ertexAttributeSets; std::vector<nvsg::VertexAttributeSetHandle *> m_v ertexAttributeSets;
std::set<nvsg::VertexAttributeSetHandle *> m_m ultiOwnedHandledVAS; std::set<nvsg::VertexAttributeSetHandle *> m_m ultiOwnedHandledVAS;
std::vector<nvsg::VertexAttributeSetHandle *> m_r emovedVAS; std::vector<nvsg::VertexAttributeSetHandle *> m_r emovedVAS;
}; };
inline unsigned int UnifyTraverser::getUnifyTargets() const inline unsigned int UnifyTraverser::getUnifyTargets() const
{ {
 End of changes. 8 change blocks. 
0 lines changed or deleted 69 lines changed or added


 VertexAttributeSet.h   VertexAttributeSet.h 
// Copyright NVIDIA Corporation 2002-2007 // Copyright NVIDIA Corporation 2002-2009
// TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROV IDED // TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROV IDED
// *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXP RESS // *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXP RESS
// OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHAN TABILITY // OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHAN TABILITY
// AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA OR ITS S UPPLIERS // AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA OR ITS S UPPLIERS
// BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGE S // BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGE S
// WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, // WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
// BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNI ARY LOSS) // BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNI ARY LOSS)
// ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVI DIA HAS // ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVI DIA HAS
// BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES // BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
skipping to change at line 671 skipping to change at line 671
/*! \brief Release the cached data and all it's owners. */ /*! \brief Release the cached data and all it's owners. */
NVSG_API void releaseCachedData(); NVSG_API void releaseCachedData();
private: private:
unsigned int m_enableFlags; // bits 0-15 conventional attributes, bit s 16-31 generic aliases unsigned int m_enableFlags; // bits 0-15 conventional attributes, bit s 16-31 generic aliases
unsigned int m_normalizeEnableFlags; // only for generic attributes unsigned int m_normalizeEnableFlags; // only for generic attributes
nvutil::RCPtr<nvutil::RCVector<VertexAttribute> > m_vattribs; nvutil::RCPtr<nvutil::RCVector<VertexAttribute> > m_vattribs;
}; };
/*! \brief Copy selected vertices from one VertexAttributeSet to another.
* \param from The VertexAttributeSet to copy from.
* \param to The VertexAttributeSet to copy to.
* \param indices A reference to a vector of indices pointing into \a fr
om, that determine the vertices to copy.
* After the copy operation, it holds the corresponding indices pointing
into \a to.
* \remarks This function is used to copy selected vertices of Independe
ntPrimitiveSets */
NVSG_API void copySelectedVertices( nvsg::VertexAttributeSetHandle * from
, nvsg::VertexAttributeSetHandle * to
, std::vector<unsigned int> & indices )
;
/*! \brief Copy selected vertices from one VertexAttributeSet to another.
* \param from The VertexAttributeSet to copy from.
* \param to The VertexAttributeSet to copy to.
* \param indices A reference to a vector of indices into \a from, that
determine the vertices to copy. After the
* copy operation, it holds the corresponding indices into \a to.
* \remarks This function is used to copy selected vertices of StrippedP
rimitiveSets */
NVSG_API void copySelectedVertices( nvsg::VertexAttributeSetHandle *from
, nvsg::VertexAttributeSetHandle *to
, std::vector<std::vector<unsigned int>
> &indices );
//! Type to specify the type of texture coordinate to generate. //! Type to specify the type of texture coordinate to generate.
/** There are three different types of texture coordinate generation avai lable: cylindrical, planar, and spherical.*/ /** There are three different types of texture coordinate generation avai lable: cylindrical, planar, and spherical.*/
typedef enum typedef enum
{ {
TCT_CYLINDRICAL, //!< Puts a cylinder around the \c BoundingSpher e with the z-axis as it's axis and projects the vertices of the \c VertexAt tributeSet on it to get the texture coordinates. TCT_CYLINDRICAL, //!< Puts a cylinder around the \c BoundingSpher e with the z-axis as it's axis and projects the vertices of the \c VertexAt tributeSet on it to get the texture coordinates.
TCT_PLANAR, //!< Puts a plane in the x-y-plane and verticall y projects the vertices of the \c VertexAttributeSet on that plane to the t he texture coordinates. TCT_PLANAR, //!< Puts a plane in the x-y-plane and verticall y projects the vertices of the \c VertexAttributeSet on that plane to the t he texture coordinates.
TCT_SPHERICAL, //!< Projects the vertices of the \c VertexAttri buteSet radially on the \c BoundingSphere to get the texture coordinates. TCT_SPHERICAL, //!< Projects the vertices of the \c VertexAttri buteSet radially on the \c BoundingSphere to get the texture coordinates.
} TextureCoordType; } TextureCoordType;
/*! \relates VertexAttributeSet /*! \relates VertexAttributeSet
 End of changes. 2 change blocks. 
1 lines changed or deleted 28 lines changed or added


 cg.h   cg.h 
skipping to change at line 56 skipping to change at line 56
* HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING * HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING
* NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF NVIDIA HAS BEEN ADVI SED * NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF NVIDIA HAS BEEN ADVI SED
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
* *
*/ */
#ifndef _cg_h #ifndef _cg_h
#define _cg_h #define _cg_h
/*************************************************************************/ /*************************************************************************/
/*** CG Run-Time Library API ***/ /*** CG Run-Time Library API ***/
/*************************************************************************/ /*************************************************************************/
#define CG_VERSION_NUM 2200 #define CG_VERSION_NUM 3000
#ifdef _WIN32 #ifdef _WIN32
# ifndef APIENTRY /* From Win32's <windef.h> */ # ifndef APIENTRY /* From Win32's <windef.h> */
# define CG_APIENTRY_DEFINED # define CG_APIENTRY_DEFINED
# if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLAND C__) || defined(__LCC__) # if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLAND C__) || defined(__LCC__)
# define APIENTRY __stdcall # define APIENTRY __stdcall
# else # else
# define APIENTRY # define APIENTRY
# endif # endif
# endif # endif
# ifndef WINGDIAPI /* From Win32's <wingdi.h> and <winnt.h> */ # ifndef WINGDIAPI /* From Win32's <wingdi.h> and <winnt.h> */
# define CG_WINGDIAPI_DEFINED # define CG_WINGDIAPI_DEFINED
# define WINGDIAPI __declspec(dllimport) # define WINGDIAPI __declspec(dllimport)
# endif # endif
#endif /* _WIN32 */ #endif /* _WIN32 */
/* Set up CG_API for Win32 dllexport or gcc visibility */ /* Set up CG_API for Win32 dllexport or gcc visibility. */
#ifndef CG_API #ifndef CG_API
# ifdef CG_EXPORTS # ifdef CG_EXPORTS
# ifdef _WIN32 # ifdef _WIN32
# define CG_API __declspec(dllexport) # define CG_API __declspec(dllexport)
# elif defined(__GNUC__) && __GNUC__>=4 # elif defined(__GNUC__) && __GNUC__>=4
# define CG_API __attribute__ ((visibility("default"))) # define CG_API __attribute__ ((visibility("default")))
# elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) # elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
# define CG_API __global # define CG_API __global
# else # else
skipping to change at line 107 skipping to change at line 107
# else # else
# define CGENTRY # define CGENTRY
# endif # endif
#endif #endif
/*************************************************************************/ /*************************************************************************/
/*** Data types and enumerants ***/ /*** Data types and enumerants ***/
/*************************************************************************/ /*************************************************************************/
typedef int CGbool; typedef int CGbool;
#define CG_FALSE ((CGbool)0)
#define CG_TRUE ((CGbool)1)
typedef struct _CGcontext *CGcontext; typedef struct _CGcontext *CGcontext;
typedef struct _CGprogram *CGprogram; typedef struct _CGprogram *CGprogram;
typedef struct _CGparameter *CGparameter; typedef struct _CGparameter *CGparameter;
typedef struct _CGobj *CGobj; typedef struct _CGobj *CGobj;
typedef struct _CGbuffer *CGbuffer; typedef struct _CGbuffer *CGbuffer;
typedef struct _CGeffect *CGeffect; typedef struct _CGeffect *CGeffect;
typedef struct _CGtechnique *CGtechnique; typedef struct _CGtechnique *CGtechnique;
typedef struct _CGpass *CGpass; typedef struct _CGpass *CGpass;
typedef struct _CGstate *CGstate; typedef struct _CGstate *CGstate;
typedef struct _CGstateassignment *CGstateassignment; typedef struct _CGstateassignment *CGstateassignment;
typedef struct _CGannotation *CGannotation; typedef struct _CGannotation *CGannotation;
typedef void *CGhandle; typedef void *CGhandle;
/*!!! PREPROCESS BEGIN */ #define CG_FALSE ((CGbool)0)
#define CG_TRUE ((CGbool)1)
typedef enum typedef enum
{ {
CG_UNKNOWN_TYPE, CG_BEHAVIOR_UNKNOWN = 0,
CG_STRUCT, CG_BEHAVIOR_LATEST = 1, /* latest behavior supported at r
CG_ARRAY, untime */
CG_TYPELESS_STRUCT, CG_BEHAVIOR_2200 = 1000, /* default behavior
*/
CG_TYPE_START_ENUM = 1024, CG_BEHAVIOR_3000 = 2000,
#define CG_DATATYPE_MACRO(name, compiler_name, enum_name, base_name, ncols, CG_BEHAVIOR_CURRENT = CG_BEHAVIOR_3000 /* latest behavior supported at c
nrows, pc) \ ompile time */
enum_name , } CGbehavior;
#include <Cg/cg_datatypes.h>
#undef CG_DATATYPE_MACRO
CG_TYPE_MAX
} CGtype;
typedef enum typedef enum
{ {
# define CG_BINDLOCATION_MACRO(name,enum_name,compiler_name,\ CG_UNKNOWN_TYPE = 0,
enum_int,addressable,param_type) \ CG_ARRAY = 2,
enum_name = enum_int, CG_STRING = 1135,
CG_STRUCT = 1,
#include <Cg/cg_bindlocations.h> CG_TYPELESS_STRUCT = 3,
CG_TEXTURE = 1137,
CG_UNDEFINED = 3256 CG_PIXELSHADER_TYPE = 1142,
} CGresource; CG_PROGRAM_TYPE = 1136,
CG_VERTEXSHADER_TYPE = 1141,
CG_TYPE_START_ENUM = 1024,
CG_SAMPLER = 1143,
CG_SAMPLER1D = 1065,
CG_SAMPLER1DARRAY = 1138,
CG_SAMPLER1DSHADOW = 1313,
CG_SAMPLER2D = 1066,
CG_SAMPLER2DARRAY = 1139,
CG_SAMPLER2DSHADOW = 1314,
CG_SAMPLER3D = 1067,
CG_SAMPLERBUF = 1144,
CG_SAMPLERCUBE = 1069,
CG_SAMPLERCUBEARRAY = 1140,
CG_SAMPLERRECT = 1068,
CG_SAMPLERRECTSHADOW = 1315,
CG_BOOL = 1114,
CG_BOOL1 = 1115,
CG_BOOL2 = 1116,
CG_BOOL3 = 1117,
CG_BOOL4 = 1118,
CG_BOOL1x1 = 1119,
CG_BOOL1x2 = 1120,
CG_BOOL1x3 = 1121,
CG_BOOL1x4 = 1122,
CG_BOOL2x1 = 1123,
CG_BOOL2x2 = 1124,
CG_BOOL2x3 = 1125,
CG_BOOL2x4 = 1126,
CG_BOOL3x1 = 1127,
CG_BOOL3x2 = 1128,
CG_BOOL3x3 = 1129,
CG_BOOL3x4 = 1130,
CG_BOOL4x1 = 1131,
CG_BOOL4x2 = 1132,
CG_BOOL4x3 = 1133,
CG_BOOL4x4 = 1134,
CG_CHAR = 1166,
CG_CHAR1 = 1167,
CG_CHAR2 = 1168,
CG_CHAR3 = 1169,
CG_CHAR4 = 1170,
CG_CHAR1x1 = 1171,
CG_CHAR1x2 = 1172,
CG_CHAR1x3 = 1173,
CG_CHAR1x4 = 1174,
CG_CHAR2x1 = 1175,
CG_CHAR2x2 = 1176,
CG_CHAR2x3 = 1177,
CG_CHAR2x4 = 1178,
CG_CHAR3x1 = 1179,
CG_CHAR3x2 = 1180,
CG_CHAR3x3 = 1181,
CG_CHAR3x4 = 1182,
CG_CHAR4x1 = 1183,
CG_CHAR4x2 = 1184,
CG_CHAR4x3 = 1185,
CG_CHAR4x4 = 1186,
CG_DOUBLE = 1145,
CG_DOUBLE1 = 1146,
CG_DOUBLE2 = 1147,
CG_DOUBLE3 = 1148,
CG_DOUBLE4 = 1149,
CG_DOUBLE1x1 = 1150,
CG_DOUBLE1x2 = 1151,
CG_DOUBLE1x3 = 1152,
CG_DOUBLE1x4 = 1153,
CG_DOUBLE2x1 = 1154,
CG_DOUBLE2x2 = 1155,
CG_DOUBLE2x3 = 1156,
CG_DOUBLE2x4 = 1157,
CG_DOUBLE3x1 = 1158,
CG_DOUBLE3x2 = 1159,
CG_DOUBLE3x3 = 1160,
CG_DOUBLE3x4 = 1161,
CG_DOUBLE4x1 = 1162,
CG_DOUBLE4x2 = 1163,
CG_DOUBLE4x3 = 1164,
CG_DOUBLE4x4 = 1165,
CG_FIXED = 1070,
CG_FIXED1 = 1092,
CG_FIXED2 = 1071,
CG_FIXED3 = 1072,
CG_FIXED4 = 1073,
CG_FIXED1x1 = 1074,
CG_FIXED1x2 = 1075,
CG_FIXED1x3 = 1076,
CG_FIXED1x4 = 1077,
CG_FIXED2x1 = 1078,
CG_FIXED2x2 = 1079,
CG_FIXED2x3 = 1080,
CG_FIXED2x4 = 1081,
CG_FIXED3x1 = 1082,
CG_FIXED3x2 = 1083,
CG_FIXED3x3 = 1084,
CG_FIXED3x4 = 1085,
CG_FIXED4x1 = 1086,
CG_FIXED4x2 = 1087,
CG_FIXED4x3 = 1088,
CG_FIXED4x4 = 1089,
CG_FLOAT = 1045,
CG_FLOAT1 = 1091,
CG_FLOAT2 = 1046,
CG_FLOAT3 = 1047,
CG_FLOAT4 = 1048,
CG_FLOAT1x1 = 1049,
CG_FLOAT1x2 = 1050,
CG_FLOAT1x3 = 1051,
CG_FLOAT1x4 = 1052,
CG_FLOAT2x1 = 1053,
CG_FLOAT2x2 = 1054,
CG_FLOAT2x3 = 1055,
CG_FLOAT2x4 = 1056,
CG_FLOAT3x1 = 1057,
CG_FLOAT3x2 = 1058,
CG_FLOAT3x3 = 1059,
CG_FLOAT3x4 = 1060,
CG_FLOAT4x1 = 1061,
CG_FLOAT4x2 = 1062,
CG_FLOAT4x3 = 1063,
CG_FLOAT4x4 = 1064,
CG_HALF = 1025,
CG_HALF1 = 1090,
CG_HALF2 = 1026,
CG_HALF3 = 1027,
CG_HALF4 = 1028,
CG_HALF1x1 = 1029,
CG_HALF1x2 = 1030,
CG_HALF1x3 = 1031,
CG_HALF1x4 = 1032,
CG_HALF2x1 = 1033,
CG_HALF2x2 = 1034,
CG_HALF2x3 = 1035,
CG_HALF2x4 = 1036,
CG_HALF3x1 = 1037,
CG_HALF3x2 = 1038,
CG_HALF3x3 = 1039,
CG_HALF3x4 = 1040,
CG_HALF4x1 = 1041,
CG_HALF4x2 = 1042,
CG_HALF4x3 = 1043,
CG_HALF4x4 = 1044,
CG_INT = 1093,
CG_INT1 = 1094,
CG_INT2 = 1095,
CG_INT3 = 1096,
CG_INT4 = 1097,
CG_INT1x1 = 1098,
CG_INT1x2 = 1099,
CG_INT1x3 = 1100,
CG_INT1x4 = 1101,
CG_INT2x1 = 1102,
CG_INT2x2 = 1103,
CG_INT2x3 = 1104,
CG_INT2x4 = 1105,
CG_INT3x1 = 1106,
CG_INT3x2 = 1107,
CG_INT3x3 = 1108,
CG_INT3x4 = 1109,
CG_INT4x1 = 1110,
CG_INT4x2 = 1111,
CG_INT4x3 = 1112,
CG_INT4x4 = 1113,
CG_LONG = 1271,
CG_LONG1 = 1272,
CG_LONG2 = 1273,
CG_LONG3 = 1274,
CG_LONG4 = 1275,
CG_LONG1x1 = 1276,
CG_LONG1x2 = 1277,
CG_LONG1x3 = 1278,
CG_LONG1x4 = 1279,
CG_LONG2x1 = 1280,
CG_LONG2x2 = 1281,
CG_LONG2x3 = 1282,
CG_LONG2x4 = 1283,
CG_LONG3x1 = 1284,
CG_LONG3x2 = 1285,
CG_LONG3x3 = 1286,
CG_LONG3x4 = 1287,
CG_LONG4x1 = 1288,
CG_LONG4x2 = 1289,
CG_LONG4x3 = 1290,
CG_LONG4x4 = 1291,
CG_SHORT = 1208,
CG_SHORT1 = 1209,
CG_SHORT2 = 1210,
CG_SHORT3 = 1211,
CG_SHORT4 = 1212,
CG_SHORT1x1 = 1213,
CG_SHORT1x2 = 1214,
CG_SHORT1x3 = 1215,
CG_SHORT1x4 = 1216,
CG_SHORT2x1 = 1217,
CG_SHORT2x2 = 1218,
CG_SHORT2x3 = 1219,
CG_SHORT2x4 = 1220,
CG_SHORT3x1 = 1221,
CG_SHORT3x2 = 1222,
CG_SHORT3x3 = 1223,
CG_SHORT3x4 = 1224,
CG_SHORT4x1 = 1225,
CG_SHORT4x2 = 1226,
CG_SHORT4x3 = 1227,
CG_SHORT4x4 = 1228,
CG_UCHAR = 1187,
CG_UCHAR1 = 1188,
CG_UCHAR2 = 1189,
CG_UCHAR3 = 1190,
CG_UCHAR4 = 1191,
CG_UCHAR1x1 = 1192,
CG_UCHAR1x2 = 1193,
CG_UCHAR1x3 = 1194,
CG_UCHAR1x4 = 1195,
CG_UCHAR2x1 = 1196,
CG_UCHAR2x2 = 1197,
CG_UCHAR2x3 = 1198,
CG_UCHAR2x4 = 1199,
CG_UCHAR3x1 = 1200,
CG_UCHAR3x2 = 1201,
CG_UCHAR3x3 = 1202,
CG_UCHAR3x4 = 1203,
CG_UCHAR4x1 = 1204,
CG_UCHAR4x2 = 1205,
CG_UCHAR4x3 = 1206,
CG_UCHAR4x4 = 1207,
CG_UINT = 1250,
CG_UINT1 = 1251,
CG_UINT2 = 1252,
CG_UINT3 = 1253,
CG_UINT4 = 1254,
CG_UINT1x1 = 1255,
CG_UINT1x2 = 1256,
CG_UINT1x3 = 1257,
CG_UINT1x4 = 1258,
CG_UINT2x1 = 1259,
CG_UINT2x2 = 1260,
CG_UINT2x3 = 1261,
CG_UINT2x4 = 1262,
CG_UINT3x1 = 1263,
CG_UINT3x2 = 1264,
CG_UINT3x3 = 1265,
CG_UINT3x4 = 1266,
CG_UINT4x1 = 1267,
CG_UINT4x2 = 1268,
CG_UINT4x3 = 1269,
CG_UINT4x4 = 1270,
CG_ULONG = 1292,
CG_ULONG1 = 1293,
CG_ULONG2 = 1294,
CG_ULONG3 = 1295,
CG_ULONG4 = 1296,
CG_ULONG1x1 = 1297,
CG_ULONG1x2 = 1298,
CG_ULONG1x3 = 1299,
CG_ULONG1x4 = 1300,
CG_ULONG2x1 = 1301,
CG_ULONG2x2 = 1302,
CG_ULONG2x3 = 1303,
CG_ULONG2x4 = 1304,
CG_ULONG3x1 = 1305,
CG_ULONG3x2 = 1306,
CG_ULONG3x3 = 1307,
CG_ULONG3x4 = 1308,
CG_ULONG4x1 = 1309,
CG_ULONG4x2 = 1310,
CG_ULONG4x3 = 1311,
CG_ULONG4x4 = 1312,
CG_USHORT = 1229,
CG_USHORT1 = 1230,
CG_USHORT2 = 1231,
CG_USHORT3 = 1232,
CG_USHORT4 = 1233,
CG_USHORT1x1 = 1234,
CG_USHORT1x2 = 1235,
CG_USHORT1x3 = 1236,
CG_USHORT1x4 = 1237,
CG_USHORT2x1 = 1238,
CG_USHORT2x2 = 1239,
CG_USHORT2x3 = 1240,
CG_USHORT2x4 = 1241,
CG_USHORT3x1 = 1242,
CG_USHORT3x2 = 1243,
CG_USHORT3x3 = 1244,
CG_USHORT3x4 = 1245,
CG_USHORT4x1 = 1246,
CG_USHORT4x2 = 1247,
CG_USHORT4x3 = 1248,
CG_USHORT4x4 = 1249
} CGtype;
typedef enum typedef enum
{ {
CG_PROFILE_START = 6144, CG_TEXUNIT0 = 2048,
CG_PROFILE_UNKNOWN, CG_TEXUNIT1 = 2049,
CG_TEXUNIT2 = 2050,
#define CG_PROFILE_MACRO(name, compiler_id, compiler_id_caps, compiler_opt, CG_TEXUNIT3 = 2051,
int_id,vertex_profile) \ CG_TEXUNIT4 = 2052,
CG_PROFILE_##compiler_id_caps = int_id, CG_TEXUNIT5 = 2053,
#define CG_PROFILE_ALIAS(name, compiler_id, compiler_id_caps, compiler_opt, CG_TEXUNIT6 = 2054,
int_id,vertex_profile) \ CG_TEXUNIT7 = 2055,
CG_PROFILE_MACRO(name, compiler_id, compiler_id_caps, compiler_opt,int_id CG_TEXUNIT8 = 2056,
,vertex_profile) CG_TEXUNIT9 = 2057,
CG_TEXUNIT10 = 2058,
#include <Cg/cg_profiles.h> CG_TEXUNIT11 = 2059,
CG_TEXUNIT12 = 2060,
CG_PROFILE_MAX = 7100 CG_TEXUNIT13 = 2061,
} CGprofile; CG_TEXUNIT14 = 2062,
CG_TEXUNIT15 = 2063,
CG_TEXUNIT16 = 4624,
CG_TEXUNIT17 = 4625,
CG_TEXUNIT18 = 4626,
CG_TEXUNIT19 = 4627,
CG_TEXUNIT20 = 4628,
CG_TEXUNIT21 = 4629,
CG_TEXUNIT22 = 4630,
CG_TEXUNIT23 = 4631,
CG_TEXUNIT24 = 4632,
CG_TEXUNIT25 = 4633,
CG_TEXUNIT26 = 4634,
CG_TEXUNIT27 = 4635,
CG_TEXUNIT28 = 4636,
CG_TEXUNIT29 = 4637,
CG_TEXUNIT30 = 4638,
CG_TEXUNIT31 = 4639,
CG_BUFFER0 = 2064,
CG_BUFFER1 = 2065,
CG_BUFFER2 = 2066,
CG_BUFFER3 = 2067,
CG_BUFFER4 = 2068,
CG_BUFFER5 = 2069,
CG_BUFFER6 = 2070,
CG_BUFFER7 = 2071,
CG_BUFFER8 = 2072,
CG_BUFFER9 = 2073,
CG_BUFFER10 = 2074,
CG_BUFFER11 = 2075,
CG_ATTR0 = 2113,
CG_ATTR1 = 2114,
CG_ATTR2 = 2115,
CG_ATTR3 = 2116,
CG_ATTR4 = 2117,
CG_ATTR5 = 2118,
CG_ATTR6 = 2119,
CG_ATTR7 = 2120,
CG_ATTR8 = 2121,
CG_ATTR9 = 2122,
CG_ATTR10 = 2123,
CG_ATTR11 = 2124,
CG_ATTR12 = 2125,
CG_ATTR13 = 2126,
CG_ATTR14 = 2127,
CG_ATTR15 = 2128,
CG_C = 2178,
CG_TEX0 = 2179,
CG_TEX1 = 2180,
CG_TEX2 = 2181,
CG_TEX3 = 2192,
CG_TEX4 = 2193,
CG_TEX5 = 2194,
CG_TEX6 = 2195,
CG_TEX7 = 2196,
CG_HPOS = 2243,
CG_COL0 = 2245,
CG_COL1 = 2246,
CG_COL2 = 2247,
CG_COL3 = 2248,
CG_PSIZ = 2309,
CG_CLP0 = 2310,
CG_CLP1 = 2311,
CG_CLP2 = 2312,
CG_CLP3 = 2313,
CG_CLP4 = 2314,
CG_CLP5 = 2315,
CG_WPOS = 2373,
CG_POINTCOORD = 2374,
CG_POSITION0 = 2437,
CG_POSITION1 = 2438,
CG_POSITION2 = 2439,
CG_POSITION3 = 2440,
CG_POSITION4 = 2441,
CG_POSITION5 = 2442,
CG_POSITION6 = 2443,
CG_POSITION7 = 2444,
CG_POSITION8 = 2445,
CG_POSITION9 = 2446,
CG_POSITION10 = 2447,
CG_POSITION11 = 2448,
CG_POSITION12 = 2449,
CG_POSITION13 = 2450,
CG_POSITION14 = 2451,
CG_POSITION15 = 2452,
CG_DIFFUSE0 = 2501,
CG_TANGENT0 = 2565,
CG_TANGENT1 = 2566,
CG_TANGENT2 = 2567,
CG_TANGENT3 = 2568,
CG_TANGENT4 = 2569,
CG_TANGENT5 = 2570,
CG_TANGENT6 = 2571,
CG_TANGENT7 = 2572,
CG_TANGENT8 = 2573,
CG_TANGENT9 = 2574,
CG_TANGENT10 = 2575,
CG_TANGENT11 = 2576,
CG_TANGENT12 = 2577,
CG_TANGENT13 = 2578,
CG_TANGENT14 = 2579,
CG_TANGENT15 = 2580,
CG_SPECULAR0 = 2629,
CG_BLENDINDICES0 = 2693,
CG_BLENDINDICES1 = 2694,
CG_BLENDINDICES2 = 2695,
CG_BLENDINDICES3 = 2696,
CG_BLENDINDICES4 = 2697,
CG_BLENDINDICES5 = 2698,
CG_BLENDINDICES6 = 2699,
CG_BLENDINDICES7 = 2700,
CG_BLENDINDICES8 = 2701,
CG_BLENDINDICES9 = 2702,
CG_BLENDINDICES10 = 2703,
CG_BLENDINDICES11 = 2704,
CG_BLENDINDICES12 = 2705,
CG_BLENDINDICES13 = 2706,
CG_BLENDINDICES14 = 2707,
CG_BLENDINDICES15 = 2708,
CG_COLOR0 = 2757,
CG_COLOR1 = 2758,
CG_COLOR2 = 2759,
CG_COLOR3 = 2760,
CG_COLOR4 = 2761,
CG_COLOR5 = 2762,
CG_COLOR6 = 2763,
CG_COLOR7 = 2764,
CG_COLOR8 = 2765,
CG_COLOR9 = 2766,
CG_COLOR10 = 2767,
CG_COLOR11 = 2768,
CG_COLOR12 = 2769,
CG_COLOR13 = 2770,
CG_COLOR14 = 2771,
CG_COLOR15 = 2772,
CG_PSIZE0 = 2821,
CG_PSIZE1 = 2822,
CG_PSIZE2 = 2823,
CG_PSIZE3 = 2824,
CG_PSIZE4 = 2825,
CG_PSIZE5 = 2826,
CG_PSIZE6 = 2827,
CG_PSIZE7 = 2828,
CG_PSIZE8 = 2829,
CG_PSIZE9 = 2830,
CG_PSIZE10 = 2831,
CG_PSIZE11 = 2832,
CG_PSIZE12 = 2833,
CG_PSIZE13 = 2834,
CG_PSIZE14 = 2835,
CG_PSIZE15 = 2836,
CG_BINORMAL0 = 2885,
CG_BINORMAL1 = 2886,
CG_BINORMAL2 = 2887,
CG_BINORMAL3 = 2888,
CG_BINORMAL4 = 2889,
CG_BINORMAL5 = 2890,
CG_BINORMAL6 = 2891,
CG_BINORMAL7 = 2892,
CG_BINORMAL8 = 2893,
CG_BINORMAL9 = 2894,
CG_BINORMAL10 = 2895,
CG_BINORMAL11 = 2896,
CG_BINORMAL12 = 2897,
CG_BINORMAL13 = 2898,
CG_BINORMAL14 = 2899,
CG_BINORMAL15 = 2900,
CG_FOG0 = 2917,
CG_FOG1 = 2918,
CG_FOG2 = 2919,
CG_FOG3 = 2920,
CG_FOG4 = 2921,
CG_FOG5 = 2922,
CG_FOG6 = 2923,
CG_FOG7 = 2924,
CG_FOG8 = 2925,
CG_FOG9 = 2926,
CG_FOG10 = 2927,
CG_FOG11 = 2928,
CG_FOG12 = 2929,
CG_FOG13 = 2930,
CG_FOG14 = 2931,
CG_FOG15 = 2932,
CG_DEPTH0 = 2933,
CG_DEPTH1 = 2934,
CG_DEPTH2 = 2935,
CG_DEPTH3 = 2936,
CG_DEPTH4 = 2937,
CG_DEPTH5 = 2938,
CG_DEPTH6 = 2939,
CG_DEPTH7 = 2940,
CG_DEPTH8 = 2941,
CG_DEPTH9 = 2942,
CG_DEPTH10 = 2943,
CG_DEPTH11 = 2944,
CG_DEPTH12 = 2945,
CG_DEPTH13 = 2946,
CG_DEPTH14 = 2947,
CG_DEPTH15 = 2948,
CG_SAMPLE0 = 2949,
CG_SAMPLE1 = 2950,
CG_SAMPLE2 = 2951,
CG_SAMPLE3 = 2952,
CG_SAMPLE4 = 2953,
CG_SAMPLE5 = 2954,
CG_SAMPLE6 = 2955,
CG_SAMPLE7 = 2956,
CG_SAMPLE8 = 2957,
CG_SAMPLE9 = 2958,
CG_SAMPLE10 = 2959,
CG_SAMPLE11 = 2960,
CG_SAMPLE12 = 2961,
CG_SAMPLE13 = 2962,
CG_SAMPLE14 = 2963,
CG_SAMPLE15 = 2964,
CG_BLENDWEIGHT0 = 3028,
CG_BLENDWEIGHT1 = 3029,
CG_BLENDWEIGHT2 = 3030,
CG_BLENDWEIGHT3 = 3031,
CG_BLENDWEIGHT4 = 3032,
CG_BLENDWEIGHT5 = 3033,
CG_BLENDWEIGHT6 = 3034,
CG_BLENDWEIGHT7 = 3035,
CG_BLENDWEIGHT8 = 3036,
CG_BLENDWEIGHT9 = 3037,
CG_BLENDWEIGHT10 = 3038,
CG_BLENDWEIGHT11 = 3039,
CG_BLENDWEIGHT12 = 3040,
CG_BLENDWEIGHT13 = 3041,
CG_BLENDWEIGHT14 = 3042,
CG_BLENDWEIGHT15 = 3043,
CG_NORMAL0 = 3092,
CG_NORMAL1 = 3093,
CG_NORMAL2 = 3094,
CG_NORMAL3 = 3095,
CG_NORMAL4 = 3096,
CG_NORMAL5 = 3097,
CG_NORMAL6 = 3098,
CG_NORMAL7 = 3099,
CG_NORMAL8 = 3100,
CG_NORMAL9 = 3101,
CG_NORMAL10 = 3102,
CG_NORMAL11 = 3103,
CG_NORMAL12 = 3104,
CG_NORMAL13 = 3105,
CG_NORMAL14 = 3106,
CG_NORMAL15 = 3107,
CG_FOGCOORD = 3156,
CG_TEXCOORD0 = 3220,
CG_TEXCOORD1 = 3221,
CG_TEXCOORD2 = 3222,
CG_TEXCOORD3 = 3223,
CG_TEXCOORD4 = 3224,
CG_TEXCOORD5 = 3225,
CG_TEXCOORD6 = 3226,
CG_TEXCOORD7 = 3227,
CG_TEXCOORD8 = 3228,
CG_TEXCOORD9 = 3229,
CG_TEXCOORD10 = 3230,
CG_TEXCOORD11 = 3231,
CG_TEXCOORD12 = 3232,
CG_TEXCOORD13 = 3233,
CG_TEXCOORD14 = 3234,
CG_TEXCOORD15 = 3235,
CG_COMBINER_CONST0 = 3284,
CG_COMBINER_CONST1 = 3285,
CG_COMBINER_STAGE_CONST0 = 3286,
CG_COMBINER_STAGE_CONST1 = 3287,
CG_OFFSET_TEXTURE_MATRIX = 3288,
CG_OFFSET_TEXTURE_SCALE = 3289,
CG_OFFSET_TEXTURE_BIAS = 3290,
CG_CONST_EYE = 3291,
CG_COVERAGE = 3292,
CG_TESSFACTOR = 3255,
CG_GLSL_UNIFORM = 3300,
CG_GLSL_ATTRIB = 3301,
CG_ENV = 3302,
CG_HLSL_UNIFORM = 3559,
CG_HLSL_VARYING = 3560,
CG_SAMPLER_RES = 3561,
CG_LASTCOL0 = 4400,
CG_LASTCOL1 = 4401,
CG_LASTCOL2 = 4402,
CG_LASTCOL3 = 4403,
CG_LASTCOL4 = 4404,
CG_LASTCOL5 = 4405,
CG_LASTCOL6 = 4406,
CG_LASTCOL7 = 4407,
CG_FACE = 4410,
CG_PRIMITIVEID = 4411,
CG_INSTANCEID = 4412,
CG_SAMPLEID = 4413,
CG_VERTEXID = 4414,
CG_LAYER = 4415,
CG_SAMPLEMASK = 4416,
CG_CONTROLPOINTID = 4417,
CG_EDGETESS = 4418,
CG_INNERTESS = 4419,
CG_UNDEFINED = 3256
} CGresource;
typedef enum typedef enum
{ {
#define CG_ERROR_MACRO(code, enum_name, message) \ CG_PROFILE_UNKNOWN = 6145,
enum_name = code, CG_PROFILE_VP20 = 6146,
#include <Cg/cg_errors.h> CG_PROFILE_FP20 = 6147,
CG_PROFILE_VP30 = 6148,
CG_ERROR_MAX CG_PROFILE_FP30 = 6149,
} CGerror; CG_PROFILE_ARBVP1 = 6150,
CG_PROFILE_FP40 = 6151,
CG_PROFILE_ARBFP1 = 7000,
CG_PROFILE_VP40 = 7001,
CG_PROFILE_GLSLV = 7007,
CG_PROFILE_GLSLF = 7008,
CG_PROFILE_GLSLG = 7016,
CG_PROFILE_GLSLC = 7009,
CG_PROFILE_GPU_FP = 7010, /* Deprecated alias for CG_PROFILE_GP4FP
*/
CG_PROFILE_GPU_VP = 7011, /* Deprecated alias for CG_PROFILE_GP4VP
*/
CG_PROFILE_GPU_GP = 7012, /* Deprecated alias for CG_PROFILE_GP4GP
*/
CG_PROFILE_GP4FP = 7010,
CG_PROFILE_GP4VP = 7011,
CG_PROFILE_GP4GP = 7012,
CG_PROFILE_GP5FP = 7017, /* NV_gpu_program5
*/
CG_PROFILE_GP5VP = 7018, /* NV_gpu_program5
*/
CG_PROFILE_GP5GP = 7019, /* NV_gpu_program5
*/
CG_PROFILE_GP5TCP = 7020, /* NV_tessellation_program5 Tessellation contr
ol program */
CG_PROFILE_GP5TEP = 7021, /* NV_tessellation_program5 Tessellation evalu
ation program */
CG_PROFILE_VS_1_1 = 6153,
CG_PROFILE_VS_2_0 = 6154,
CG_PROFILE_VS_2_X = 6155,
CG_PROFILE_VS_2_SW = 6156,
CG_PROFILE_VS_3_0 = 6157,
CG_PROFILE_HLSLV = 6158,
CG_PROFILE_PS_1_1 = 6159,
CG_PROFILE_PS_1_2 = 6160,
CG_PROFILE_PS_1_3 = 6161,
CG_PROFILE_PS_2_0 = 6162,
CG_PROFILE_PS_2_X = 6163,
CG_PROFILE_PS_2_SW = 6164,
CG_PROFILE_PS_3_0 = 6165,
CG_PROFILE_HLSLF = 6166,
CG_PROFILE_VS_4_0 = 6167,
CG_PROFILE_PS_4_0 = 6168,
CG_PROFILE_GS_4_0 = 6169,
CG_PROFILE_VS_5_0 = 6170,
CG_PROFILE_PS_5_0 = 6171,
CG_PROFILE_GS_5_0 = 6172,
CG_PROFILE_HS_5_0 = 6173,
CG_PROFILE_DS_5_0 = 6174,
CG_PROFILE_GENERIC = 7002
} CGprofile;
typedef enum typedef enum
{ {
#define CG_ENUM_MACRO(enum_name, enum_val) \ CG_NO_ERROR = 0,
enum_name = enum_val, CG_COMPILER_ERROR = 1,
#include <Cg/cg_enums.h> CG_INVALID_PARAMETER_ERROR = 2,
CG_INVALID_PROFILE_ERROR = 3,
CG_ENUM_MAX CG_PROGRAM_LOAD_ERROR = 4,
} CGenum; CG_PROGRAM_BIND_ERROR = 5,
CG_PROGRAM_NOT_LOADED_ERROR = 6,
CG_UNSUPPORTED_GL_EXTENSION_ERROR = 7,
CG_INVALID_VALUE_TYPE_ERROR = 8,
CG_NOT_MATRIX_PARAM_ERROR = 9,
CG_INVALID_ENUMERANT_ERROR = 10,
CG_NOT_4x4_MATRIX_ERROR = 11,
CG_FILE_READ_ERROR = 12,
CG_FILE_WRITE_ERROR = 13,
CG_NVPARSE_ERROR = 14,
CG_MEMORY_ALLOC_ERROR = 15,
CG_INVALID_CONTEXT_HANDLE_ERROR = 16,
CG_INVALID_PROGRAM_HANDLE_ERROR = 17,
CG_INVALID_PARAM_HANDLE_ERROR = 18,
CG_UNKNOWN_PROFILE_ERROR = 19,
CG_VAR_ARG_ERROR = 20,
CG_INVALID_DIMENSION_ERROR = 21,
CG_ARRAY_PARAM_ERROR = 22,
CG_OUT_OF_ARRAY_BOUNDS_ERROR = 23,
CG_CONFLICTING_TYPES_ERROR = 24,
CG_CONFLICTING_PARAMETER_TYPES_ERROR = 25,
CG_PARAMETER_IS_NOT_SHARED_ERROR = 26,
CG_INVALID_PARAMETER_VARIABILITY_ERROR = 27,
CG_CANNOT_DESTROY_PARAMETER_ERROR = 28,
CG_NOT_ROOT_PARAMETER_ERROR = 29,
CG_PARAMETERS_DO_NOT_MATCH_ERROR = 30,
CG_IS_NOT_PROGRAM_PARAMETER_ERROR = 31,
CG_INVALID_PARAMETER_TYPE_ERROR = 32,
CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR = 33,
CG_INVALID_SIZE_ERROR = 34,
CG_BIND_CREATES_CYCLE_ERROR = 35,
CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR = 36,
CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR = 37,
CG_ARRAY_HAS_WRONG_DIMENSION_ERROR = 38,
CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR = 39,
CG_INVALID_EFFECT_HANDLE_ERROR = 40,
CG_INVALID_STATE_HANDLE_ERROR = 41,
CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR = 42,
CG_INVALID_PASS_HANDLE_ERROR = 43,
CG_INVALID_ANNOTATION_HANDLE_ERROR = 44,
CG_INVALID_TECHNIQUE_HANDLE_ERROR = 45,
CG_INVALID_PARAMETER_HANDLE_ERROR = 46,
CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR = 47,
CG_INVALID_FUNCTION_HANDLE_ERROR = 48,
CG_INVALID_TECHNIQUE_ERROR = 49,
CG_INVALID_POINTER_ERROR = 50,
CG_NOT_ENOUGH_DATA_ERROR = 51,
CG_NON_NUMERIC_PARAMETER_ERROR = 52,
CG_ARRAY_SIZE_MISMATCH_ERROR = 53,
CG_CANNOT_SET_NON_UNIFORM_PARAMETER_ERROR = 54,
CG_DUPLICATE_NAME_ERROR = 55,
CG_INVALID_OBJ_HANDLE_ERROR = 56,
CG_INVALID_BUFFER_HANDLE_ERROR = 57,
CG_BUFFER_INDEX_OUT_OF_RANGE_ERROR = 58,
CG_BUFFER_ALREADY_MAPPED_ERROR = 59,
CG_BUFFER_UPDATE_NOT_ALLOWED_ERROR = 60,
CG_GLSLG_UNCOMBINED_LOAD_ERROR = 61
} CGerror;
/*!!! PREPROCESS END */ typedef enum
{
CG_UNKNOWN = 4096,
CG_IN = 4097,
CG_OUT = 4098,
CG_INOUT = 4099,
CG_MIXED = 4100,
CG_VARYING = 4101,
CG_UNIFORM = 4102,
CG_CONSTANT = 4103,
CG_PROGRAM_SOURCE = 4104, /* cgGetProgramString
*/
CG_PROGRAM_ENTRY = 4105, /* cgGetProgramString
*/
CG_COMPILED_PROGRAM = 4106, /* cgGetProgramString
*/
CG_PROGRAM_PROFILE = 4107, /* cgGetProgramString
*/
CG_GLOBAL = 4108,
CG_PROGRAM = 4109,
CG_DEFAULT = 4110,
CG_ERROR = 4111,
CG_SOURCE = 4112,
CG_OBJECT = 4113,
CG_COMPILE_MANUAL = 4114,
CG_COMPILE_IMMEDIATE = 4115,
CG_COMPILE_LAZY = 4116,
CG_CURRENT = 4117,
CG_LITERAL = 4118,
CG_VERSION = 4119, /* cgGetString
*/
CG_ROW_MAJOR = 4120,
CG_COLUMN_MAJOR = 4121,
CG_FRAGMENT = 4122, /* cgGetProgramInput and cg
GetProgramOutput */
CG_VERTEX = 4123, /* cgGetProgramInput and cg
GetProgramOutput */
CG_POINT = 4124, /* Geometry program cgGetPr
ogramInput */
CG_LINE = 4125, /* Geometry program cgGetPr
ogramInput */
CG_LINE_ADJ = 4126, /* Geometry program cgGetPr
ogramInput */
CG_TRIANGLE = 4127, /* Geometry program cgGetPr
ogramInput */
CG_TRIANGLE_ADJ = 4128, /* Geometry program cgGetPr
ogramInput */
CG_POINT_OUT = 4129, /* Geometry program cgGetPr
ogramOutput */
CG_LINE_OUT = 4130, /* Geometry program cgGetPr
ogramOutput */
CG_TRIANGLE_OUT = 4131, /* Geometry program cgGetPr
ogramOutput */
CG_IMMEDIATE_PARAMETER_SETTING = 4132,
CG_DEFERRED_PARAMETER_SETTING = 4133,
CG_NO_LOCKS_POLICY = 4134,
CG_THREAD_SAFE_POLICY = 4135,
CG_FORCE_UPPER_CASE_POLICY = 4136,
CG_UNCHANGED_CASE_POLICY = 4137,
CG_IS_OPENGL_PROFILE = 4138,
CG_IS_DIRECT3D_PROFILE = 4139,
CG_IS_DIRECT3D_8_PROFILE = 4140,
CG_IS_DIRECT3D_9_PROFILE = 4141,
CG_IS_DIRECT3D_10_PROFILE = 4142,
CG_IS_VERTEX_PROFILE = 4143,
CG_IS_FRAGMENT_PROFILE = 4144,
CG_IS_GEOMETRY_PROFILE = 4145,
CG_IS_TRANSLATION_PROFILE = 4146,
CG_IS_HLSL_PROFILE = 4147,
CG_IS_GLSL_PROFILE = 4148,
CG_IS_TESSELLATION_CONTROL_PROFILE = 4149,
CG_IS_TESSELLATION_EVALUATION_PROFILE = 4150,
CG_PATCH = 4152, /* cgGetProgramInput and cg
GetProgramOutput */
CG_IS_DIRECT3D_11_PROFILE = 4153
} CGenum;
typedef enum typedef enum
{ {
CG_PARAMETERCLASS_UNKNOWN = 0, CG_PARAMETERCLASS_UNKNOWN = 0,
CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_SCALAR = 1,
CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_VECTOR = 2,
CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_MATRIX = 3,
CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_STRUCT = 4,
CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_ARRAY = 5,
CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_SAMPLER = 6,
CG_PARAMETERCLASS_OBJECT, CG_PARAMETERCLASS_OBJECT = 7
} CGparameterclass;
CG_PARAMETERCLASS_MAX
} CGparameterclass;
typedef enum typedef enum
{ {
CG_UNKNOWN_DOMAIN = 0, CG_UNKNOWN_DOMAIN = 0,
CG_FIRST_DOMAIN = 1, CG_FIRST_DOMAIN = 1,
CG_VERTEX_DOMAIN = 1, CG_VERTEX_DOMAIN = 1,
CG_FRAGMENT_DOMAIN, CG_FRAGMENT_DOMAIN = 2,
CG_GEOMETRY_DOMAIN, CG_GEOMETRY_DOMAIN = 3,
CG_NUMBER_OF_DOMAINS, CG_TESSELLATION_CONTROL_DOMAIN = 4,
CG_TESSELLATION_EVALUATION_DOMAIN = 5
CG_DOMAIN_MAX
} CGdomain; } CGdomain;
typedef enum typedef enum
{ {
CG_MAP_READ = 0, CG_MAP_READ = 0,
CG_MAP_WRITE, CG_MAP_WRITE = 1,
CG_MAP_READ_WRITE, CG_MAP_READ_WRITE = 2,
CG_MAP_WRITE_DISCARD, CG_MAP_WRITE_DISCARD = 3,
CG_MAP_WRITE_NO_OVERWRITE, CG_MAP_WRITE_NO_OVERWRITE = 4
CG_MAP_MAX
} CGbufferaccess; } CGbufferaccess;
typedef enum typedef enum
{ {
CG_BUFFER_USAGE_STREAM_DRAW = 0, CG_BUFFER_USAGE_STREAM_DRAW = 0,
CG_BUFFER_USAGE_STREAM_READ, CG_BUFFER_USAGE_STREAM_READ = 1,
CG_BUFFER_USAGE_STREAM_COPY, CG_BUFFER_USAGE_STREAM_COPY = 2,
CG_BUFFER_USAGE_STATIC_DRAW, CG_BUFFER_USAGE_STATIC_DRAW = 3,
CG_BUFFER_USAGE_STATIC_READ, CG_BUFFER_USAGE_STATIC_READ = 4,
CG_BUFFER_USAGE_STATIC_COPY, CG_BUFFER_USAGE_STATIC_COPY = 5,
CG_BUFFER_USAGE_DYNAMIC_DRAW, CG_BUFFER_USAGE_DYNAMIC_DRAW = 6,
CG_BUFFER_USAGE_DYNAMIC_READ, CG_BUFFER_USAGE_DYNAMIC_READ = 7,
CG_BUFFER_USAGE_DYNAMIC_COPY, CG_BUFFER_USAGE_DYNAMIC_COPY = 8
CG_BUFFER_USAGE_MAX
} CGbufferusage; } CGbufferusage;
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C"
{
#endif #endif
typedef CGbool (CGENTRY * CGstatecallback)(CGstateassignment); typedef CGbool (CGENTRY * CGstatecallback)(CGstateassignment);
typedef void (CGENTRY * CGerrorCallbackFunc)(void); typedef void (CGENTRY * CGerrorCallbackFunc)(void);
typedef void (CGENTRY * CGerrorHandlerFunc)(CGcontext ctx, CGerror err, voi typedef void (CGENTRY * CGerrorHandlerFunc)(CGcontext, CGerror, void *);
d *data); typedef void (CGENTRY * CGIncludeCallbackFunc)(CGcontext, const char *);
typedef void (CGENTRY * CGIncludeCallbackFunc)(CGcontext ctx, const char *f
ilename);
/*************************************************************************/ /*************************************************************************/
/*** Functions ***/ /*** Functions ***/
/*************************************************************************/ /*************************************************************************/
#ifndef CG_EXPLICIT #ifndef CG_EXPLICIT
/*** Library policy functions ***/
CG_API CGenum CGENTRY cgSetLockingPolicy(CGenum lockingPolicy); CG_API CGenum CGENTRY cgSetLockingPolicy(CGenum lockingPolicy);
CG_API CGenum CGENTRY cgGetLockingPolicy(void); CG_API CGenum CGENTRY cgGetLockingPolicy(void);
CG_API CGenum CGENTRY cgSetSemanticCasePolicy(CGenum casePolicy); CG_API CGenum CGENTRY cgSetSemanticCasePolicy(CGenum casePolicy);
CG_API CGenum CGENTRY cgGetSemanticCasePolicy(void); CG_API CGenum CGENTRY cgGetSemanticCasePolicy(void);
/*** Context functions ***/
CG_API CGcontext CGENTRY cgCreateContext(void); CG_API CGcontext CGENTRY cgCreateContext(void);
CG_API void CGENTRY cgDestroyContext(CGcontext ctx); CG_API void CGENTRY cgSetContextBehavior(CGcontext context, CGbehavior beha
CG_API CGbool CGENTRY cgIsContext(CGcontext ctx); vior);
CG_API const char * CGENTRY cgGetLastListing(CGcontext ctx); CG_API CGbehavior CGENTRY cgGetContextBehavior(CGcontext context);
CG_API const char * CGENTRY cgGetBehaviorString(CGbehavior behavior);
CG_API CGbehavior CGENTRY cgGetBehavior(const char *behavior_string);
CG_API void CGENTRY cgDestroyContext(CGcontext context);
CG_API CGbool CGENTRY cgIsContext(CGcontext context);
CG_API const char * CGENTRY cgGetLastListing(CGcontext context);
CG_API void CGENTRY cgSetLastListing(CGhandle handle, const char *listing); CG_API void CGENTRY cgSetLastListing(CGhandle handle, const char *listing);
CG_API void CGENTRY cgSetAutoCompile(CGcontext ctx, CGenum flag); CG_API void CGENTRY cgSetAutoCompile(CGcontext context, CGenum autoCompileM
CG_API CGenum CGENTRY cgGetAutoCompile(CGcontext ctx); ode);
CG_API void CGENTRY cgSetParameterSettingMode(CGcontext ctx, CGenum paramet CG_API CGenum CGENTRY cgGetAutoCompile(CGcontext context);
erSettingMode); CG_API void CGENTRY cgSetParameterSettingMode(CGcontext context, CGenum par
CG_API CGenum CGENTRY cgGetParameterSettingMode(CGcontext ctx); ameterSettingMode);
CG_API CGenum CGENTRY cgGetParameterSettingMode(CGcontext context);
/*** Inclusion ***/ CG_API void CGENTRY cgSetCompilerIncludeString(CGcontext context, const cha
r *name, const char *source);
CG_API void CGENTRY cgSetCompilerIncludeString(CGcontext ctx, const char *n CG_API void CGENTRY cgSetCompilerIncludeFile(CGcontext context, const char
ame, const char *source); *name, const char *filename);
CG_API void CGENTRY cgSetCompilerIncludeFile(CGcontext ctx, const char *nam CG_API void CGENTRY cgSetCompilerIncludeCallback(CGcontext context, CGInclu
e, const char *filename); deCallbackFunc func);
CG_API void CGENTRY cgSetCompilerIncludeCallback(CGcontext ctx, CGIncludeCa CG_API CGIncludeCallbackFunc CGENTRY cgGetCompilerIncludeCallback(CGcontext
llbackFunc func); context);
CG_API CGIncludeCallbackFunc CGENTRY cgGetCompilerIncludeCallback(CGcontext CG_API CGprogram CGENTRY cgCreateProgram(CGcontext context, CGenum program_
ctx); type, const char *program, CGprofile profile, const char *entry, const char
**args);
/*** Program functions ***/ CG_API CGprogram CGENTRY cgCreateProgramFromFile(CGcontext context, CGenum
program_type, const char *program_file, CGprofile profile, const char *entr
CG_API CGprogram CGENTRY cgCreateProgram(CGcontext ctx, y, const char **args);
CGenum program_type,
const char *program,
CGprofile profile,
const char *entry,
const char **args);
CG_API CGprogram CGENTRY cgCreateProgramFromFile(CGcontext ctx,
CGenum program_type,
const char *program_file,
CGprofile profile,
const char *entry,
const char **args);
CG_API CGprogram CGENTRY cgCopyProgram(CGprogram program); CG_API CGprogram CGENTRY cgCopyProgram(CGprogram program);
CG_API void CGENTRY cgDestroyProgram(CGprogram program); CG_API void CGENTRY cgDestroyProgram(CGprogram program);
CG_API CGprogram CGENTRY cgGetFirstProgram(CGcontext context);
CG_API CGprogram CGENTRY cgGetFirstProgram(CGcontext ctx);
CG_API CGprogram CGENTRY cgGetNextProgram(CGprogram current); CG_API CGprogram CGENTRY cgGetNextProgram(CGprogram current);
CG_API CGcontext CGENTRY cgGetProgramContext(CGprogram prog); CG_API CGcontext CGENTRY cgGetProgramContext(CGprogram program);
CG_API CGbool CGENTRY cgIsProgram(CGprogram program); CG_API CGbool CGENTRY cgIsProgram(CGprogram program);
CG_API void CGENTRY cgCompileProgram(CGprogram program); CG_API void CGENTRY cgCompileProgram(CGprogram program);
CG_API CGbool CGENTRY cgIsProgramCompiled(CGprogram program); CG_API CGbool CGENTRY cgIsProgramCompiled(CGprogram program);
CG_API const char * CGENTRY cgGetProgramString(CGprogram prog, CGenum pname CG_API const char * CGENTRY cgGetProgramString(CGprogram program, CGenum pn
); ame);
CG_API CGprofile CGENTRY cgGetProgramProfile(CGprogram prog); CG_API CGprofile CGENTRY cgGetProgramProfile(CGprogram program);
CG_API char const * const * CGENTRY cgGetProgramOptions(CGprogram prog); CG_API char const * const * CGENTRY cgGetProgramOptions(CGprogram program);
CG_API void CGENTRY cgSetProgramProfile(CGprogram prog, CGprofile profile); CG_API void CGENTRY cgSetProgramProfile(CGprogram program, CGprofile profil
e);
CG_API CGenum CGENTRY cgGetProgramInput(CGprogram program); CG_API CGenum CGENTRY cgGetProgramInput(CGprogram program);
CG_API CGenum CGENTRY cgGetProgramOutput(CGprogram program); CG_API CGenum CGENTRY cgGetProgramOutput(CGprogram program);
CG_API void CGENTRY cgSetPassProgramParameters(CGprogram); CG_API void CGENTRY cgSetPassProgramParameters(CGprogram program);
CG_API void CGENTRY cgUpdateProgramParameters(CGprogram program); CG_API void CGENTRY cgUpdateProgramParameters(CGprogram program);
CG_API void CGENTRY cgUpdatePassParameters(CGpass pass); CG_API void CGENTRY cgUpdatePassParameters(CGpass pass);
CG_API CGparameter CGENTRY cgCreateParameter(CGcontext context, CGtype type
/*** Parameter functions ***/ );
CG_API CGparameter CGENTRY cgCreateParameterArray(CGcontext context, CGtype
CG_API CGparameter CGENTRY cgCreateParameter(CGcontext ctx, CGtype type); type, int length);
CG_API CGparameter CGENTRY cgCreateParameterArray(CGcontext ctx, CG_API CGparameter CGENTRY cgCreateParameterMultiDimArray(CGcontext context
CGtype type, , CGtype type, int dim, const int *lengths);
int length);
CG_API CGparameter CGENTRY cgCreateParameterMultiDimArray(CGcontext ctx,
CGtype type,
int dim,
const int *lengths);
CG_API void CGENTRY cgDestroyParameter(CGparameter param); CG_API void CGENTRY cgDestroyParameter(CGparameter param);
CG_API void CGENTRY cgConnectParameter(CGparameter from, CGparameter to); CG_API void CGENTRY cgConnectParameter(CGparameter from, CGparameter to);
CG_API void CGENTRY cgDisconnectParameter(CGparameter param); CG_API void CGENTRY cgDisconnectParameter(CGparameter param);
CG_API CGparameter CGENTRY cgGetConnectedParameter(CGparameter param); CG_API CGparameter CGENTRY cgGetConnectedParameter(CGparameter param);
CG_API int CGENTRY cgGetNumConnectedToParameters(CGparameter param); CG_API int CGENTRY cgGetNumConnectedToParameters(CGparameter param);
CG_API CGparameter CGENTRY cgGetConnectedToParameter(CGparameter param, int index); CG_API CGparameter CGENTRY cgGetConnectedToParameter(CGparameter param, int index);
CG_API CGparameter CGENTRY cgGetNamedParameter(CGprogram program, const cha
CG_API CGparameter CGENTRY cgGetNamedParameter(CGprogram prog, const char * r *name);
name); CG_API CGparameter CGENTRY cgGetNamedProgramParameter(CGprogram program, CG
CG_API CGparameter CGENTRY cgGetNamedProgramParameter(CGprogram prog, enum name_space, const char *name);
CGenum name_space, CG_API CGparameter CGENTRY cgGetFirstParameter(CGprogram program, CGenum na
const char *name); me_space);
CG_API CGparameter CGENTRY cgGetFirstParameter(CGprogram prog, CGenum name_
space);
CG_API CGparameter CGENTRY cgGetNextParameter(CGparameter current); CG_API CGparameter CGENTRY cgGetNextParameter(CGparameter current);
CG_API CGparameter CGENTRY cgGetFirstLeafParameter(CGprogram prog, CGenum n ame_space); CG_API CGparameter CGENTRY cgGetFirstLeafParameter(CGprogram program, CGenu m name_space);
CG_API CGparameter CGENTRY cgGetNextLeafParameter(CGparameter current); CG_API CGparameter CGENTRY cgGetNextLeafParameter(CGparameter current);
CG_API CGparameter CGENTRY cgGetFirstStructParameter(CGparameter param); CG_API CGparameter CGENTRY cgGetFirstStructParameter(CGparameter param);
CG_API CGparameter CGENTRY cgGetNamedStructParameter(CGparameter param, CG_API CGparameter CGENTRY cgGetNamedStructParameter(CGparameter param, con
const char *name); st char *name);
CG_API CGparameter CGENTRY cgGetFirstDependentParameter(CGparameter param); CG_API CGparameter CGENTRY cgGetFirstDependentParameter(CGparameter param);
CG_API CGparameter CGENTRY cgGetArrayParameter(CGparameter aparam, int inde x); CG_API CGparameter CGENTRY cgGetArrayParameter(CGparameter aparam, int inde x);
CG_API int CGENTRY cgGetArrayDimension(CGparameter param); CG_API int CGENTRY cgGetArrayDimension(CGparameter param);
CG_API CGtype CGENTRY cgGetArrayType(CGparameter param); CG_API CGtype CGENTRY cgGetArrayType(CGparameter param);
CG_API int CGENTRY cgGetArraySize(CGparameter param, int dimension); CG_API int CGENTRY cgGetArraySize(CGparameter param, int dimension);
CG_API int CGENTRY cgGetArrayTotalSize(CGparameter param); CG_API int CGENTRY cgGetArrayTotalSize(CGparameter param);
CG_API void CGENTRY cgSetArraySize(CGparameter param, int size); CG_API void CGENTRY cgSetArraySize(CGparameter param, int size);
CG_API void CGENTRY cgSetMultiDimArraySize(CGparameter param, const int *si zes); CG_API void CGENTRY cgSetMultiDimArraySize(CGparameter param, const int *si zes);
CG_API CGprogram CGENTRY cgGetParameterProgram(CGparameter param); CG_API CGprogram CGENTRY cgGetParameterProgram(CGparameter param);
CG_API CGcontext CGENTRY cgGetParameterContext(CGparameter param); CG_API CGcontext CGENTRY cgGetParameterContext(CGparameter param);
CG_API CGbool CGENTRY cgIsParameter(CGparameter param); CG_API CGbool CGENTRY cgIsParameter(CGparameter param);
CG_API const char * CGENTRY cgGetParameterName(CGparameter param); CG_API const char * CGENTRY cgGetParameterName(CGparameter param);
CG_API CGtype CGENTRY cgGetParameterType(CGparameter param); CG_API CGtype CGENTRY cgGetParameterType(CGparameter param);
CG_API CGtype CGENTRY cgGetParameterBaseType(CGparameter param); CG_API CGtype CGENTRY cgGetParameterBaseType(CGparameter param);
CG_API CGparameterclass CGENTRY cgGetParameterClass(CGparameter param); CG_API CGparameterclass CGENTRY cgGetParameterClass(CGparameter param);
CG_API int CGENTRY cgGetParameterRows(CGparameter param); CG_API int CGENTRY cgGetParameterRows(CGparameter param);
CG_API int CGENTRY cgGetParameterColumns(CGparameter param); CG_API int CGENTRY cgGetParameterColumns(CGparameter param);
CG_API CGtype CGENTRY cgGetParameterNamedType(CGparameter param); CG_API CGtype CGENTRY cgGetParameterNamedType(CGparameter param);
skipping to change at line 376 skipping to change at line 1071
CG_API int CGENTRY cgGetParameterColumns(CGparameter param); CG_API int CGENTRY cgGetParameterColumns(CGparameter param);
CG_API CGtype CGENTRY cgGetParameterNamedType(CGparameter param); CG_API CGtype CGENTRY cgGetParameterNamedType(CGparameter param);
CG_API const char * CGENTRY cgGetParameterSemantic(CGparameter param); CG_API const char * CGENTRY cgGetParameterSemantic(CGparameter param);
CG_API CGresource CGENTRY cgGetParameterResource(CGparameter param); CG_API CGresource CGENTRY cgGetParameterResource(CGparameter param);
CG_API CGresource CGENTRY cgGetParameterBaseResource(CGparameter param); CG_API CGresource CGENTRY cgGetParameterBaseResource(CGparameter param);
CG_API unsigned long CGENTRY cgGetParameterResourceIndex(CGparameter param) ; CG_API unsigned long CGENTRY cgGetParameterResourceIndex(CGparameter param) ;
CG_API CGenum CGENTRY cgGetParameterVariability(CGparameter param); CG_API CGenum CGENTRY cgGetParameterVariability(CGparameter param);
CG_API CGenum CGENTRY cgGetParameterDirection(CGparameter param); CG_API CGenum CGENTRY cgGetParameterDirection(CGparameter param);
CG_API CGbool CGENTRY cgIsParameterReferenced(CGparameter param); CG_API CGbool CGENTRY cgIsParameterReferenced(CGparameter param);
CG_API CGbool CGENTRY cgIsParameterUsed(CGparameter param, CGhandle handle) ; CG_API CGbool CGENTRY cgIsParameterUsed(CGparameter param, CGhandle handle) ;
CG_API const double * CGENTRY cgGetParameterValues(CGparameter param, CG_API const double * CGENTRY cgGetParameterValues(CGparameter param, CGenu
CGenum value_type, m value_type, int *nvalues);
int *nvalues); CG_API void CGENTRY cgSetParameterValuedr(CGparameter param, int nelements,
CG_API void CGENTRY cgSetParameterValuedr(CGparameter param, int n, const d const double *vals);
ouble *vals); CG_API void CGENTRY cgSetParameterValuedc(CGparameter param, int nelements,
CG_API void CGENTRY cgSetParameterValuedc(CGparameter param, int n, const d const double *vals);
ouble *vals); CG_API void CGENTRY cgSetParameterValuefr(CGparameter param, int nelements,
CG_API void CGENTRY cgSetParameterValuefr(CGparameter param, int n, const f const float *vals);
loat *vals); CG_API void CGENTRY cgSetParameterValuefc(CGparameter param, int nelements,
CG_API void CGENTRY cgSetParameterValuefc(CGparameter param, int n, const f const float *vals);
loat *vals); CG_API void CGENTRY cgSetParameterValueir(CGparameter param, int nelements,
CG_API void CGENTRY cgSetParameterValueir(CGparameter param, int n, const i const int *vals);
nt *vals); CG_API void CGENTRY cgSetParameterValueic(CGparameter param, int nelements,
CG_API void CGENTRY cgSetParameterValueic(CGparameter param, int n, const i const int *vals);
nt *vals); CG_API int CGENTRY cgGetParameterValuedr(CGparameter param, int nelements,
CG_API int CGENTRY cgGetParameterValuedr(CGparameter param, int n, double * double *vals);
vals); CG_API int CGENTRY cgGetParameterValuedc(CGparameter param, int nelements,
CG_API int CGENTRY cgGetParameterValuedc(CGparameter param, int n, double * double *vals);
vals); CG_API int CGENTRY cgGetParameterValuefr(CGparameter param, int nelements,
CG_API int CGENTRY cgGetParameterValuefr(CGparameter param, int n, float *v float *vals);
als); CG_API int CGENTRY cgGetParameterValuefc(CGparameter param, int nelements,
CG_API int CGENTRY cgGetParameterValuefc(CGparameter param, int n, float *v float *vals);
als); CG_API int CGENTRY cgGetParameterValueir(CGparameter param, int nelements,
CG_API int CGENTRY cgGetParameterValueir(CGparameter param, int n, int *val int *vals);
s); CG_API int CGENTRY cgGetParameterValueic(CGparameter param, int nelements,
CG_API int CGENTRY cgGetParameterValueic(CGparameter param, int n, int *val int *vals);
s); CG_API int CGENTRY cgGetParameterDefaultValuedr(CGparameter param, int nele
CG_API int CGENTRY cgGetParameterDefaultValuedr(CGparameter param, int n, d ments, double *vals);
ouble *vals); CG_API int CGENTRY cgGetParameterDefaultValuedc(CGparameter param, int nele
CG_API int CGENTRY cgGetParameterDefaultValuedc(CGparameter param, int n, d ments, double *vals);
ouble *vals); CG_API int CGENTRY cgGetParameterDefaultValuefr(CGparameter param, int nele
CG_API int CGENTRY cgGetParameterDefaultValuefr(CGparameter param, int n, f ments, float *vals);
loat *vals); CG_API int CGENTRY cgGetParameterDefaultValuefc(CGparameter param, int nele
CG_API int CGENTRY cgGetParameterDefaultValuefc(CGparameter param, int n, f ments, float *vals);
loat *vals); CG_API int CGENTRY cgGetParameterDefaultValueir(CGparameter param, int nele
CG_API int CGENTRY cgGetParameterDefaultValueir(CGparameter param, int n, i ments, int *vals);
nt *vals); CG_API int CGENTRY cgGetParameterDefaultValueic(CGparameter param, int nele
CG_API int CGENTRY cgGetParameterDefaultValueic(CGparameter param, int n, i ments, int *vals);
nt *vals);
CG_API const char * CGENTRY cgGetStringParameterValue(CGparameter param); CG_API const char * CGENTRY cgGetStringParameterValue(CGparameter param);
CG_API void CGENTRY cgSetStringParameterValue(CGparameter param, const char *str); CG_API void CGENTRY cgSetStringParameterValue(CGparameter param, const char *str);
CG_API int CGENTRY cgGetParameterOrdinalNumber(CGparameter param); CG_API int CGENTRY cgGetParameterOrdinalNumber(CGparameter param);
CG_API CGbool CGENTRY cgIsParameterGlobal(CGparameter param); CG_API CGbool CGENTRY cgIsParameterGlobal(CGparameter param);
CG_API int CGENTRY cgGetParameterIndex(CGparameter param); CG_API int CGENTRY cgGetParameterIndex(CGparameter param);
CG_API void CGENTRY cgSetParameterVariability(CGparameter param, CGenum var y); CG_API void CGENTRY cgSetParameterVariability(CGparameter param, CGenum var y);
CG_API void CGENTRY cgSetParameterSemantic(CGparameter param, const char *s emantic); CG_API void CGENTRY cgSetParameterSemantic(CGparameter param, const char *s emantic);
CG_API void CGENTRY cgSetParameter1f(CGparameter param, float x); CG_API void CGENTRY cgSetParameter1f(CGparameter param, float x);
CG_API void CGENTRY cgSetParameter2f(CGparameter param, float x, float y); CG_API void CGENTRY cgSetParameter2f(CGparameter param, float x, float y);
CG_API void CGENTRY cgSetParameter3f(CGparameter param, float x, float y, f loat z); CG_API void CGENTRY cgSetParameter3f(CGparameter param, float x, float y, f loat z);
CG_API void CGENTRY cgSetParameter4f(CGparameter param, CG_API void CGENTRY cgSetParameter4f(CGparameter param, float x, float y, f
float x, loat z, float w);
float y,
float z,
float w);
CG_API void CGENTRY cgSetParameter1d(CGparameter param, double x); CG_API void CGENTRY cgSetParameter1d(CGparameter param, double x);
CG_API void CGENTRY cgSetParameter2d(CGparameter param, double x, double y) ; CG_API void CGENTRY cgSetParameter2d(CGparameter param, double x, double y) ;
CG_API void CGENTRY cgSetParameter3d(CGparameter param, CG_API void CGENTRY cgSetParameter3d(CGparameter param, double x, double y,
double x, double z);
double y, CG_API void CGENTRY cgSetParameter4d(CGparameter param, double x, double y,
double z); double z, double w);
CG_API void CGENTRY cgSetParameter4d(CGparameter param,
double x,
double y,
double z,
double w);
CG_API void CGENTRY cgSetParameter1i(CGparameter param, int x); CG_API void CGENTRY cgSetParameter1i(CGparameter param, int x);
CG_API void CGENTRY cgSetParameter2i(CGparameter param, int x, int y); CG_API void CGENTRY cgSetParameter2i(CGparameter param, int x, int y);
CG_API void CGENTRY cgSetParameter3i(CGparameter param, int x, int y, int z ); CG_API void CGENTRY cgSetParameter3i(CGparameter param, int x, int y, int z );
CG_API void CGENTRY cgSetParameter4i(CGparameter param, CG_API void CGENTRY cgSetParameter4i(CGparameter param, int x, int y, int z
int x, , int w);
int y,
int z,
int w);
CG_API void CGENTRY cgSetParameter1iv(CGparameter param, const int *v); CG_API void CGENTRY cgSetParameter1iv(CGparameter param, const int *v);
CG_API void CGENTRY cgSetParameter2iv(CGparameter param, const int *v); CG_API void CGENTRY cgSetParameter2iv(CGparameter param, const int *v);
CG_API void CGENTRY cgSetParameter3iv(CGparameter param, const int *v); CG_API void CGENTRY cgSetParameter3iv(CGparameter param, const int *v);
CG_API void CGENTRY cgSetParameter4iv(CGparameter param, const int *v); CG_API void CGENTRY cgSetParameter4iv(CGparameter param, const int *v);
CG_API void CGENTRY cgSetParameter1fv(CGparameter param, const float *v); CG_API void CGENTRY cgSetParameter1fv(CGparameter param, const float *v);
CG_API void CGENTRY cgSetParameter2fv(CGparameter param, const float *v); CG_API void CGENTRY cgSetParameter2fv(CGparameter param, const float *v);
CG_API void CGENTRY cgSetParameter3fv(CGparameter param, const float *v); CG_API void CGENTRY cgSetParameter3fv(CGparameter param, const float *v);
CG_API void CGENTRY cgSetParameter4fv(CGparameter param, const float *v); CG_API void CGENTRY cgSetParameter4fv(CGparameter param, const float *v);
CG_API void CGENTRY cgSetParameter1dv(CGparameter param, const double *v); CG_API void CGENTRY cgSetParameter1dv(CGparameter param, const double *v);
CG_API void CGENTRY cgSetParameter2dv(CGparameter param, const double *v); CG_API void CGENTRY cgSetParameter2dv(CGparameter param, const double *v);
skipping to change at line 447 skipping to change at line 1121
CG_API void CGENTRY cgSetParameter3iv(CGparameter param, const int *v); CG_API void CGENTRY cgSetParameter3iv(CGparameter param, const int *v);
CG_API void CGENTRY cgSetParameter4iv(CGparameter param, const int *v); CG_API void CGENTRY cgSetParameter4iv(CGparameter param, const int *v);
CG_API void CGENTRY cgSetParameter1fv(CGparameter param, const float *v); CG_API void CGENTRY cgSetParameter1fv(CGparameter param, const float *v);
CG_API void CGENTRY cgSetParameter2fv(CGparameter param, const float *v); CG_API void CGENTRY cgSetParameter2fv(CGparameter param, const float *v);
CG_API void CGENTRY cgSetParameter3fv(CGparameter param, const float *v); CG_API void CGENTRY cgSetParameter3fv(CGparameter param, const float *v);
CG_API void CGENTRY cgSetParameter4fv(CGparameter param, const float *v); CG_API void CGENTRY cgSetParameter4fv(CGparameter param, const float *v);
CG_API void CGENTRY cgSetParameter1dv(CGparameter param, const double *v); CG_API void CGENTRY cgSetParameter1dv(CGparameter param, const double *v);
CG_API void CGENTRY cgSetParameter2dv(CGparameter param, const double *v); CG_API void CGENTRY cgSetParameter2dv(CGparameter param, const double *v);
CG_API void CGENTRY cgSetParameter3dv(CGparameter param, const double *v); CG_API void CGENTRY cgSetParameter3dv(CGparameter param, const double *v);
CG_API void CGENTRY cgSetParameter4dv(CGparameter param, const double *v); CG_API void CGENTRY cgSetParameter4dv(CGparameter param, const double *v);
CG_API void CGENTRY cgSetMatrixParameterir(CGparameter param, const int *ma trix); CG_API void CGENTRY cgSetMatrixParameterir(CGparameter param, const int *ma trix);
CG_API void CGENTRY cgSetMatrixParameterdr(CGparameter param, const double *matrix); CG_API void CGENTRY cgSetMatrixParameterdr(CGparameter param, const double *matrix);
CG_API void CGENTRY cgSetMatrixParameterfr(CGparameter param, const float * matrix); CG_API void CGENTRY cgSetMatrixParameterfr(CGparameter param, const float * matrix);
CG_API void CGENTRY cgSetMatrixParameteric(CGparameter param, const int *ma trix); CG_API void CGENTRY cgSetMatrixParameteric(CGparameter param, const int *ma trix);
CG_API void CGENTRY cgSetMatrixParameterdc(CGparameter param, const double *matrix); CG_API void CGENTRY cgSetMatrixParameterdc(CGparameter param, const double *matrix);
CG_API void CGENTRY cgSetMatrixParameterfc(CGparameter param, const float * matrix); CG_API void CGENTRY cgSetMatrixParameterfc(CGparameter param, const float * matrix);
CG_API void CGENTRY cgGetMatrixParameterir(CGparameter param, int *matrix); CG_API void CGENTRY cgGetMatrixParameterir(CGparameter param, int *matrix);
CG_API void CGENTRY cgGetMatrixParameterdr(CGparameter param, double *matri x); CG_API void CGENTRY cgGetMatrixParameterdr(CGparameter param, double *matri x);
CG_API void CGENTRY cgGetMatrixParameterfr(CGparameter param, float *matrix ); CG_API void CGENTRY cgGetMatrixParameterfr(CGparameter param, float *matrix );
CG_API void CGENTRY cgGetMatrixParameteric(CGparameter param, int *matrix); CG_API void CGENTRY cgGetMatrixParameteric(CGparameter param, int *matrix);
CG_API void CGENTRY cgGetMatrixParameterdc(CGparameter param, double *matri x); CG_API void CGENTRY cgGetMatrixParameterdc(CGparameter param, double *matri x);
CG_API void CGENTRY cgGetMatrixParameterfc(CGparameter param, float *matrix ); CG_API void CGENTRY cgGetMatrixParameterfc(CGparameter param, float *matrix );
CG_API CGenum CGENTRY cgGetMatrixParameterOrder(CGparameter param); CG_API CGenum CGENTRY cgGetMatrixParameterOrder(CGparameter param);
CG_API CGparameter CGENTRY cgGetNamedSubParameter(CGparameter param, const char *name); CG_API CGparameter CGENTRY cgGetNamedSubParameter(CGparameter param, const char *name);
/*** Type Functions ***/
CG_API const char * CGENTRY cgGetTypeString(CGtype type); CG_API const char * CGENTRY cgGetTypeString(CGtype type);
CG_API CGtype CGENTRY cgGetType(const char *type_string); CG_API CGtype CGENTRY cgGetType(const char *type_string);
CG_API CGtype CGENTRY cgGetNamedUserType(CGhandle handle, const char *name) ; CG_API CGtype CGENTRY cgGetNamedUserType(CGhandle handle, const char *name) ;
CG_API int CGENTRY cgGetNumUserTypes(CGhandle handle); CG_API int CGENTRY cgGetNumUserTypes(CGhandle handle);
CG_API CGtype CGENTRY cgGetUserType(CGhandle handle, int index); CG_API CGtype CGENTRY cgGetUserType(CGhandle handle, int index);
CG_API int CGENTRY cgGetNumParentTypes(CGtype type); CG_API int CGENTRY cgGetNumParentTypes(CGtype type);
CG_API CGtype CGENTRY cgGetParentType(CGtype type, int index); CG_API CGtype CGENTRY cgGetParentType(CGtype type, int index);
CG_API CGbool CGENTRY cgIsParentType(CGtype parent, CGtype child); CG_API CGbool CGENTRY cgIsParentType(CGtype parent, CGtype child);
CG_API CGbool CGENTRY cgIsInterfaceType(CGtype type); CG_API CGbool CGENTRY cgIsInterfaceType(CGtype type);
/*** Resource Functions ***/
CG_API const char * CGENTRY cgGetResourceString(CGresource resource); CG_API const char * CGENTRY cgGetResourceString(CGresource resource);
CG_API CGresource CGENTRY cgGetResource(const char *resource_string); CG_API CGresource CGENTRY cgGetResource(const char *resource_string);
/*** Enum Functions ***/
CG_API const char * CGENTRY cgGetEnumString(CGenum en); CG_API const char * CGENTRY cgGetEnumString(CGenum en);
CG_API CGenum CGENTRY cgGetEnum(const char *enum_string); CG_API CGenum CGENTRY cgGetEnum(const char *enum_string);
/*** Profile Functions ***/
CG_API const char * CGENTRY cgGetProfileString(CGprofile profile); CG_API const char * CGENTRY cgGetProfileString(CGprofile profile);
CG_API CGprofile CGENTRY cgGetProfile(const char *profile_string); CG_API CGprofile CGENTRY cgGetProfile(const char *profile_string);
CG_API int CGENTRY cgGetNumSupportedProfiles(void); CG_API int CGENTRY cgGetNumSupportedProfiles(void);
CG_API CGprofile CGENTRY cgGetSupportedProfile(int index); CG_API CGprofile CGENTRY cgGetSupportedProfile(int index);
CG_API CGbool CGENTRY cgIsProfileSupported(CGprofile profile); CG_API CGbool CGENTRY cgIsProfileSupported(CGprofile profile);
CG_API CGbool CGENTRY cgGetProfileProperty(CGprofile profile, CGenum query) ; CG_API CGbool CGENTRY cgGetProfileProperty(CGprofile profile, CGenum query) ;
/*** ParameterClass Functions ***/
CG_API const char * CGENTRY cgGetParameterClassString(CGparameterclass pc); CG_API const char * CGENTRY cgGetParameterClassString(CGparameterclass pc);
CG_API CGparameterclass CGENTRY cgGetParameterClassEnum(const char * pStrin CG_API CGparameterclass CGENTRY cgGetParameterClassEnum(const char *pString
g); );
/*** Domain Functions ***/
CG_API const char * CGENTRY cgGetDomainString(CGdomain domain); CG_API const char * CGENTRY cgGetDomainString(CGdomain domain);
CG_API CGdomain CGENTRY cgGetDomain(const char *domain_string); CG_API CGdomain CGENTRY cgGetDomain(const char *domain_string);
CG_API CGdomain CGENTRY cgGetProgramDomain(CGprogram program); CG_API CGdomain CGENTRY cgGetProgramDomain(CGprogram program);
/*** Error Functions ***/
CG_API CGerror CGENTRY cgGetError(void); CG_API CGerror CGENTRY cgGetError(void);
CG_API CGerror CGENTRY cgGetFirstError(void); CG_API CGerror CGENTRY cgGetFirstError(void);
CG_API const char * CGENTRY cgGetErrorString(CGerror error); CG_API const char * CGENTRY cgGetErrorString(CGerror error);
CG_API const char * CGENTRY cgGetLastErrorString(CGerror *error); CG_API const char * CGENTRY cgGetLastErrorString(CGerror *error);
CG_API void CGENTRY cgSetErrorCallback(CGerrorCallbackFunc func); CG_API void CGENTRY cgSetErrorCallback(CGerrorCallbackFunc func);
CG_API CGerrorCallbackFunc CGENTRY cgGetErrorCallback(void); CG_API CGerrorCallbackFunc CGENTRY cgGetErrorCallback(void);
CG_API void CGENTRY cgSetErrorHandler(CGerrorHandlerFunc func, void *data); CG_API void CGENTRY cgSetErrorHandler(CGerrorHandlerFunc func, void *data);
CG_API CGerrorHandlerFunc CGENTRY cgGetErrorHandler(void **data); CG_API CGerrorHandlerFunc CGENTRY cgGetErrorHandler(void **data);
/*** Misc Functions ***/
CG_API const char * CGENTRY cgGetString(CGenum sname); CG_API const char * CGENTRY cgGetString(CGenum sname);
CG_API CGeffect CGENTRY cgCreateEffect(CGcontext context, const char *code,
/*** CgFX Functions ***/ const char **args);
CG_API CGeffect CGENTRY cgCreateEffectFromFile(CGcontext context, const cha
CG_API CGeffect CGENTRY cgCreateEffect(CGcontext, const char *code, const c r *filename, const char **args);
har **args);
CG_API CGeffect CGENTRY cgCreateEffectFromFile(CGcontext, const char *filen
ame,
const char **args);
CG_API CGeffect CGENTRY cgCopyEffect(CGeffect effect); CG_API CGeffect CGENTRY cgCopyEffect(CGeffect effect);
CG_API void CGENTRY cgDestroyEffect(CGeffect); CG_API void CGENTRY cgDestroyEffect(CGeffect effect);
CG_API CGcontext CGENTRY cgGetEffectContext(CGeffect); CG_API CGcontext CGENTRY cgGetEffectContext(CGeffect effect);
CG_API CGbool CGENTRY cgIsEffect(CGeffect effect); CG_API CGbool CGENTRY cgIsEffect(CGeffect effect);
CG_API CGeffect CGENTRY cgGetFirstEffect(CGcontext context);
CG_API CGeffect CGENTRY cgGetFirstEffect(CGcontext); CG_API CGeffect CGENTRY cgGetNextEffect(CGeffect effect);
CG_API CGeffect CGENTRY cgGetNextEffect(CGeffect); CG_API CGprogram CGENTRY cgCreateProgramFromEffect(CGeffect effect, CGprofi
le profile, const char *entry, const char **args);
CG_API CGprogram CGENTRY cgCreateProgramFromEffect(CGeffect effect, CG_API CGtechnique CGENTRY cgGetFirstTechnique(CGeffect effect);
CGprofile profile, CG_API CGtechnique CGENTRY cgGetNextTechnique(CGtechnique tech);
const char *entry, CG_API CGtechnique CGENTRY cgGetNamedTechnique(CGeffect effect, const char
const char **args); *name);
CG_API const char * CGENTRY cgGetTechniqueName(CGtechnique tech);
CG_API CGtechnique CGENTRY cgGetFirstTechnique(CGeffect); CG_API CGbool CGENTRY cgIsTechnique(CGtechnique tech);
CG_API CGtechnique CGENTRY cgGetNextTechnique(CGtechnique); CG_API CGbool CGENTRY cgValidateTechnique(CGtechnique tech);
CG_API CGtechnique CGENTRY cgGetNamedTechnique(CGeffect, const char *name); CG_API CGbool CGENTRY cgIsTechniqueValidated(CGtechnique tech);
CG_API const char * CGENTRY cgGetTechniqueName(CGtechnique); CG_API CGeffect CGENTRY cgGetTechniqueEffect(CGtechnique tech);
CG_API CGbool CGENTRY cgIsTechnique(CGtechnique); CG_API CGpass CGENTRY cgGetFirstPass(CGtechnique tech);
CG_API CGbool CGENTRY cgValidateTechnique(CGtechnique); CG_API CGpass CGENTRY cgGetNamedPass(CGtechnique tech, const char *name);
CG_API CGbool CGENTRY cgIsTechniqueValidated(CGtechnique); CG_API CGpass CGENTRY cgGetNextPass(CGpass pass);
CG_API CGeffect CGENTRY cgGetTechniqueEffect(CGtechnique); CG_API CGbool CGENTRY cgIsPass(CGpass pass);
CG_API const char * CGENTRY cgGetPassName(CGpass pass);
CG_API CGpass CGENTRY cgGetFirstPass(CGtechnique); CG_API CGtechnique CGENTRY cgGetPassTechnique(CGpass pass);
CG_API CGpass CGENTRY cgGetNamedPass(CGtechnique, const char *name);
CG_API CGpass CGENTRY cgGetNextPass(CGpass);
CG_API CGbool CGENTRY cgIsPass(CGpass);
CG_API const char * CGENTRY cgGetPassName(CGpass);
CG_API CGtechnique CGENTRY cgGetPassTechnique(CGpass);
CG_API CGprogram CGENTRY cgGetPassProgram(CGpass pass, CGdomain domain); CG_API CGprogram CGENTRY cgGetPassProgram(CGpass pass, CGdomain domain);
CG_API void CGENTRY cgSetPassState(CGpass pass);
CG_API void CGENTRY cgSetPassState(CGpass); CG_API void CGENTRY cgResetPassState(CGpass pass);
CG_API void CGENTRY cgResetPassState(CGpass); CG_API CGstateassignment CGENTRY cgGetFirstStateAssignment(CGpass pass);
CG_API CGstateassignment CGENTRY cgGetNamedStateAssignment(CGpass pass, con
CG_API CGstateassignment CGENTRY cgGetFirstStateAssignment(CGpass); st char *name);
CG_API CGstateassignment CGENTRY cgGetNamedStateAssignment(CGpass, const ch CG_API CGstateassignment CGENTRY cgGetNextStateAssignment(CGstateassignment
ar *name); sa);
CG_API CGstateassignment CGENTRY cgGetNextStateAssignment(CGstateassignment CG_API CGbool CGENTRY cgIsStateAssignment(CGstateassignment sa);
); CG_API CGbool CGENTRY cgCallStateSetCallback(CGstateassignment sa);
CG_API CGbool CGENTRY cgIsStateAssignment(CGstateassignment); CG_API CGbool CGENTRY cgCallStateValidateCallback(CGstateassignment sa);
CG_API CGbool CGENTRY cgCallStateSetCallback(CGstateassignment); CG_API CGbool CGENTRY cgCallStateResetCallback(CGstateassignment sa);
CG_API CGbool CGENTRY cgCallStateValidateCallback(CGstateassignment); CG_API CGpass CGENTRY cgGetStateAssignmentPass(CGstateassignment sa);
CG_API CGbool CGENTRY cgCallStateResetCallback(CGstateassignment); CG_API CGparameter CGENTRY cgGetSamplerStateAssignmentParameter(CGstateassi
CG_API CGpass CGENTRY cgGetStateAssignmentPass(CGstateassignment); gnment sa);
CG_API CGparameter CGENTRY cgGetSamplerStateAssignmentParameter(CGstateassi CG_API const float * CGENTRY cgGetFloatStateAssignmentValues(CGstateassignm
gnment); ent sa, int *nvalues);
CG_API const int * CGENTRY cgGetIntStateAssignmentValues(CGstateassignment
CG_API const float * CGENTRY cgGetFloatStateAssignmentValues(CGstateassignm sa, int *nvalues);
ent, int *nVals); CG_API const CGbool * CGENTRY cgGetBoolStateAssignmentValues(CGstateassignm
CG_API const int * CGENTRY cgGetIntStateAssignmentValues(CGstateassignment, ent sa, int *nvalues);
int *nVals); CG_API const char * CGENTRY cgGetStringStateAssignmentValue(CGstateassignme
CG_API const CGbool * CGENTRY cgGetBoolStateAssignmentValues(CGstateassignm nt sa);
ent, int *nVals); CG_API CGprogram CGENTRY cgGetProgramStateAssignmentValue(CGstateassignment
CG_API const char * CGENTRY cgGetStringStateAssignmentValue(CGstateassignme sa);
nt); CG_API CGparameter CGENTRY cgGetTextureStateAssignmentValue(CGstateassignme
CG_API CGprogram CGENTRY cgGetProgramStateAssignmentValue(CGstateassignment nt sa);
); CG_API CGparameter CGENTRY cgGetSamplerStateAssignmentValue(CGstateassignme
CG_API CGparameter CGENTRY cgGetTextureStateAssignmentValue(CGstateassignme nt sa);
nt); CG_API int CGENTRY cgGetStateAssignmentIndex(CGstateassignment sa);
CG_API CGparameter CGENTRY cgGetSamplerStateAssignmentValue(CGstateassignme CG_API int CGENTRY cgGetNumDependentStateAssignmentParameters(CGstateassign
nt); ment sa);
CG_API int CGENTRY cgGetStateAssignmentIndex(CGstateassignment); CG_API CGparameter CGENTRY cgGetDependentStateAssignmentParameter(CGstateas
signment sa, int index);
CG_API int CGENTRY cgGetNumDependentStateAssignmentParameters(CGstateassign CG_API int CGENTRY cgGetNumDependentProgramArrayStateAssignmentParameters(C
ment); Gstateassignment sa);
CG_API CGparameter CGENTRY cgGetDependentStateAssignmentParameter(CGstateas CG_API CGparameter CGENTRY cgGetDependentProgramArrayStateAssignmentParamet
signment, int index); er(CGstateassignment sa, int index);
CG_API CGparameter CGENTRY cgGetConnectedStateAssignmentParameter(CGstateas
CG_API CGparameter CGENTRY cgGetConnectedStateAssignmentParameter(CGstateas signment sa);
signment); CG_API CGstate CGENTRY cgGetStateAssignmentState(CGstateassignment sa);
CG_API CGstate CGENTRY cgGetSamplerStateAssignmentState(CGstateassignment s
CG_API CGstate CGENTRY cgGetStateAssignmentState(CGstateassignment); a);
CG_API CGstate CGENTRY cgGetSamplerStateAssignmentState(CGstateassignment); CG_API CGstate CGENTRY cgCreateState(CGcontext context, const char *name, C
Gtype type);
CG_API CGstate CGENTRY cgCreateState(CGcontext, const char *name, CGtype); CG_API CGstate CGENTRY cgCreateArrayState(CGcontext context, const char *na
CG_API CGstate CGENTRY cgCreateArrayState(CGcontext, const char *name, CGty me, CGtype type, int nelements);
pe, int nelems); CG_API void CGENTRY cgSetStateCallbacks(CGstate state, CGstatecallback set,
CG_API void CGENTRY cgSetStateCallbacks(CGstate, CGstatecallback set, CGsta CGstatecallback reset, CGstatecallback validate);
tecallback reset, CG_API void CGENTRY cgSetStateLatestProfile(CGstate state, CGprofile profil
CGstatecallback validate); e);
CG_API void CGENTRY cgSetStateLatestProfile(CGstate, CGprofile); CG_API CGstatecallback CGENTRY cgGetStateSetCallback(CGstate state);
CG_API CGstatecallback CGENTRY cgGetStateSetCallback(CGstate); CG_API CGstatecallback CGENTRY cgGetStateResetCallback(CGstate state);
CG_API CGstatecallback CGENTRY cgGetStateResetCallback(CGstate); CG_API CGstatecallback CGENTRY cgGetStateValidateCallback(CGstate state);
CG_API CGstatecallback CGENTRY cgGetStateValidateCallback(CGstate); CG_API CGprofile CGENTRY cgGetStateLatestProfile(CGstate state);
CG_API CGprofile CGENTRY cgGetStateLatestProfile(CGstate); CG_API CGcontext CGENTRY cgGetStateContext(CGstate state);
CG_API CGcontext CGENTRY cgGetStateContext(CGstate); CG_API CGtype CGENTRY cgGetStateType(CGstate state);
CG_API CGtype CGENTRY cgGetStateType(CGstate); CG_API const char * CGENTRY cgGetStateName(CGstate state);
CG_API const char * CGENTRY cgGetStateName(CGstate); CG_API CGstate CGENTRY cgGetNamedState(CGcontext context, const char *name)
CG_API CGstate CGENTRY cgGetNamedState(CGcontext, const char *name); ;
CG_API CGstate CGENTRY cgGetFirstState(CGcontext); CG_API CGstate CGENTRY cgGetFirstState(CGcontext context);
CG_API CGstate CGENTRY cgGetNextState(CGstate); CG_API CGstate CGENTRY cgGetNextState(CGstate state);
CG_API CGbool CGENTRY cgIsState(CGstate); CG_API CGbool CGENTRY cgIsState(CGstate state);
CG_API void CGENTRY cgAddStateEnumerant(CGstate, const char *name, int valu CG_API void CGENTRY cgAddStateEnumerant(CGstate state, const char *name, in
e); t value);
CG_API CGstate CGENTRY cgCreateSamplerState(CGcontext context, const char *
CG_API CGstate CGENTRY cgCreateSamplerState(CGcontext, const char *name, CG name, CGtype type);
type); CG_API CGstate CGENTRY cgCreateArraySamplerState(CGcontext context, const c
CG_API CGstate CGENTRY cgCreateArraySamplerState(CGcontext, const char *nam har *name, CGtype type, int nelements);
e, CGtype, int nelems); CG_API CGstate CGENTRY cgGetNamedSamplerState(CGcontext context, const char
CG_API CGstate CGENTRY cgGetNamedSamplerState(CGcontext, const char *name); *name);
CG_API CGstate CGENTRY cgGetFirstSamplerState(CGcontext); CG_API CGstate CGENTRY cgGetFirstSamplerState(CGcontext context);
CG_API CGstateassignment CGENTRY cgGetFirstSamplerStateAssignment(CGparamet
CG_API CGstateassignment CGENTRY cgGetFirstSamplerStateAssignment(CGparamet er param);
er); CG_API CGstateassignment CGENTRY cgGetNamedSamplerStateAssignment(CGparamet
CG_API CGstateassignment CGENTRY cgGetNamedSamplerStateAssignment(CGparamet er param, const char *name);
er, const char *); CG_API void CGENTRY cgSetSamplerState(CGparameter param);
CG_API void CGENTRY cgSetSamplerState(CGparameter); CG_API CGparameter CGENTRY cgGetNamedEffectParameter(CGeffect effect, const
char *name);
CG_API CGparameter CGENTRY cgGetNamedEffectParameter(CGeffect, const char * CG_API CGparameter CGENTRY cgGetFirstLeafEffectParameter(CGeffect effect);
); CG_API CGparameter CGENTRY cgGetFirstEffectParameter(CGeffect effect);
CG_API CGparameter CGENTRY cgGetFirstLeafEffectParameter(CGeffect); CG_API CGparameter CGENTRY cgGetEffectParameterBySemantic(CGeffect effect,
CG_API CGparameter CGENTRY cgGetFirstEffectParameter(CGeffect); const char *semantic);
CG_API CGparameter CGENTRY cgGetEffectParameterBySemantic(CGeffect, const c CG_API CGannotation CGENTRY cgGetFirstTechniqueAnnotation(CGtechnique tech)
har *); ;
CG_API CGannotation CGENTRY cgGetFirstPassAnnotation(CGpass pass);
CG_API CGannotation CGENTRY cgGetFirstTechniqueAnnotation(CGtechnique); CG_API CGannotation CGENTRY cgGetFirstParameterAnnotation(CGparameter param
CG_API CGannotation CGENTRY cgGetFirstPassAnnotation(CGpass); );
CG_API CGannotation CGENTRY cgGetFirstParameterAnnotation(CGparameter); CG_API CGannotation CGENTRY cgGetFirstProgramAnnotation(CGprogram program);
CG_API CGannotation CGENTRY cgGetFirstProgramAnnotation(CGprogram); CG_API CGannotation CGENTRY cgGetFirstEffectAnnotation(CGeffect effect);
CG_API CGannotation CGENTRY cgGetFirstEffectAnnotation(CGeffect); CG_API CGannotation CGENTRY cgGetNextAnnotation(CGannotation ann);
CG_API CGannotation CGENTRY cgGetNextAnnotation(CGannotation); CG_API CGannotation CGENTRY cgGetNamedTechniqueAnnotation(CGtechnique tech,
const char *name);
CG_API CGannotation CGENTRY cgGetNamedTechniqueAnnotation(CGtechnique, cons CG_API CGannotation CGENTRY cgGetNamedPassAnnotation(CGpass pass, const cha
t char *); r *name);
CG_API CGannotation CGENTRY cgGetNamedPassAnnotation(CGpass, const char *); CG_API CGannotation CGENTRY cgGetNamedParameterAnnotation(CGparameter param
CG_API CGannotation CGENTRY cgGetNamedParameterAnnotation(CGparameter, cons , const char *name);
t char *); CG_API CGannotation CGENTRY cgGetNamedProgramAnnotation(CGprogram program,
CG_API CGannotation CGENTRY cgGetNamedProgramAnnotation(CGprogram, const ch const char *name);
ar *); CG_API CGannotation CGENTRY cgGetNamedEffectAnnotation(CGeffect effect, con
CG_API CGannotation CGENTRY cgGetNamedEffectAnnotation(CGeffect, const char st char *name);
*); CG_API CGbool CGENTRY cgIsAnnotation(CGannotation ann);
CG_API const char * CGENTRY cgGetAnnotationName(CGannotation ann);
CG_API CGbool CGENTRY cgIsAnnotation(CGannotation); CG_API CGtype CGENTRY cgGetAnnotationType(CGannotation ann);
CG_API const float * CGENTRY cgGetFloatAnnotationValues(CGannotation ann, i
CG_API const char * CGENTRY cgGetAnnotationName(CGannotation); nt *nvalues);
CG_API CGtype CGENTRY cgGetAnnotationType(CGannotation); CG_API const int * CGENTRY cgGetIntAnnotationValues(CGannotation ann, int *
nvalues);
CG_API const float * CGENTRY cgGetFloatAnnotationValues(CGannotation, int * CG_API const char * CGENTRY cgGetStringAnnotationValue(CGannotation ann);
nvalues); CG_API const char * const * CGENTRY cgGetStringAnnotationValues(CGannotatio
CG_API const int * CGENTRY cgGetIntAnnotationValues(CGannotation, int *nval n ann, int *nvalues);
ues); CG_API const CGbool * CGENTRY cgGetBoolAnnotationValues(CGannotation ann, i
CG_API const char * CGENTRY cgGetStringAnnotationValue(CGannotation); nt *nvalues);
CG_API const char * const * CGENTRY cgGetStringAnnotationValues(CGannotatio CG_API const int * CGENTRY cgGetBooleanAnnotationValues(CGannotation ann, i
n, int *nvalues); nt *nvalues);
CG_API const CGbool * CGENTRY cgGetBoolAnnotationValues(CGannotation, int * CG_API int CGENTRY cgGetNumDependentAnnotationParameters(CGannotation ann);
nvalues); CG_API CGparameter CGENTRY cgGetDependentAnnotationParameter(CGannotation a
CG_API const int * CGENTRY cgGetBooleanAnnotationValues(CGannotation, int * nn, int index);
nvalues); CG_API void CGENTRY cgEvaluateProgram(CGprogram program, float *buf, int nc
omps, int nx, int ny, int nz);
CG_API int CGENTRY cgGetNumDependentAnnotationParameters(CGannotation); CG_API CGbool CGENTRY cgSetEffectName(CGeffect effect, const char *name);
CG_API CGparameter CGENTRY cgGetDependentAnnotationParameter(CGannotation, CG_API const char * CGENTRY cgGetEffectName(CGeffect effect);
int index); CG_API CGeffect CGENTRY cgGetNamedEffect(CGcontext context, const char *nam
e);
CG_API void CGENTRY cgEvaluateProgram(CGprogram, float *, int ncomps, int n CG_API CGparameter CGENTRY cgCreateEffectParameter(CGeffect effect, const c
x, int ny, int nz); har *name, CGtype type);
CG_API CGtechnique CGENTRY cgCreateTechnique(CGeffect effect, const char *n
/*** Cg 1.5 Additions ***/ ame);
CG_API CGparameter CGENTRY cgCreateEffectParameterArray(CGeffect effect, co
CG_API CGbool CGENTRY cgSetEffectName(CGeffect, const char *name); nst char *name, CGtype type, int length);
CG_API const char * CGENTRY cgGetEffectName(CGeffect); CG_API CGparameter CGENTRY cgCreateEffectParameterMultiDimArray(CGeffect ef
CG_API CGeffect CGENTRY cgGetNamedEffect(CGcontext, const char *name); fect, const char *name, CGtype type, int dim, const int *lengths);
CG_API CGparameter CGENTRY cgCreateEffectParameter(CGeffect, const char *na CG_API CGpass CGENTRY cgCreatePass(CGtechnique tech, const char *name);
me, CGtype); CG_API CGstateassignment CGENTRY cgCreateStateAssignment(CGpass pass, CGsta
te state);
CG_API CGtechnique CGENTRY cgCreateTechnique(CGeffect, const char *name); CG_API CGstateassignment CGENTRY cgCreateStateAssignmentIndex(CGpass pass,
CGstate state, int index);
CG_API CGparameter CGENTRY cgCreateEffectParameterArray(CGeffect, const cha CG_API CGstateassignment CGENTRY cgCreateSamplerStateAssignment(CGparameter
r *name, CGtype type, int length); param, CGstate state);
CG_API CGparameter CGENTRY cgCreateEffectParameterMultiDimArray(CGeffect, c CG_API CGbool CGENTRY cgSetFloatStateAssignment(CGstateassignment sa, float
onst char *name, CGtype type, int dim, const int *lengths); value);
CG_API CGbool CGENTRY cgSetIntStateAssignment(CGstateassignment sa, int val
CG_API CGpass CGENTRY cgCreatePass(CGtechnique, const char *name); ue);
CG_API CGbool CGENTRY cgSetBoolStateAssignment(CGstateassignment sa, CGbool
CG_API CGstateassignment CGENTRY cgCreateStateAssignment(CGpass, CGstate); value);
CG_API CGstateassignment CGENTRY cgCreateStateAssignmentIndex(CGpass, CGsta CG_API CGbool CGENTRY cgSetStringStateAssignment(CGstateassignment sa, cons
te, int index); t char *value);
CG_API CGstateassignment CGENTRY cgCreateSamplerStateAssignment(CGparameter CG_API CGbool CGENTRY cgSetProgramStateAssignment(CGstateassignment sa, CGp
, CGstate); rogram program);
CG_API CGbool CGENTRY cgSetSamplerStateAssignment(CGstateassignment sa, CGp
CG_API CGbool CGENTRY cgSetFloatStateAssignment(CGstateassignment, float); arameter param);
CG_API CGbool CGENTRY cgSetIntStateAssignment(CGstateassignment, int); CG_API CGbool CGENTRY cgSetTextureStateAssignment(CGstateassignment sa, CGp
CG_API CGbool CGENTRY cgSetBoolStateAssignment(CGstateassignment, CGbool); arameter param);
CG_API CGbool CGENTRY cgSetStringStateAssignment(CGstateassignment, const c CG_API CGbool CGENTRY cgSetFloatArrayStateAssignment(CGstateassignment sa,
har *); const float *vals);
CG_API CGbool CGENTRY cgSetProgramStateAssignment(CGstateassignment, CGprog CG_API CGbool CGENTRY cgSetIntArrayStateAssignment(CGstateassignment sa, co
ram); nst int *vals);
CG_API CGbool CGENTRY cgSetSamplerStateAssignment(CGstateassignment, CGpara CG_API CGbool CGENTRY cgSetBoolArrayStateAssignment(CGstateassignment sa, c
meter); onst CGbool *vals);
CG_API CGbool CGENTRY cgSetTextureStateAssignment(CGstateassignment, CGpara CG_API CGannotation CGENTRY cgCreateTechniqueAnnotation(CGtechnique tech, c
meter); onst char *name, CGtype type);
CG_API CGannotation CGENTRY cgCreatePassAnnotation(CGpass pass, const char
CG_API CGbool CGENTRY cgSetFloatArrayStateAssignment(CGstateassignment, con *name, CGtype type);
st float *vals); CG_API CGannotation CGENTRY cgCreateParameterAnnotation(CGparameter param,
CG_API CGbool CGENTRY cgSetIntArrayStateAssignment(CGstateassignment, const const char *name, CGtype type);
int *vals); CG_API CGannotation CGENTRY cgCreateProgramAnnotation(CGprogram program, co
CG_API CGbool CGENTRY cgSetBoolArrayStateAssignment(CGstateassignment, cons nst char *name, CGtype type);
t CGbool *vals); CG_API CGannotation CGENTRY cgCreateEffectAnnotation(CGeffect effect, const
char *name, CGtype type);
CG_API CGannotation CGENTRY cgCreateTechniqueAnnotation(CGtechnique, const CG_API CGbool CGENTRY cgSetIntAnnotation(CGannotation ann, int value);
char *name, CGtype); CG_API CGbool CGENTRY cgSetFloatAnnotation(CGannotation ann, float value);
CG_API CGannotation CGENTRY cgCreatePassAnnotation(CGpass, const char *name CG_API CGbool CGENTRY cgSetBoolAnnotation(CGannotation ann, CGbool value);
, CGtype); CG_API CGbool CGENTRY cgSetStringAnnotation(CGannotation ann, const char *v
CG_API CGannotation CGENTRY cgCreateParameterAnnotation(CGparameter, const alue);
char *name, CGtype); CG_API int CGENTRY cgGetNumStateEnumerants(CGstate state);
CG_API CGannotation CGENTRY cgCreateProgramAnnotation(CGprogram, const char CG_API const char * CGENTRY cgGetStateEnumerant(CGstate state, int index, i
*name, CGtype); nt *value);
CG_API CGannotation CGENTRY cgCreateEffectAnnotation(CGeffect, const char * CG_API const char * CGENTRY cgGetStateEnumerantName(CGstate state, int valu
name, CGtype); e);
CG_API int CGENTRY cgGetStateEnumerantValue(CGstate state, const char *name
CG_API CGbool CGENTRY cgSetIntAnnotation(CGannotation, int value); );
CG_API CGbool CGENTRY cgSetFloatAnnotation(CGannotation, float value);
CG_API CGbool CGENTRY cgSetBoolAnnotation(CGannotation, CGbool value);
CG_API CGbool CGENTRY cgSetStringAnnotation(CGannotation, const char *value
);
CG_API int CGENTRY cgGetNumStateEnumerants(CGstate);
CG_API const char * CGENTRY cgGetStateEnumerant(CGstate, int index, int* va
lue);
CG_API const char * CGENTRY cgGetStateEnumerantName(CGstate, int value);
CG_API int CGENTRY cgGetStateEnumerantValue(CGstate, const char *name);
CG_API CGeffect CGENTRY cgGetParameterEffect(CGparameter param); CG_API CGeffect CGENTRY cgGetParameterEffect(CGparameter param);
CG_API CGparameterclass CGENTRY cgGetTypeClass(CGtype type); CG_API CGparameterclass CGENTRY cgGetTypeClass(CGtype type);
CG_API CGtype CGENTRY cgGetTypeBase(CGtype type); CG_API CGtype CGENTRY cgGetTypeBase(CGtype type);
CG_API CGbool CGENTRY cgGetTypeSizes(CGtype type, int *nrows, int *ncols); CG_API CGbool CGENTRY cgGetTypeSizes(CGtype type, int *nrows, int *ncols);
CG_API void CGENTRY cgGetMatrixSize(CGtype type, int *nrows, int *ncols); CG_API void CGENTRY cgGetMatrixSize(CGtype type, int *nrows, int *ncols);
CG_API int CGENTRY cgGetNumProgramDomains(CGprogram program);
CG_API int CGENTRY cgGetNumProgramDomains( CGprogram program ); CG_API CGdomain CGENTRY cgGetProfileDomain(CGprofile profile);
CG_API CGdomain CGENTRY cgGetProfileDomain( CGprofile profile ); CG_API CGprogram CGENTRY cgCombinePrograms(int n, const CGprogram *exeList)
CG_API CGprogram CGENTRY cgCombinePrograms( int n, const CGprogram *exeList ;
); CG_API CGprogram CGENTRY cgCombinePrograms2(const CGprogram exe1, const CGp
CG_API CGprogram CGENTRY cgCombinePrograms2( const CGprogram exe1, const CG rogram exe2);
program exe2 ); CG_API CGprogram CGENTRY cgCombinePrograms3(const CGprogram exe1, const CGp
CG_API CGprogram CGENTRY cgCombinePrograms3( const CGprogram exe1, const CG rogram exe2, const CGprogram exe3);
program exe2, const CGprogram exe3 ); CG_API CGprogram CGENTRY cgCombinePrograms4(const CGprogram exe1, const CGp
rogram exe2, const CGprogram exe3, const CGprogram exe4);
CG_API CGprogram CGENTRY cgCombinePrograms5(const CGprogram exe1, const CGp
rogram exe2, const CGprogram exe3, const CGprogram exe4, const CGprogram ex
e5);
CG_API CGprofile CGENTRY cgGetProgramDomainProfile(CGprogram program, int i ndex); CG_API CGprofile CGENTRY cgGetProgramDomainProfile(CGprogram program, int i ndex);
CG_API CGprogram CGENTRY cgGetProgramDomainProgram(CGprogram program, int i ndex); CG_API CGprogram CGENTRY cgGetProgramDomainProgram(CGprogram program, int i ndex);
CG_API CGobj CGENTRY cgCreateObj(CGcontext context, CGenum program_type, co
/*** CGobj Functions ***/ nst char *source, CGprofile profile, const char **args);
CG_API CGobj CGENTRY cgCreateObj( CGcontext context, CGenum program_type, c CG_API CGobj CGENTRY cgCreateObjFromFile(CGcontext context, CGenum program_
onst char *source, CGprofile profile, const char **args ); type, const char *source_file, CGprofile profile, const char **args);
CG_API CGobj CGENTRY cgCreateObjFromFile( CGcontext context, CGenum program CG_API void CGENTRY cgDestroyObj(CGobj obj);
_type, const char *source_file, CGprofile profile, const char **args ); CG_API long CGENTRY cgGetParameterResourceSize(CGparameter param);
CG_API void CGENTRY cgDestroyObj( CGobj obj ); CG_API CGtype CGENTRY cgGetParameterResourceType(CGparameter param);
CG_API const char * CGENTRY cgGetParameterResourceName(CGparameter param);
CG_API long CGENTRY cgGetParameterResourceSize(CGparameter); CG_API int CGENTRY cgGetParameterBufferIndex(CGparameter param);
CG_API CGtype CGENTRY cgGetParameterResourceType(CGparameter); CG_API int CGENTRY cgGetParameterBufferOffset(CGparameter param);
CG_API const char* CGENTRY cgGetParameterResourceName(CGparameter param); CG_API CGbuffer CGENTRY cgCreateBuffer(CGcontext context, int size, const v
CG_API int CGENTRY cgGetParameterBufferIndex(CGparameter); oid *data, CGbufferusage bufferUsage);
CG_API int CGENTRY cgGetParameterBufferOffset(CGparameter); CG_API void CGENTRY cgSetBufferData(CGbuffer buffer, int size, const void *
data);
CG_API CGbuffer CGENTRY cgCreateBuffer(CGcontext, int size, const void *dat CG_API void CGENTRY cgSetBufferSubData(CGbuffer buffer, int offset, int siz
a, CGbufferusage bufferUsage); e, const void *data);
CG_API void CGENTRY cgSetBufferData(CGbuffer, int size, const void *data);
CG_API void CGENTRY cgSetBufferSubData(CGbuffer, int offset, int size, cons
t void *data);
CG_API void CGENTRY cgSetProgramBuffer(CGprogram program, int bufferIndex, CGbuffer buffer); CG_API void CGENTRY cgSetProgramBuffer(CGprogram program, int bufferIndex, CGbuffer buffer);
CG_API void * CGENTRY cgMapBuffer(CGbuffer buffer, CGbufferaccess access); CG_API void * CGENTRY cgMapBuffer(CGbuffer buffer, CGbufferaccess access);
CG_API void CGENTRY cgUnmapBuffer(CGbuffer buffer); CG_API void CGENTRY cgUnmapBuffer(CGbuffer buffer);
CG_API void CGENTRY cgDestroyBuffer(CGbuffer buffer); CG_API void CGENTRY cgDestroyBuffer(CGbuffer buffer);
CG_API CGbuffer CGENTRY cgGetProgramBuffer(CGprogram, int bufferIndex); CG_API CGbuffer CGENTRY cgGetProgramBuffer(CGprogram program, int bufferInd
CG_API int CGENTRY cgGetBufferSize(CGbuffer); ex);
CG_API int CGENTRY cgGetBufferSize(CGbuffer buffer);
CG_API int CGENTRY cgGetProgramBufferMaxSize(CGprofile profile); CG_API int CGENTRY cgGetProgramBufferMaxSize(CGprofile profile);
CG_API int CGENTRY cgGetProgramBufferMaxIndex(CGprofile profile); CG_API int CGENTRY cgGetProgramBufferMaxIndex(CGprofile profile);
CG_API CGbuffer CGENTRY cgGetEffectParameterBuffer(CGparameter param);
CG_API void CGENTRY cgSetEffectParameterBuffer(CGparameter param, CGbuffer
buffer);
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#ifdef CG_APIENTRY_DEFINED #ifdef CG_APIENTRY_DEFINED
# undef CG_APIENTRY_DEFINED # undef CG_APIENTRY_DEFINED
# undef APIENTRY # undef APIENTRY
 End of changes. 68 change blocks. 
536 lines changed or deleted 1199 lines changed or added


 cgGL.h   cgGL.h 
skipping to change at line 55 skipping to change at line 55
* REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE NVIDIA SOFTWARE, * REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE NVIDIA SOFTWARE,
* HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING * HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING
* NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF NVIDIA HAS BEEN ADVI SED * NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF NVIDIA HAS BEEN ADVI SED
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
* *
*/ */
#ifndef _cggl_h #ifndef _cggl_h
#define _cggl_h #define _cggl_h
/*************************************************************************/
/*** CGGL Run-Time Library API ***/
/*************************************************************************/
#include <Cg/cg.h> #include <Cg/cg.h>
#ifdef _WIN32 #ifdef _WIN32
# ifndef APIENTRY /* From Win32's <windef.h> */ # ifndef APIENTRY /* From Win32's <windef.h> */
# define CGGL_APIENTRY_DEFINED # define CGGL_APIENTRY_DEFINED
# if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLAND C__) || defined(__LCC__) # if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLAND C__) || defined(__LCC__)
# define APIENTRY __stdcall # define APIENTRY __stdcall
# else # else
# define APIENTRY # define APIENTRY
# endif # endif
# endif # endif
# ifndef WINGDIAPI /* From Win32's <wingdi.h> and <winnt.h> */ # ifndef WINGDIAPI /* From Win32's <wingdi.h> and <winnt.h> */
# define CGGL_WINGDIAPI_DEFINED # define CGGL_WINGDIAPI_DEFINED
# define WINGDIAPI __declspec(dllimport) # define WINGDIAPI __declspec(dllimport)
# endif # endif
#endif /* _WIN32 */ #endif /* _WIN32 */
/* Set up for either Win32 import/export/lib. */ /* Set up CGGL_API for Win32 dllexport or gcc visibility. */
#ifndef CGGL_API #ifndef CGGL_API
# ifdef CGGL_EXPORTS # ifdef CGGL_EXPORTS
# ifdef _WIN32 # ifdef _WIN32
# define CGGL_API __declspec(dllexport) # define CGGL_API __declspec(dllexport)
# elif defined(__GNUC__) && __GNUC__>=4 # elif defined(__GNUC__) && __GNUC__>=4
# define CGGL_API __attribute__ ((visibility("default"))) # define CGGL_API __attribute__ ((visibility("default")))
# elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) # elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
# define CGGL_API __global # define CGGL_API __global
# else # else
# define CGGL_API # define CGGL_API
skipping to change at line 103 skipping to change at line 108
# define CGGLENTRY # define CGGLENTRY
# endif # endif
#endif #endif
#ifdef __APPLE__ #ifdef __APPLE__
#include <OpenGL/gl.h> #include <OpenGL/gl.h>
#else #else
#include <GL/gl.h> #include <GL/gl.h>
#endif #endif
#ifdef __cplusplus /*************************************************************************/
extern "C" { /*** Data types and enumerants ***/
#endif /*************************************************************************/
/**************************************************************************
***/
/*** cgGL Type Definitions
***/
/**************************************************************************
***/
typedef enum typedef enum
{ {
CG_GL_MATRIX_IDENTITY = 0, CG_GL_MATRIX_IDENTITY = 0,
CG_GL_MATRIX_TRANSPOSE = 1, CG_GL_MATRIX_TRANSPOSE = 1,
CG_GL_MATRIX_INVERSE = 2, CG_GL_MATRIX_INVERSE = 2,
CG_GL_MATRIX_INVERSE_TRANSPOSE = 3, CG_GL_MATRIX_INVERSE_TRANSPOSE = 3,
CG_GL_MODELVIEW_MATRIX = 4,
CG_GL_MODELVIEW_MATRIX, CG_GL_PROJECTION_MATRIX = 5,
CG_GL_PROJECTION_MATRIX, CG_GL_TEXTURE_MATRIX = 6,
CG_GL_TEXTURE_MATRIX, CG_GL_MODELVIEW_PROJECTION_MATRIX = 7,
CG_GL_MODELVIEW_PROJECTION_MATRIX, CG_GL_VERTEX = 8,
CG_GL_FRAGMENT = 9,
CG_GL_GEOMETRY = 10,
CG_GL_TESSELLATION_CONTROL = 11,
CG_GL_TESSELLATION_EVALUATION = 12
} CGGLenum;
CG_GL_VERTEX, #ifdef __cplusplus
CG_GL_FRAGMENT, extern "C"
CG_GL_GEOMETRY {
#endif
} CGGLenum; /*************************************************************************/
/*** Functions ***/
/*************************************************************************/
#ifndef CGGL_EXPLICIT #ifndef CGGL_EXPLICIT
/**************************************************************************
****
*** Profile Functions
**************************************************************************
***/
CGGL_API CGbool CGGLENTRY cgGLIsProfileSupported(CGprofile profile); CGGL_API CGbool CGGLENTRY cgGLIsProfileSupported(CGprofile profile);
CGGL_API void CGGLENTRY cgGLEnableProfile(CGprofile profile); CGGL_API void CGGLENTRY cgGLEnableProfile(CGprofile profile);
CGGL_API void CGGLENTRY cgGLDisableProfile(CGprofile profile); CGGL_API void CGGLENTRY cgGLDisableProfile(CGprofile profile);
CGGL_API CGprofile CGGLENTRY cgGLGetLatestProfile(CGGLenum profile_type); CGGL_API CGprofile CGGLENTRY cgGLGetLatestProfile(CGGLenum profile_type);
CGGL_API void CGGLENTRY cgGLSetOptimalOptions(CGprofile profile); CGGL_API void CGGLENTRY cgGLSetOptimalOptions(CGprofile profile);
CGGL_API char const ** CGGLENTRY cgGLGetOptimalOptions(CGprofile profile); CGGL_API char const ** CGGLENTRY cgGLGetOptimalOptions(CGprofile profile);
/**************************************************************************
****
*** Program Managment Functions
**************************************************************************
***/
CGGL_API void CGGLENTRY cgGLLoadProgram(CGprogram program); CGGL_API void CGGLENTRY cgGLLoadProgram(CGprogram program);
CGGL_API void CGGLENTRY cgGLUnloadProgram(CGprogram program); CGGL_API void CGGLENTRY cgGLUnloadProgram(CGprogram program);
CGGL_API CGbool CGGLENTRY cgGLIsProgramLoaded(CGprogram program); CGGL_API CGbool CGGLENTRY cgGLIsProgramLoaded(CGprogram program);
CGGL_API void CGGLENTRY cgGLBindProgram(CGprogram program); CGGL_API void CGGLENTRY cgGLBindProgram(CGprogram program);
CGGL_API void CGGLENTRY cgGLUnbindProgram(CGprofile profile); CGGL_API void CGGLENTRY cgGLUnbindProgram(CGprofile profile);
CGGL_API GLuint CGGLENTRY cgGLGetProgramID(CGprogram program); CGGL_API GLuint CGGLENTRY cgGLGetProgramID(CGprogram program);
CGGL_API void CGGLENTRY cgGLSetParameter1f(CGparameter param, float x);
/************************************************************************** CGGL_API void CGGLENTRY cgGLSetParameter2f(CGparameter param, float x, floa
**** t y);
*** Parameter Managment Functions CGGL_API void CGGLENTRY cgGLSetParameter3f(CGparameter param, float x, floa
************************************************************************** t y, float z);
***/ CGGL_API void CGGLENTRY cgGLSetParameter4f(CGparameter param, float x, floa
t y, float z, float w);
CGGL_API void CGGLENTRY cgGLSetParameter1f(CGparameter param,
float x);
CGGL_API void CGGLENTRY cgGLSetParameter2f(CGparameter param,
float x,
float y);
CGGL_API void CGGLENTRY cgGLSetParameter3f(CGparameter param,
float x,
float y,
float z);
CGGL_API void CGGLENTRY cgGLSetParameter4f(CGparameter param,
float x,
float y,
float z,
float w);
CGGL_API void CGGLENTRY cgGLSetParameter1fv(CGparameter param, const float *v); CGGL_API void CGGLENTRY cgGLSetParameter1fv(CGparameter param, const float *v);
CGGL_API void CGGLENTRY cgGLSetParameter2fv(CGparameter param, const float *v); CGGL_API void CGGLENTRY cgGLSetParameter2fv(CGparameter param, const float *v);
CGGL_API void CGGLENTRY cgGLSetParameter3fv(CGparameter param, const float *v); CGGL_API void CGGLENTRY cgGLSetParameter3fv(CGparameter param, const float *v);
CGGL_API void CGGLENTRY cgGLSetParameter4fv(CGparameter param, const float *v); CGGL_API void CGGLENTRY cgGLSetParameter4fv(CGparameter param, const float *v);
CGGL_API void CGGLENTRY cgGLSetParameter1d(CGparameter param, double x);
CGGL_API void CGGLENTRY cgGLSetParameter1d(CGparameter param, CGGL_API void CGGLENTRY cgGLSetParameter2d(CGparameter param, double x, dou
double x); ble y);
CGGL_API void CGGLENTRY cgGLSetParameter3d(CGparameter param, double x, dou
CGGL_API void CGGLENTRY cgGLSetParameter2d(CGparameter param, ble y, double z);
double x, CGGL_API void CGGLENTRY cgGLSetParameter4d(CGparameter param, double x, dou
double y); ble y, double z, double w);
CGGL_API void CGGLENTRY cgGLSetParameter3d(CGparameter param,
double x,
double y,
double z);
CGGL_API void CGGLENTRY cgGLSetParameter4d(CGparameter param,
double x,
double y,
double z,
double w);
CGGL_API void CGGLENTRY cgGLSetParameter1dv(CGparameter param, const double *v); CGGL_API void CGGLENTRY cgGLSetParameter1dv(CGparameter param, const double *v);
CGGL_API void CGGLENTRY cgGLSetParameter2dv(CGparameter param, const double *v); CGGL_API void CGGLENTRY cgGLSetParameter2dv(CGparameter param, const double *v);
CGGL_API void CGGLENTRY cgGLSetParameter3dv(CGparameter param, const double *v); CGGL_API void CGGLENTRY cgGLSetParameter3dv(CGparameter param, const double *v);
CGGL_API void CGGLENTRY cgGLSetParameter4dv(CGparameter param, const double *v); CGGL_API void CGGLENTRY cgGLSetParameter4dv(CGparameter param, const double *v);
CGGL_API void CGGLENTRY cgGLGetParameter1f(CGparameter param, float *v); CGGL_API void CGGLENTRY cgGLGetParameter1f(CGparameter param, float *v);
CGGL_API void CGGLENTRY cgGLGetParameter2f(CGparameter param, float *v); CGGL_API void CGGLENTRY cgGLGetParameter2f(CGparameter param, float *v);
CGGL_API void CGGLENTRY cgGLGetParameter3f(CGparameter param, float *v); CGGL_API void CGGLENTRY cgGLGetParameter3f(CGparameter param, float *v);
CGGL_API void CGGLENTRY cgGLGetParameter4f(CGparameter param, float *v); CGGL_API void CGGLENTRY cgGLGetParameter4f(CGparameter param, float *v);
CGGL_API void CGGLENTRY cgGLGetParameter1d(CGparameter param, double *v); CGGL_API void CGGLENTRY cgGLGetParameter1d(CGparameter param, double *v);
CGGL_API void CGGLENTRY cgGLGetParameter2d(CGparameter param, double *v); CGGL_API void CGGLENTRY cgGLGetParameter2d(CGparameter param, double *v);
CGGL_API void CGGLENTRY cgGLGetParameter3d(CGparameter param, double *v); CGGL_API void CGGLENTRY cgGLGetParameter3d(CGparameter param, double *v);
CGGL_API void CGGLENTRY cgGLGetParameter4d(CGparameter param, double *v); CGGL_API void CGGLENTRY cgGLGetParameter4d(CGparameter param, double *v);
CGGL_API void CGGLENTRY cgGLSetParameterArray1f(CGparameter param, long off
CGGL_API void CGGLENTRY cgGLSetParameterArray1f(CGparameter param, set, long nelements, const float *v);
long offset, CGGL_API void CGGLENTRY cgGLSetParameterArray2f(CGparameter param, long off
long nelements, set, long nelements, const float *v);
const float *v); CGGL_API void CGGLENTRY cgGLSetParameterArray3f(CGparameter param, long off
set, long nelements, const float *v);
CGGL_API void CGGLENTRY cgGLSetParameterArray2f(CGparameter param, CGGL_API void CGGLENTRY cgGLSetParameterArray4f(CGparameter param, long off
long offset, set, long nelements, const float *v);
long nelements, CGGL_API void CGGLENTRY cgGLSetParameterArray1d(CGparameter param, long off
const float *v); set, long nelements, const double *v);
CGGL_API void CGGLENTRY cgGLSetParameterArray2d(CGparameter param, long off
CGGL_API void CGGLENTRY cgGLSetParameterArray3f(CGparameter param, set, long nelements, const double *v);
long offset, CGGL_API void CGGLENTRY cgGLSetParameterArray3d(CGparameter param, long off
long nelements, set, long nelements, const double *v);
const float *v); CGGL_API void CGGLENTRY cgGLSetParameterArray4d(CGparameter param, long off
set, long nelements, const double *v);
CGGL_API void CGGLENTRY cgGLSetParameterArray4f(CGparameter param, CGGL_API void CGGLENTRY cgGLGetParameterArray1f(CGparameter param, long off
long offset, set, long nelements, float *v);
long nelements, CGGL_API void CGGLENTRY cgGLGetParameterArray2f(CGparameter param, long off
const float *v); set, long nelements, float *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray3f(CGparameter param, long off
CGGL_API void CGGLENTRY cgGLSetParameterArray1d(CGparameter param, set, long nelements, float *v);
long offset, CGGL_API void CGGLENTRY cgGLGetParameterArray4f(CGparameter param, long off
long nelements, set, long nelements, float *v);
const double *v); CGGL_API void CGGLENTRY cgGLGetParameterArray1d(CGparameter param, long off
set, long nelements, double *v);
CGGL_API void CGGLENTRY cgGLSetParameterArray2d(CGparameter param, CGGL_API void CGGLENTRY cgGLGetParameterArray2d(CGparameter param, long off
long offset, set, long nelements, double *v);
long nelements, CGGL_API void CGGLENTRY cgGLGetParameterArray3d(CGparameter param, long off
const double *v); set, long nelements, double *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray4d(CGparameter param, long off
CGGL_API void CGGLENTRY cgGLSetParameterArray3d(CGparameter param, set, long nelements, double *v);
long offset, CGGL_API void CGGLENTRY cgGLSetParameterPointer(CGparameter param, GLint fs
long nelements, ize, GLenum type, GLsizei stride, const GLvoid *pointer);
const double *v);
CGGL_API void CGGLENTRY cgGLSetParameterArray4d(CGparameter param,
long offset,
long nelements,
const double *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray1f(CGparameter param,
long offset,
long nelements,
float *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray2f(CGparameter param,
long offset,
long nelements,
float *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray3f(CGparameter param,
long offset,
long nelements,
float *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray4f(CGparameter param,
long offset,
long nelements,
float *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray1d(CGparameter param,
long offset,
long nelements,
double *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray2d(CGparameter param,
long offset,
long nelements,
double *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray3d(CGparameter param,
long offset,
long nelements,
double *v);
CGGL_API void CGGLENTRY cgGLGetParameterArray4d(CGparameter param,
long offset,
long nelements,
double *v);
CGGL_API void CGGLENTRY cgGLSetParameterPointer(CGparameter param,
GLint fsize,
GLenum type,
GLsizei stride,
const GLvoid *pointer);
CGGL_API void CGGLENTRY cgGLEnableClientState(CGparameter param); CGGL_API void CGGLENTRY cgGLEnableClientState(CGparameter param);
CGGL_API void CGGLENTRY cgGLDisableClientState(CGparameter param); CGGL_API void CGGLENTRY cgGLDisableClientState(CGparameter param);
CGGL_API void CGGLENTRY cgGLSetMatrixParameterdr(CGparameter param, const d
/************************************************************************** ouble *matrix);
**** CGGL_API void CGGLENTRY cgGLSetMatrixParameterfr(CGparameter param, const f
*** Matrix Parameter Managment Functions loat *matrix);
************************************************************************** CGGL_API void CGGLENTRY cgGLSetMatrixParameterdc(CGparameter param, const d
***/ ouble *matrix);
CGGL_API void CGGLENTRY cgGLSetMatrixParameterfc(CGparameter param, const f
CGGL_API void CGGLENTRY cgGLSetMatrixParameterdr(CGparameter param, loat *matrix);
const double *matrix);
CGGL_API void CGGLENTRY cgGLSetMatrixParameterfr(CGparameter param,
const float *matrix);
CGGL_API void CGGLENTRY cgGLSetMatrixParameterdc(CGparameter param,
const double *matrix);
CGGL_API void CGGLENTRY cgGLSetMatrixParameterfc(CGparameter param,
const float *matrix);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterdr(CGparameter param, double *matrix); CGGL_API void CGGLENTRY cgGLGetMatrixParameterdr(CGparameter param, double *matrix);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterfr(CGparameter param, float * matrix); CGGL_API void CGGLENTRY cgGLGetMatrixParameterfr(CGparameter param, float * matrix);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterdc(CGparameter param, double *matrix); CGGL_API void CGGLENTRY cgGLGetMatrixParameterdc(CGparameter param, double *matrix);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterfc(CGparameter param, float * matrix); CGGL_API void CGGLENTRY cgGLGetMatrixParameterfc(CGparameter param, float * matrix);
CGGL_API void CGGLENTRY cgGLSetStateMatrixParameter(CGparameter param, CGGL
CGGL_API void CGGLENTRY cgGLSetStateMatrixParameter(CGparameter param, enum matrix, CGGLenum transform);
CGGLenum matrix, CGGL_API void CGGLENTRY cgGLSetMatrixParameterArrayfc(CGparameter param, lo
CGGLenum transform); ng offset, long nelements, const float *matrices);
CGGL_API void CGGLENTRY cgGLSetMatrixParameterArrayfr(CGparameter param, lo
CGGL_API void CGGLENTRY cgGLSetMatrixParameterArrayfc(CGparameter param, ng offset, long nelements, const float *matrices);
long offset, CGGL_API void CGGLENTRY cgGLSetMatrixParameterArraydc(CGparameter param, lo
long nelements, ng offset, long nelements, const double *matrices);
const float *matrices); CGGL_API void CGGLENTRY cgGLSetMatrixParameterArraydr(CGparameter param, lo
ng offset, long nelements, const double *matrices);
CGGL_API void CGGLENTRY cgGLSetMatrixParameterArrayfr(CGparameter param, CGGL_API void CGGLENTRY cgGLGetMatrixParameterArrayfc(CGparameter param, lo
long offset, ng offset, long nelements, float *matrices);
long nelements, CGGL_API void CGGLENTRY cgGLGetMatrixParameterArrayfr(CGparameter param, lo
const float *matrices); ng offset, long nelements, float *matrices);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterArraydc(CGparameter param, lo
CGGL_API void CGGLENTRY cgGLSetMatrixParameterArraydc(CGparameter param, ng offset, long nelements, double *matrices);
long offset, CGGL_API void CGGLENTRY cgGLGetMatrixParameterArraydr(CGparameter param, lo
long nelements, ng offset, long nelements, double *matrices);
const double *matrices);
CGGL_API void CGGLENTRY cgGLSetMatrixParameterArraydr(CGparameter param,
long offset,
long nelements,
const double *matrices);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterArrayfc(CGparameter param,
long offset,
long nelements,
float *matrices);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterArrayfr(CGparameter param,
long offset,
long nelements,
float *matrices);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterArraydc(CGparameter param,
long offset,
long nelements,
double *matrices);
CGGL_API void CGGLENTRY cgGLGetMatrixParameterArraydr(CGparameter param,
long offset,
long nelements,
double *matrices);
/**************************************************************************
****
*** Texture Parameter Managment Functions
**************************************************************************
***/
CGGL_API void CGGLENTRY cgGLSetTextureParameter(CGparameter param, GLuint t exobj); CGGL_API void CGGLENTRY cgGLSetTextureParameter(CGparameter param, GLuint t exobj);
CGGL_API GLuint CGGLENTRY cgGLGetTextureParameter(CGparameter param); CGGL_API GLuint CGGLENTRY cgGLGetTextureParameter(CGparameter param);
CGGL_API void CGGLENTRY cgGLEnableTextureParameter(CGparameter param); CGGL_API void CGGLENTRY cgGLEnableTextureParameter(CGparameter param);
CGGL_API void CGGLENTRY cgGLDisableTextureParameter(CGparameter param); CGGL_API void CGGLENTRY cgGLDisableTextureParameter(CGparameter param);
CGGL_API GLenum CGGLENTRY cgGLGetTextureEnum(CGparameter param); CGGL_API GLenum CGGLENTRY cgGLGetTextureEnum(CGparameter param);
CGGL_API void CGGLENTRY cgGLSetManageTextureParameters(CGcontext ctx, CGboo l flag); CGGL_API void CGGLENTRY cgGLSetManageTextureParameters(CGcontext ctx, CGboo l flag);
CGGL_API CGbool CGGLENTRY cgGLGetManageTextureParameters(CGcontext ctx); CGGL_API CGbool CGGLENTRY cgGLGetManageTextureParameters(CGcontext ctx);
CGGL_API void CGGLENTRY cgGLSetupSampler(CGparameter param, GLuint texobj); CGGL_API void CGGLENTRY cgGLSetupSampler(CGparameter param, GLuint texobj);
CGGL_API void CGGLENTRY cgGLRegisterStates(CGcontext); CGGL_API void CGGLENTRY cgGLRegisterStates(CGcontext ctx);
CGGL_API void CGGLENTRY cgGLEnableProgramProfiles(CGprogram program);
CGGL_API void CGGLENTRY cgGLEnableProgramProfiles( CGprogram program ); CGGL_API void CGGLENTRY cgGLDisableProgramProfiles(CGprogram program);
CGGL_API void CGGLENTRY cgGLDisableProgramProfiles( CGprogram program ); CGGL_API void CGGLENTRY cgGLSetDebugMode(CGbool debug);
/**************************************************************************
****
*** Misc Functions
**************************************************************************
***/
CGGL_API void CGGLENTRY cgGLSetDebugMode( CGbool debug );
/**************************************************************************
****
*** Buffer Functions
**************************************************************************
***/
CGGL_API CGbuffer CGGLENTRY cgGLCreateBuffer(CGcontext context, int size, c onst void *data, GLenum bufferUsage); CGGL_API CGbuffer CGGLENTRY cgGLCreateBuffer(CGcontext context, int size, c onst void *data, GLenum bufferUsage);
CGGL_API GLuint CGGLENTRY cgGLGetBufferObject(CGbuffer buffer); CGGL_API GLuint CGGLENTRY cgGLGetBufferObject(CGbuffer buffer);
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#ifdef CGGL_APIENTRY_DEFINED #ifdef CGGL_APIENTRY_DEFINED
 End of changes. 32 change blocks. 
273 lines changed or deleted 109 lines changed or added


 complex.h   complex.h 
skipping to change at line 36 skipping to change at line 36
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
#if defined(__cplusplus) || defined(DOXYGEN_IGNORE) #if defined(__cplusplus) || defined(DOXYGEN_IGNORE)
extern "C" { extern "C" {
#endif #endif
/* \cond BOILERPLATE */ /* \cond BOILERPLATE */
#define CPX_MAJOR_VERSION 1 #define CPX_MAJOR_VERSION 1
#define CPX_MINOR_VERSION 6 #define CPX_MINOR_VERSION 6
#define CPX_BUILD_VERSION 5 #define CPX_BUILD_VERSION 8
#ifdef _WIN32 #ifdef _WIN32
# ifdef CPX_EXPORTS # ifdef CPX_EXPORTS
# define CPX_API __declspec(dllexport) # define CPX_API __declspec(dllexport)
# else # else
# define CPX_API __declspec(dllimport) # define CPX_API __declspec(dllimport)
# endif # endif
#else #else
# define CPX_API # define CPX_API
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 glext.h   glext.h 
#ifndef __glext_h_ #ifndef __glext_h_
#define __glext_h_ #define __glext_h_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* /*
** Copyright (c) 2007-2009 The Khronos Group Inc. ** Copyright (c) 2007-2010 The Khronos Group Inc.
** **
** Permission is hereby granted, free of charge, to any person obtaining a ** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the ** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Materials without restriction, including ** "Materials"), to deal in the Materials without restriction, including
** without limitation the rights to use, copy, modify, merge, publish, ** without limitation the rights to use, copy, modify, merge, publish,
** distribute, sublicense, and/or sell copies of the Materials, and to ** distribute, sublicense, and/or sell copies of the Materials, and to
** permit persons to whom the Materials are furnished to do so, subject to ** permit persons to whom the Materials are furnished to do so, subject to
** the following conditions: ** the following conditions:
** **
** The above copyright notice and this permission notice shall be included ** The above copyright notice and this permission notice shall be included
skipping to change at line 32 skipping to change at line 32
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/ */
/* Header file version number, required by OpenGL ABI for Linux */ /* Header file version number, required by OpenGL ABI for Linux */
/* glext.h last updated $Date: 2010-02-03 10:01:03 -0800 (Wed, 03 Feb 2010) $ */ /* glext.h last updated $Date: 2010-03-11 11:19:31 -0800 (Thu, 11 Mar 2010) $ */
/* Current version at http://www.opengl.org/registry/ */ /* Current version at http://www.opengl.org/registry/ */
#define GL_GLEXT_VERSION 58 #define GL_GLEXT_VERSION 60
/* Function declaration macros - to move into glplatform.h */ /* Function declaration macros - to move into glplatform.h */
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defin ed(__SCITECH_SNAP__) #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defin ed(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1 #define WIN32_LEAN_AND_MEAN 1
#include <windows.h> #include <windows.h>
#endif #endif
#ifndef APIENTRY #ifndef APIENTRY
#define APIENTRY #define APIENTRY
#endif #endif
skipping to change at line 890 skipping to change at line 889
/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */ /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
/* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */ /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */ /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */ /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
/* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */ /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
/* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */ /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
/* reuse GL_MAX_INTEGER_SAMPLES */ /* reuse GL_MAX_INTEGER_SAMPLES */
/* Don't need to reuse tokens from ARB_vertex_array_bgra since they're alre ady in 1.2 core */ /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're alre ady in 1.2 core */
#endif #endif
#ifndef GL_VERSION_3_3
/* Reuse tokens from ARB_blend_func_extended */
/* reuse GL_SRC1_COLOR */
/* reuse GL_ONE_MINUS_SRC1_COLOR */
/* reuse GL_ONE_MINUS_SRC1_ALPHA */
/* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
/* Would reuse tokens from ARB_explicit_attrib_location, but it has none */
/* Reuse tokens from ARB_occlusion_query2 */
/* reuse GL_ANY_SAMPLES_PASSED */
/* Reuse tokens from ARB_sampler_objects */
/* reuse GL_SAMPLER_BINDING */
/* Would reuse tokens from ARB_shader_bit_encoding, but it has none */
/* Reuse tokens from ARB_texture_rgb10_a2ui */
/* reuse GL_RGB10_A2UI */
/* Reuse tokens from ARB_texture_swizzle */
/* reuse GL_TEXTURE_SWIZZLE_R */
/* reuse GL_TEXTURE_SWIZZLE_G */
/* reuse GL_TEXTURE_SWIZZLE_B */
/* reuse GL_TEXTURE_SWIZZLE_A */
/* reuse GL_TEXTURE_SWIZZLE_RGBA */
/* Reuse tokens from ARB_timer_query */
/* reuse GL_TIME_ELAPSED */
/* reuse GL_TIMESTAMP */
/* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
/* reuse GL_INT_2_10_10_10_REV */
#endif
#ifndef GL_VERSION_4_0
/* Reuse tokens from ARB_draw_indirect */
/* reuse GL_DRAW_INDIRECT_BUFFER */
/* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
/* Reuse tokens from ARB_gpu_shader5 */
/* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
/* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
/* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
/* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
/* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
/* reuse GL_MAX_VERTEX_STREAMS */
/* Reuse tokens from ARB_gpu_shader_fp64 */
/* reuse GL_DOUBLE_VEC2 */
/* reuse GL_DOUBLE_VEC3 */
/* reuse GL_DOUBLE_VEC4 */
/* reuse GL_DOUBLE_MAT2 */
/* reuse GL_DOUBLE_MAT3 */
/* reuse GL_DOUBLE_MAT4 */
/* reuse GL_DOUBLE_MAT2x3 */
/* reuse GL_DOUBLE_MAT2x4 */
/* reuse GL_DOUBLE_MAT3x2 */
/* reuse GL_DOUBLE_MAT3x4 */
/* reuse GL_DOUBLE_MAT4x2 */
/* reuse GL_DOUBLE_MAT4x3 */
/* Reuse tokens from ARB_shader_subroutine */
/* reuse GL_ACTIVE_SUBROUTINES */
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
/* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
/* reuse GL_MAX_SUBROUTINES */
/* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
/* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
/* reuse GL_COMPATIBLE_SUBROUTINES */
/* Reuse tokens from ARB_tessellation_shader */
/* reuse GL_PATCHES */
/* reuse GL_PATCH_VERTICES */
/* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
/* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
/* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
/* reuse GL_TESS_GEN_MODE */
/* reuse GL_TESS_GEN_SPACING */
/* reuse GL_TESS_GEN_VERTEX_ORDER */
/* reuse GL_TESS_GEN_POINT_MODE */
/* reuse GL_ISOLINES */
/* reuse GL_FRACTIONAL_ODD */
/* reuse GL_FRACTIONAL_EVEN */
/* reuse GL_MAX_PATCH_VERTICES */
/* reuse GL_MAX_TESS_GEN_LEVEL */
/* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
/* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
/* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
/* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
/* reuse GL_MAX_TESS_PATCH_COMPONENTS */
/* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
/* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
/* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
/* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
/* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
/* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
/* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
/* reuse GL_TESS_EVALUATION_SHADER */
/* reuse GL_TESS_CONTROL_SHADER */
/* Would reuse tokens from ARB_texture_buffer_object_rgb32, but it has none
*/
/* Reuse tokens from ARB_transform_feedback2 */
/* reuse GL_TRANSFORM_FEEDBACK */
/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
/* reuse GL_TRANSFORM_FEEDBACK_BINDING */
/* Reuse tokens from ARB_transform_feedback3 */
/* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
/* reuse GL_MAX_VERTEX_STREAMS */
#endif
#ifndef GL_ARB_multitexture #ifndef GL_ARB_multitexture
#define GL_TEXTURE0_ARB 0x84C0 #define GL_TEXTURE0_ARB 0x84C0
#define GL_TEXTURE1_ARB 0x84C1 #define GL_TEXTURE1_ARB 0x84C1
#define GL_TEXTURE2_ARB 0x84C2 #define GL_TEXTURE2_ARB 0x84C2
#define GL_TEXTURE3_ARB 0x84C3 #define GL_TEXTURE3_ARB 0x84C3
#define GL_TEXTURE4_ARB 0x84C4 #define GL_TEXTURE4_ARB 0x84C4
#define GL_TEXTURE5_ARB 0x84C5 #define GL_TEXTURE5_ARB 0x84C5
#define GL_TEXTURE6_ARB 0x84C6 #define GL_TEXTURE6_ARB 0x84C6
#define GL_TEXTURE7_ARB 0x84C7 #define GL_TEXTURE7_ARB 0x84C7
#define GL_TEXTURE8_ARB 0x84C8 #define GL_TEXTURE8_ARB 0x84C8
skipping to change at line 1702 skipping to change at line 1806
#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
#endif #endif
#ifndef GL_ARB_texture_gather #ifndef GL_ARB_texture_gather
#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS 0x8F9F
#endif #endif
#ifndef GL_ARB_texture_query_lod #ifndef GL_ARB_texture_query_lod
#endif #endif
#ifndef GL_ARB_shading_language_include
#define GL_SHADER_INCLUDE_ARB 0x8DAE
#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
#define GL_NAMED_STRING_TYPE_ARB 0x8DEA
#endif
#ifndef GL_ARB_texture_compression_bptc
#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
#endif
#ifndef GL_ARB_blend_func_extended
#define GL_SRC1_COLOR 0x88F9
/* reuse GL_SRC1_ALPHA */
#define GL_ONE_MINUS_SRC1_COLOR 0x88FA
#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
#endif
#ifndef GL_ARB_explicit_attrib_location
#endif
#ifndef GL_ARB_occlusion_query2
#define GL_ANY_SAMPLES_PASSED 0x8C2F
#endif
#ifndef GL_ARB_sampler_objects
#define GL_SAMPLER_BINDING 0x8919
#endif
#ifndef GL_ARB_shader_bit_encoding
#endif
#ifndef GL_ARB_texture_rgb10_a2ui
#define GL_RGB10_A2UI 0x906F
#endif
#ifndef GL_ARB_texture_swizzle
#define GL_TEXTURE_SWIZZLE_R 0x8E42
#define GL_TEXTURE_SWIZZLE_G 0x8E43
#define GL_TEXTURE_SWIZZLE_B 0x8E44
#define GL_TEXTURE_SWIZZLE_A 0x8E45
#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
#endif
#ifndef GL_ARB_timer_query
#define GL_TIME_ELAPSED 0x88BF
#define GL_TIMESTAMP 0x8E28
#endif
#ifndef GL_ARB_vertex_type_2_10_10_10_rev
/* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
#define GL_INT_2_10_10_10_REV 0x8D9F
#endif
#ifndef GL_ARB_draw_indirect
#define GL_DRAW_INDIRECT_BUFFER 0x8F3F
#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
#endif
#ifndef GL_ARB_gpu_shader5
#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
#define GL_MAX_VERTEX_STREAMS 0x8E71
#endif
#ifndef GL_ARB_gpu_shader_fp64
/* reuse GL_DOUBLE */
#define GL_DOUBLE_VEC2 0x8FFC
#define GL_DOUBLE_VEC3 0x8FFD
#define GL_DOUBLE_VEC4 0x8FFE
#define GL_DOUBLE_MAT2 0x8F46
#define GL_DOUBLE_MAT3 0x8F47
#define GL_DOUBLE_MAT4 0x8F48
#define GL_DOUBLE_MAT2x3 0x8F49
#define GL_DOUBLE_MAT2x4 0x8F4A
#define GL_DOUBLE_MAT3x2 0x8F4B
#define GL_DOUBLE_MAT3x4 0x8F4C
#define GL_DOUBLE_MAT4x2 0x8F4D
#define GL_DOUBLE_MAT4x3 0x8F4E
#endif
#ifndef GL_ARB_shader_subroutine
#define GL_ACTIVE_SUBROUTINES 0x8DE5
#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
#define GL_MAX_SUBROUTINES 0x8DE7
#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
#define GL_COMPATIBLE_SUBROUTINES 0x8E4B
/* reuse GL_UNIFORM_SIZE */
/* reuse GL_UNIFORM_NAME_LENGTH */
#endif
#ifndef GL_ARB_tessellation_shader
#define GL_PATCHES 0x000E
#define GL_PATCH_VERTICES 0x8E72
#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
#define GL_TESS_GEN_MODE 0x8E76
#define GL_TESS_GEN_SPACING 0x8E77
#define GL_TESS_GEN_VERTEX_ORDER 0x8E78
#define GL_TESS_GEN_POINT_MODE 0x8E79
/* reuse GL_TRIANGLES */
/* reuse GL_QUADS */
#define GL_ISOLINES 0x8E7A
/* reuse GL_EQUAL */
#define GL_FRACTIONAL_ODD 0x8E7B
#define GL_FRACTIONAL_EVEN 0x8E7C
/* reuse GL_CCW */
/* reuse GL_CW */
#define GL_MAX_PATCH_VERTICES 0x8E7D
#define GL_MAX_TESS_GEN_LEVEL 0x8E7E
#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
#define GL_TESS_EVALUATION_SHADER 0x8E87
#define GL_TESS_CONTROL_SHADER 0x8E88
#endif
#ifndef GL_ARB_texture_buffer_object_rgb32
/* reuse GL_RGB32F */
/* reuse GL_RGB32UI */
/* reuse GL_RGB32I */
#endif
#ifndef GL_ARB_transform_feedback2
#define GL_TRANSFORM_FEEDBACK 0x8E22
#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
#endif
#ifndef GL_ARB_transform_feedback3
#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
#endif
#ifndef GL_EXT_abgr #ifndef GL_EXT_abgr
#define GL_ABGR_EXT 0x8000 #define GL_ABGR_EXT 0x8000
#endif #endif
#ifndef GL_EXT_blend_color #ifndef GL_EXT_blend_color
#define GL_CONSTANT_COLOR_EXT 0x8001 #define GL_CONSTANT_COLOR_EXT 0x8001
#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
#define GL_CONSTANT_ALPHA_EXT 0x8003 #define GL_CONSTANT_ALPHA_EXT 0x8003
#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
#define GL_BLEND_COLOR_EXT 0x8005 #define GL_BLEND_COLOR_EXT 0x8005
skipping to change at line 4490 skipping to change at line 4751
#ifndef ARB_sync #ifndef ARB_sync
typedef int64_t GLint64; typedef int64_t GLint64;
typedef uint64_t GLuint64; typedef uint64_t GLuint64;
typedef struct __GLsync *GLsync; typedef struct __GLsync *GLsync;
#endif #endif
#ifndef GL_VERSION_1_2 #ifndef GL_VERSION_1_2
#define GL_VERSION_1_2 1 #define GL_VERSION_1_2 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf); GLAPI void APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf bl
GLAPI void APIENTRY glBlendEquation (GLenum); ue, GLclampf alpha);
GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, G GLAPI void APIENTRY glBlendEquation (GLenum mode);
Lenum, const GLvoid *); GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint
GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, G end, GLsizei count, GLenum type, const GLvoid *indices);
Lsizei, GLint, GLenum, GLenum, const GLvoid *); GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint interna
GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GL lformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum
sizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); format, GLenum type, const GLvoid *pixels);
GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoff
, GLint, GLint, GLsizei, GLsizei); set, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei d
epth, GLenum format, GLenum type, const GLvoid *pixels);
GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint
xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLs
izei height);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint st art, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint st art, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, G Lint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint bo rder, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, G Lint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint bo rder, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level , GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei heigh t, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level , GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei heigh t, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint l evel, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsize i width, GLsizei height); typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint l evel, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsize i width, GLsizei height);
#endif #endif
#ifndef GL_VERSION_1_2_DEPRECATED #ifndef GL_VERSION_1_2_DEPRECATED
#define GL_VERSION_1_2_DEPRECATED 1 #define GL_VERSION_1_2_DEPRECATED 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLs
const GLvoid *); izei width, GLenum format, GLenum type, const GLvoid *table);
GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, c
*); onst GLfloat *params);
GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *) GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, c
; onst GLint *params);
GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat,
); GLint x, GLint y, GLsizei width);
GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *); GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum t
GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *); ype, GLvoid *table);
GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *); GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname
GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLen , GLfloat *params);
um, const GLvoid *); GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname
GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLs , GLint *params);
izei); GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei
GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, count, GLenum format, GLenum type, const GLvoid *data);
GLenum, const GLvoid *); GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLin
GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei t x, GLint y, GLsizei width);
, GLenum, GLenum, const GLvoid *); GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalfo
GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat); rmat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalfo
*); rmat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvo
GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint); id *image);
GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint * GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, G
); Lfloat params);
GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname,
, GLsizei); const GLfloat *params);
GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, G
, GLsizei, GLsizei); Lint params);
GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname,
*); const GLint *params);
GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *) GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum intern
; alformat, GLint x, GLint y, GLsizei width);
GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *); GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum intern
GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, alformat, GLint x, GLint y, GLsizei width, GLsizei height);
GLvoid *, GLvoid *); GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, G
GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, Lenum type, GLvoid *image);
GLenum, GLenum, const GLvoid *, const GLvoid *); GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pnam
GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvo e, GLfloat *params);
id *); GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pnam
GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *); e, GLint *params);
GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *); GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLe
GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid num type, GLvoid *row, GLvoid *column, GLvoid *span);
*); GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalform
GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *); at, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid
GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *); *row, const GLvoid *column);
GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean); GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum
GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean); format, GLenum type, GLvoid *values);
GLAPI void APIENTRY glResetHistogram (GLenum); GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname,
GLAPI void APIENTRY glResetMinmax (GLenum); GLfloat *params);
GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname,
GLint *params);
GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum for
mat, GLenum type, GLvoid *values);
GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GL
float *params);
GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GL
int *params);
GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum inter
nalformat, GLboolean sink);
GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboole
an sink);
GLAPI void APIENTRY glResetHistogram (GLenum target);
GLAPI void APIENTRY glResetMinmax (GLenum target);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum interna lformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum interna lformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLe num pname, const GLfloat *params); typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLe num pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLe num pname, const GLint *params); typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLe num pname, const GLint *params);
typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum int ernalformat, GLint x, GLint y, GLsizei width); typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum int ernalformat, GLint x, GLint y, GLsizei width);
typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum form at, GLenum type, GLvoid *table); typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum form at, GLenum type, GLvoid *table);
typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei sta rt, GLsizei count, GLenum format, GLenum type, const GLvoid *data); typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei sta rt, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
skipping to change at line 4578 skipping to change at line 4839
typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLen um pname, GLint *params); typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLen um pname, GLint *params);
typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalfor mat, GLboolean sink); typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalfor mat, GLboolean sink);
typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
#endif #endif
#ifndef GL_VERSION_1_3 #ifndef GL_VERSION_1_3
#define GL_VERSION_1_3 1 #define GL_VERSION_1_3 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glActiveTexture (GLenum); GLAPI void APIENTRY glActiveTexture (GLenum texture);
GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean); GLAPI void APIENTRY glSampleCoverage (GLclampf value, GLboolean invert);
GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLe
GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); num internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint bor
GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, der, GLsizei imageSize, const GLvoid *data);
GLsizei, GLint, GLsizei, const GLvoid *); GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLe
GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, num internalformat, GLsizei width, GLsizei height, GLint border, GLsizei im
GLint, GLsizei, const GLvoid *); ageSize, const GLvoid *data);
GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLe
GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); num internalformat, GLsizei width, GLint border, GLsizei imageSize, const G
GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, Lvoid *data);
GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level,
GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsize GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height,
i, GLenum, GLsizei, const GLvoid *); GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *); GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level,
GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format,
GLsizei imageSize, const GLvoid *data);
GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level,
GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoi
d *data);
GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, GL
void *img);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLin t level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei dept h, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLin t level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei dept h, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLin t level, GLenum internalformat, GLsizei width, GLsizei height, GLint border , GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLin t level, GLenum internalformat, GLsizei width, GLsizei height, GLint border , GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLin t level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageS ize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLin t level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageS ize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, G Lint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLs izei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, G Lint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLs izei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, G Lint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GL enum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, G Lint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GL enum format, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, G Lint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, G Lint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLi nt level, GLvoid *img); typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLi nt level, GLvoid *img);
#endif #endif
#ifndef GL_VERSION_1_3_DEPRECATED #ifndef GL_VERSION_1_3_DEPRECATED
#define GL_VERSION_1_3_DEPRECATED 1 #define GL_VERSION_1_3_DEPRECATED 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glClientActiveTexture (GLenum); GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble); GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *); GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat); GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *); GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint); GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *); GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort); GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *); GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble); GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble
GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *); t);
GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat); GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *); GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t)
GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint); ;
GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *); GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort); GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *); GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t)
); ;
GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *); GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble
GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *); t, GLdouble r);
GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint); GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *); GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t,
GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort); GLfloat r);
GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *); GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLi
, GLdouble); nt r);
GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *); GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, G GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t,
Lfloat); GLshort r);
GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *); GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint); GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble
GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *); t, GLdouble r, GLdouble q);
GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, G GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
Lshort); GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t,
GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *); GLfloat r, GLfloat q);
GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *); GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *); GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLi
GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *); nt r, GLint q);
GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *); GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t,
GLshort r, GLshort q);
GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GL double *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GL double *v);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s ); typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s );
typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GL float *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GL float *v);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GL int *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GL int *v);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s ); typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s );
typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GL short *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GL short *v);
skipping to change at line 4682 skipping to change at line 4943
typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GL short *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GL short *v);
typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
#endif #endif
#ifndef GL_VERSION_1_4 #ifndef GL_VERSION_1_4
#define GL_VERSION_1_4 1 #define GL_VERSION_1_4 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorR
GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei) GB, GLenum sfactorAlpha, GLenum dfactorAlpha);
; GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, GLint *first, GLsizei *
GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, c count, GLsizei primcount);
onst GLvoid* *, GLsizei); GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count,
GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat); GLenum type, const GLvoid* *indices, GLsizei primcount);
GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *); GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
GLAPI void APIENTRY glPointParameteri (GLenum, GLint); GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params
GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *); );
GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLe num dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLe num dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *firs t, GLsizei *count, GLsizei primcount); typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *firs t, GLsizei *count, GLsizei primcount);
typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLs izei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLs izei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat pa ram); typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat pa ram);
typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLf loat *params); typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLf loat *params);
typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint para m); typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint para m);
typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLi nt *params); typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLi nt *params);
#endif #endif
#ifndef GL_VERSION_1_4_DEPRECATED #ifndef GL_VERSION_1_4_DEPRECATED
#define GL_VERSION_1_4_DEPRECATED 1 #define GL_VERSION_1_4_DEPRECATED 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFogCoordf (GLfloat); GLAPI void APIENTRY glFogCoordf (GLfloat coord);
GLAPI void APIENTRY glFogCoordfv (const GLfloat *); GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
GLAPI void APIENTRY glFogCoordd (GLdouble); GLAPI void APIENTRY glFogCoordd (GLdouble coord);
GLAPI void APIENTRY glFogCoorddv (const GLdouble *); GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const G
GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte); Lvoid *pointer);
GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *); GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte bl
GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble); ue);
GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *); GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdou
GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *); ble blue);
GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint); GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
GLAPI void APIENTRY glSecondaryColor3iv (const GLint *); GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat
GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort); blue);
GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *); GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte); GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue)
GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *); ;
GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint); GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *); GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort
GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort); blue);
GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *); GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyt
GLvoid *); e blue);
GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble); GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
GLAPI void APIENTRY glWindowPos2dv (const GLdouble *); GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint b
GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat); lue);
GLAPI void APIENTRY glWindowPos2fv (const GLfloat *); GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
GLAPI void APIENTRY glWindowPos2i (GLint, GLint); GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLus
GLAPI void APIENTRY glWindowPos2iv (const GLint *); hort blue);
GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort); GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
GLAPI void APIENTRY glWindowPos2sv (const GLshort *); GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsiz
GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble); ei stride, const GLvoid *pointer);
GLAPI void APIENTRY glWindowPos3dv (const GLdouble *); GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
GLAPI void APIENTRY glWindowPos3fv (const GLfloat *); GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint); GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
GLAPI void APIENTRY glWindowPos3iv (const GLint *); GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort); GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
GLAPI void APIENTRY glWindowPos3sv (const GLshort *); GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei str ide, const GLvoid *pointer); typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei str ide, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte gree n, GLbyte blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte gree n, GLbyte blue);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
skipping to change at line 4784 skipping to change at line 5045
typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v); typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshor t z); typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshor t z);
typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v); typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
#endif #endif
#ifndef GL_VERSION_1_5 #ifndef GL_VERSION_1_5
#define GL_VERSION_1_5 1 #define GL_VERSION_1_5 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *); GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
GLAPI GLboolean APIENTRY glIsQuery (GLuint); GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
GLAPI void APIENTRY glBeginQuery (GLenum, GLuint); GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
GLAPI void APIENTRY glEndQuery (GLenum); GLAPI void APIENTRY glEndQuery (GLenum target);
GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *); GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *param
GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *); s);
GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *); GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *par
GLAPI void APIENTRY glBindBuffer (GLenum, GLuint); ams);
GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *); GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *p
GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *); arams);
GLAPI GLboolean APIENTRY glIsBuffer (GLuint); GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenu GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
m); GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GL GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
void *); GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLv
GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoi oid *data, GLenum usage);
d *); GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsize
GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum); iptr size, const GLvoid *data);
GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum); GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLs
GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *); izeiptr size, GLvoid *data);
GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *); GLAPI GLvoid* APIENTRY glMapBuffer (GLenum target, GLenum access);
GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GL
int *params);
GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoi
d* *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *i ds); typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *i ds);
typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname , GLint *params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname , GLint *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pnam e, GLuint *params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pnam e, GLuint *params);
typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer) ; typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer) ;
skipping to change at line 4828 skipping to change at line 5089
typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum acces s); typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum acces s);
typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLen um pname, GLint *params); typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLen um pname, GLint *params);
typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params); typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
#endif #endif
#ifndef GL_VERSION_2_0 #ifndef GL_VERSION_2_0
#define GL_VERSION_2_0 1 #define GL_VERSION_2_0 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum); GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlp
GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *); ha);
GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum); GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint); GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum
GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint); dpfail, GLenum dppass);
GLAPI void APIENTRY glAttachShader (GLuint, GLuint); GLAPI void APIENTRY glStencilFuncSeparate (GLenum frontfunc, GLenum backfun
GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *); c, GLint ref, GLuint mask);
GLAPI void APIENTRY glCompileShader (GLuint); GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, con
st GLchar *name);
GLAPI void APIENTRY glCompileShader (GLuint shader);
GLAPI GLuint APIENTRY glCreateProgram (void); GLAPI GLuint APIENTRY glCreateProgram (void);
GLAPI GLuint APIENTRY glCreateShader (GLenum); GLAPI GLuint APIENTRY glCreateShader (GLenum type);
GLAPI void APIENTRY glDeleteProgram (GLuint); GLAPI void APIENTRY glDeleteProgram (GLuint program);
GLAPI void APIENTRY glDeleteShader (GLuint); GLAPI void APIENTRY glDeleteShader (GLuint shader);
GLAPI void APIENTRY glDetachShader (GLuint, GLuint); GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
GLAPI void APIENTRY glDisableVertexAttribArray (GLuint); GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
GLAPI void APIENTRY glEnableVertexAttribArray (GLuint); GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsize
GLint *, GLenum *, GLchar *); i bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsiz
GLint *, GLenum *, GLchar *); ei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuin GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount,
t *); GLsizei *count, GLuint *obj);
GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *); GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *nam
GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *); e);
GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *pa
*); rams);
GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *); GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, G
GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar Lsizei *length, GLchar *infoLog);
*); GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *para
GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar * ms);
); GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLs
GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *); izei *length, GLchar *infoLog);
GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *); GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsi
GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *); zei *length, GLchar *source);
GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *); GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *na
GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *); me);
GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *); GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat
GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *); *params);
GLAPI GLboolean APIENTRY glIsProgram (GLuint); GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *
GLAPI GLboolean APIENTRY glIsShader (GLuint); params);
GLAPI void APIENTRY glLinkProgram (GLuint); GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdoub
GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const le *params);
GLint *); GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloa
GLAPI void APIENTRY glUseProgram (GLuint); t *params);
GLAPI void APIENTRY glUniform1f (GLint, GLfloat); GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint
GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat); *params);
GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname,
GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat) GLvoid* *pointer);
; GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
GLAPI void APIENTRY glUniform1i (GLint, GLint); GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint); GLAPI void APIENTRY glLinkProgram (GLuint program);
GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint); GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLc
GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint); har* *string, const GLint *length);
GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *); GLAPI void APIENTRY glUseProgram (GLuint program);
GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *); GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *); GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *); GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GL
GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *); float v2);
GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *); GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GL
GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *); float v2, GLfloat v3);
GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *); GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GL GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
float *); GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint
GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GL v2);
float *); GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint
GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GL v2, GLint v3);
float *); GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfl
GLAPI void APIENTRY glValidateProgram (GLuint); oat *value);
GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble); GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfl
GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *); oat *value);
GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat); GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfl
GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *); oat *value);
GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort); GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfl
GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *); oat *value);
GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble); GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLin
GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *); t *value);
GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat); GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLin
GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *); t *value);
GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort); GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLin
GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *); t *value);
GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble) GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLin
; t *value);
GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *); GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLbo
GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat); olean transpose, const GLfloat *value);
GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *); GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLbo
GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort); olean transpose, const GLfloat *value);
GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *); GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLbo
GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *); olean transpose, const GLfloat *value);
GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *); GLAPI void APIENTRY glValidateProgram (GLuint program);
GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
GLubyte); GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *); GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *); GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *); GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y)
GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, ;
GLdouble); GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *); GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GL GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
float); GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *); GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *); GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y,
GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GL GLdouble z);
short); GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, G
GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *); Lfloat z);
GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *); GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, G
GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean Lshort z);
, GLsizei, const GLvoid *); GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y,
GLubyte z, GLubyte w);
GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y,
GLdouble z, GLdouble w);
GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, G
Lfloat z, GLfloat w);
GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, G
Lshort z, GLshort w);
GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum
type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GL enum modeAlpha); typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GL enum modeAlpha);
typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *buf s); typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *buf s);
typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sf ail, GLenum dpfail, GLenum dppass); typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sf ail, GLenum dpfail, GLenum dppass);
typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GL enum backfunc, GLint ref, GLuint mask); typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GL enum backfunc, GLint ref, GLuint mask);
typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shad er); typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shad er);
typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuin t index, const GLchar *name); typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuin t index, const GLchar *name);
typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
skipping to change at line 5020 skipping to change at line 5281
typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLsh ort *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLsh ort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLu byte *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLu byte *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLu int *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLu int *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLu short *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLu short *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *poin ter); typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *poin ter);
#endif #endif
#ifndef GL_VERSION_2_1 #ifndef GL_VERSION_2_1
#define GL_VERSION_2_1 1 #define GL_VERSION_2_1 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glUniformMatrix2x3fv (GLint, GLsizei, GLboolean, const GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GL
GLfloat *); boolean transpose, const GLfloat *value);
GLAPI void APIENTRY glUniformMatrix3x2fv (GLint, GLsizei, GLboolean, const GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GL
GLfloat *); boolean transpose, const GLfloat *value);
GLAPI void APIENTRY glUniformMatrix2x4fv (GLint, GLsizei, GLboolean, const GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GL
GLfloat *); boolean transpose, const GLfloat *value);
GLAPI void APIENTRY glUniformMatrix4x2fv (GLint, GLsizei, GLboolean, const GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GL
GLfloat *); boolean transpose, const GLfloat *value);
GLAPI void APIENTRY glUniformMatrix3x4fv (GLint, GLsizei, GLboolean, const GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GL
GLfloat *); boolean transpose, const GLfloat *value);
GLAPI void APIENTRY glUniformMatrix4x3fv (GLint, GLsizei, GLboolean, const GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GL
GLfloat *); boolean transpose, const GLfloat *value);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsiz ei count, GLboolean transpose, const GLfloat *value);
#endif #endif
#ifndef GL_VERSION_3_0 #ifndef GL_VERSION_3_0
#define GL_VERSION_3_0 1 #define GL_VERSION_3_0 1
/* OpenGL 3.0 also reuses entry points from these extensions: */ /* OpenGL 3.0 also reuses entry points from these extensions: */
/* ARB_framebuffer_object */ /* ARB_framebuffer_object */
/* ARB_map_buffer_range */ /* ARB_map_buffer_range */
/* ARB_vertex_array_object */ /* ARB_vertex_array_object */
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glColorMaski (GLuint, GLboolean, GLboolean, GLboolean, GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, G
GLboolean); Lboolean b, GLboolean a);
GLAPI void APIENTRY glGetBooleani_v (GLenum, GLuint, GLboolean *); GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean
GLAPI void APIENTRY glGetIntegeri_v (GLenum, GLuint, GLint *); *data);
GLAPI void APIENTRY glEnablei (GLenum, GLuint); GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *da
GLAPI void APIENTRY glDisablei (GLenum, GLuint); ta);
GLAPI GLboolean APIENTRY glIsEnabledi (GLenum, GLuint); GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
GLAPI void APIENTRY glBeginTransformFeedback (GLenum); GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
GLAPI void APIENTRY glEndTransformFeedback (void); GLAPI void APIENTRY glEndTransformFeedback (void);
GLAPI void APIENTRY glBindBufferRange (GLenum, GLuint, GLuint, GLintptr, GL GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint
sizeiptr); buffer, GLintptr offset, GLsizeiptr size);
GLAPI void APIENTRY glBindBufferBase (GLenum, GLuint, GLuint); GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint b
GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint, GLsizei, const GLc uffer);
har* *, GLenum); GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei co
GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint, GLuint, GLsizei, unt, const GLchar* *varyings, GLenum bufferMode);
GLsizei *, GLsizei *, GLenum *, GLchar *); GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint i
GLAPI void APIENTRY glClampColor (GLenum, GLenum); ndex, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar
GLAPI void APIENTRY glBeginConditionalRender (GLuint, GLenum); *name);
GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
GLAPI void APIENTRY glEndConditionalRender (void); GLAPI void APIENTRY glEndConditionalRender (void);
GLAPI void APIENTRY glVertexAttribIPointer (GLuint, GLint, GLenum, GLsizei, GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenu
const GLvoid *); m type, GLsizei stride, const GLvoid *pointer);
GLAPI void APIENTRY glGetVertexAttribIiv (GLuint, GLenum, GLint *); GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint
GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint, GLenum, GLuint *); *params);
GLAPI void APIENTRY glVertexAttribI1i (GLuint, GLint); GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLui
GLAPI void APIENTRY glVertexAttribI2i (GLuint, GLint, GLint); nt *params);
GLAPI void APIENTRY glVertexAttribI3i (GLuint, GLint, GLint, GLint); GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
GLAPI void APIENTRY glVertexAttribI4i (GLuint, GLint, GLint, GLint, GLint); GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
GLAPI void APIENTRY glVertexAttribI1ui (GLuint, GLuint); GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLin
GLAPI void APIENTRY glVertexAttribI2ui (GLuint, GLuint, GLuint); t z);
GLAPI void APIENTRY glVertexAttribI3ui (GLuint, GLuint, GLuint, GLuint); GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLin
GLAPI void APIENTRY glVertexAttribI4ui (GLuint, GLuint, GLuint, GLuint, GLu t z, GLint w);
int); GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
GLAPI void APIENTRY glVertexAttribI1iv (GLuint, const GLint *); GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
GLAPI void APIENTRY glVertexAttribI2iv (GLuint, const GLint *); GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, G
GLAPI void APIENTRY glVertexAttribI3iv (GLuint, const GLint *); Luint z);
GLAPI void APIENTRY glVertexAttribI4iv (GLuint, const GLint *); GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, G
GLAPI void APIENTRY glVertexAttribI1uiv (GLuint, const GLuint *); Luint z, GLuint w);
GLAPI void APIENTRY glVertexAttribI2uiv (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttribI3uiv (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttribI4uiv (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttribI4bv (GLuint, const GLbyte *); GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttribI4sv (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttribI4ubv (GLuint, const GLubyte *); GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttribI4usv (GLuint, const GLushort *); GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
GLAPI void APIENTRY glGetUniformuiv (GLuint, GLint, GLuint *); GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
GLAPI void APIENTRY glBindFragDataLocation (GLuint, GLuint, const GLchar *) GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
; GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
GLAPI GLint APIENTRY glGetFragDataLocation (GLuint, const GLchar *); GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
GLAPI void APIENTRY glUniform1ui (GLint, GLuint); GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
GLAPI void APIENTRY glUniform2ui (GLint, GLuint, GLuint); GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint
GLAPI void APIENTRY glUniform3ui (GLint, GLuint, GLuint, GLuint); *params);
GLAPI void APIENTRY glUniform4ui (GLint, GLuint, GLuint, GLuint, GLuint); GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, c
GLAPI void APIENTRY glUniform1uiv (GLint, GLsizei, const GLuint *); onst GLchar *name);
GLAPI void APIENTRY glUniform2uiv (GLint, GLsizei, const GLuint *); GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *n
GLAPI void APIENTRY glUniform3uiv (GLint, GLsizei, const GLuint *); ame);
GLAPI void APIENTRY glUniform4uiv (GLint, GLsizei, const GLuint *); GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
GLAPI void APIENTRY glTexParameterIiv (GLenum, GLenum, const GLint *); GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
GLAPI void APIENTRY glTexParameterIuiv (GLenum, GLenum, const GLuint *); GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLu
GLAPI void APIENTRY glGetTexParameterIiv (GLenum, GLenum, GLint *); int v2);
GLAPI void APIENTRY glGetTexParameterIuiv (GLenum, GLenum, GLuint *); GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLu
GLAPI void APIENTRY glClearBufferiv (GLenum, GLint, const GLint *); int v2, GLuint v3);
GLAPI void APIENTRY glClearBufferuiv (GLenum, GLint, const GLuint *); GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLu
GLAPI void APIENTRY glClearBufferfv (GLenum, GLint, const GLfloat *); int *value);
GLAPI void APIENTRY glClearBufferfi (GLenum, GLint, GLfloat, GLint); GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLu
GLAPI const GLubyte * APIENTRY glGetStringi (GLenum, GLuint); int *value);
GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLu
int *value);
GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLu
int *value);
GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const G
Lint *params);
GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const
GLuint *params);
GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLin
t *params);
GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLu
int *params);
GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const
GLint *value);
GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, cons
t GLuint *value);
GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const
GLfloat *value);
GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLflo
at depth, GLint stencil);
GLAPI const GLubyte * APIENTRY glGetStringi (GLenum name, GLuint index);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GL boolean g, GLboolean b, GLboolean a); typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GL boolean g, GLboolean b, GLboolean a);
typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint inde x, GLboolean *data); typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint inde x, GLboolean *data);
typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint inde x, GLint *data); typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint inde x, GLint *data);
typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint in dex); typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint in dex);
typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveM ode); typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveM ode);
typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint in dex, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint in dex, GLuint buffer, GLintptr offset, GLsizeiptr size);
skipping to change at line 5167 skipping to change at line 5428
typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawb uffer, GLfloat depth, GLint stencil); typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawb uffer, GLfloat depth, GLint stencil);
typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuin t index); typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuin t index);
#endif #endif
#ifndef GL_VERSION_3_1 #ifndef GL_VERSION_3_1
#define GL_VERSION_3_1 1 #define GL_VERSION_3_1 1
/* OpenGL 3.1 also reuses entry points from these extensions: */ /* OpenGL 3.1 also reuses entry points from these extensions: */
/* ARB_copy_buffer */ /* ARB_copy_buffer */
/* ARB_uniform_buffer_object */ /* ARB_uniform_buffer_object */
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawArraysInstanced (GLenum, GLint, GLsizei, GLsizei) GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsize
; i count, GLsizei primcount);
GLAPI void APIENTRY glDrawElementsInstanced (GLenum, GLsizei, GLenum, const GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GL
GLvoid *, GLsizei); enum type, const GLvoid *indices, GLsizei primcount);
GLAPI void APIENTRY glTexBuffer (GLenum, GLenum, GLuint); GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLui
GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint); nt buffer);
GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint f irst, GLsizei count, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint f irst, GLsizei count, GLsizei primcount);
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsiz ei count, GLenum type, const GLvoid *indices, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsiz ei count, GLenum type, const GLvoid *indices, GLsizei primcount);
typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internal format, GLuint buffer); typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internal format, GLuint buffer);
typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index); typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
#endif #endif
#ifndef GL_VERSION_3_2 #ifndef GL_VERSION_3_2
#define GL_VERSION_3_2 1 #define GL_VERSION_3_2 1
/* OpenGL 3.2 also reuses entry points from these extensions: */ /* OpenGL 3.2 also reuses entry points from these extensions: */
/* ARB_draw_elements_base_vertex */ /* ARB_draw_elements_base_vertex */
/* ARB_provoking_vertex */ /* ARB_provoking_vertex */
/* ARB_sync */ /* ARB_sync */
/* ARB_texture_multisample */ /* ARB_texture_multisample */
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetInteger64i_v (GLenum, GLuint, GLint64 *); GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64
GLAPI void APIENTRY glGetBufferParameteri64v (GLenum, GLenum, GLint64 *); *data);
GLAPI void APIENTRY glProgramParameteri (GLuint, GLenum, GLint); GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname,
GLAPI void APIENTRY glFramebufferTexture (GLenum, GLenum, GLuint, GLint); GLint64 *params);
GLAPI void APIENTRY glFramebufferTextureFace (GLenum, GLenum, GLuint, GLint GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLin
, GLenum); t value);
GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment,
GLuint texture, GLint level);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint in dex, GLint64 *data); typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint in dex, GLint64 *data);
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GL enum pname, GLint64 *params); typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GL enum pname, GLint64 *params);
typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEPROC) (GLenum target, GL #endif
enum attachment, GLuint texture, GLint level, GLenum face);
#ifndef GL_VERSION_3_3
#define GL_VERSION_3_3 1
/* OpenGL 3.3 also reuses entry points from these extensions: */
/* ARB_blend_func_extended */
/* ARB_sampler_objects */
/* ARB_explicit_attrib_location, but it has none */
/* ARB_occlusion_query2 (no entry points) */
/* ARB_shader_bit_encoding (no entry points) */
/* ARB_texture_rgb10_a2ui (no entry points) */
/* ARB_texture_swizzle (no entry points) */
/* ARB_timer_query */
/* ARB_vertex_type_2_10_10_10_rev */
#endif
#ifndef GL_VERSION_4_0
#define GL_VERSION_4_0 1
/* OpenGL 4.0 also reuses entry points from these extensions: */
/* ARB_gpu_shader5 (no entry points) */
/* ARB_gpu_shader_fp64 */
/* ARB_shader_subroutine */
/* ARB_tessellation_shader */
/* ARB_texture_buffer_object_rgb32 (no entry points) */
/* ARB_transform_feedback2 */
/* ARB_transform_feedback3 */
#endif #endif
#ifndef GL_ARB_multitexture #ifndef GL_ARB_multitexture
#define GL_ARB_multitexture 1 #define GL_ARB_multitexture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glActiveTextureARB (GLenum); GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
GLAPI void APIENTRY glClientActiveTextureARB (GLenum); GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble); GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *); GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v
GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat); );
GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *); GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint); GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v)
GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *); ;
GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort); GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *); GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble); GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *); GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v)
GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat); ;
GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *); GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdoub
GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint); le t);
GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *); GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v
GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort); );
GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *); GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat
GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdou t);
ble); GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v)
GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *); ;
GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
); GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *); GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort
GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint); t);
GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *); GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v)
GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort ;
); GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdoub
GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *); le t, GLdouble r);
GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdou GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v
ble, GLdouble); );
GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *); GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat
GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat t, GLfloat r);
, GLfloat); GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v)
GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *); ;
GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLin GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t,
t); GLint r);
GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *); GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort
, GLshort); t, GLshort r);
GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *); GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v)
;
GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdoub
le t, GLdouble r, GLdouble q);
GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v
);
GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat
t, GLfloat r, GLfloat q);
GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v)
;
GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t,
GLint r, GLint q);
GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort
t, GLshort r, GLshort q);
GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v)
;
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdoub le s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdoub le s);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloa t s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloa t s);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshor t s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshor t s);
skipping to change at line 5276 skipping to change at line 5561
typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshor t s, GLshort t, GLshort r, GLshort q); typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshor t s, GLshort t, GLshort r, GLshort q);
typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
#endif #endif
#ifndef GL_ARB_transpose_matrix #ifndef GL_ARB_transpose_matrix
#define GL_ARB_transpose_matrix 1 #define GL_ARB_transpose_matrix 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *); GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *); GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *); GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *); GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m ); typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m );
typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble * m); typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble * m);
typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m ); typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m );
typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble * m); typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble * m);
#endif #endif
#ifndef GL_ARB_multisample #ifndef GL_ARB_multisample
#define GL_ARB_multisample 1 #define GL_ARB_multisample 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean); GLAPI void APIENTRY glSampleCoverageARB (GLclampf value, GLboolean invert);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLbool ean invert); typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLbool ean invert);
#endif #endif
#ifndef GL_ARB_texture_env_add #ifndef GL_ARB_texture_env_add
#define GL_ARB_texture_env_add 1 #define GL_ARB_texture_env_add 1
#endif #endif
#ifndef GL_ARB_texture_cube_map #ifndef GL_ARB_texture_cube_map
#define GL_ARB_texture_cube_map 1 #define GL_ARB_texture_cube_map 1
#endif #endif
#ifndef GL_ARB_texture_compression #ifndef GL_ARB_texture_compression
#define GL_ARB_texture_compression 1 #define GL_ARB_texture_compression 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsiz GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level,
ei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint
GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsiz border, GLsizei imageSize, const GLvoid *data);
ei, GLsizei, GLint, GLsizei, const GLvoid *); GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level,
GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsiz GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei
ei, GLint, GLsizei, const GLvoid *); imageSize, const GLvoid *data);
GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLi GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level,
nt, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, cons
GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLi t GLvoid *data);
nt, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint leve
GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLs l, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei heig
izei, GLenum, GLsizei, const GLvoid *); ht, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *); GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint leve
l, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum form
at, GLsizei imageSize, const GLvoid *data);
GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint leve
l, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GL
void *data);
GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level,
GLvoid *img);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, G Lint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei d epth, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, G Lint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei d epth, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, G Lint level, GLenum internalformat, GLsizei width, GLsizei height, GLint bor der, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, G Lint level, GLenum internalformat, GLsizei width, GLsizei height, GLint bor der, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, G Lint level, GLenum internalformat, GLsizei width, GLint border, GLsizei ima geSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, G Lint level, GLenum internalformat, GLsizei width, GLint border, GLsizei ima geSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target , GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvo id *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target , GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvo id *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target , GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target , GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target , GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSi ze, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target , GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSi ze, const GLvoid *data);
typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img); typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
#endif #endif
#ifndef GL_ARB_texture_border_clamp #ifndef GL_ARB_texture_border_clamp
#define GL_ARB_texture_border_clamp 1 #define GL_ARB_texture_border_clamp 1
#endif #endif
#ifndef GL_ARB_point_parameters #ifndef GL_ARB_point_parameters
#define GL_ARB_point_parameters 1 #define GL_ARB_point_parameters 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat); GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *); GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *par
ams);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
#endif #endif
#ifndef GL_ARB_vertex_blend #ifndef GL_ARB_vertex_blend
#define GL_ARB_vertex_blend 1 #define GL_ARB_vertex_blend 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *); GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *); GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
GLAPI void APIENTRY glWeightivARB (GLint, const GLint *); GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *); GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *); GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *); GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *); GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *); GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoi GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei st
d *); ride, const GLvoid *pointer);
GLAPI void APIENTRY glVertexBlendARB (GLint); GLAPI void APIENTRY glVertexBlendARB (GLint count);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *we ights); typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *we ights);
typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *w eights); typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *w eights);
typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *wei ghts); typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *wei ghts);
typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *w eights); typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *w eights);
typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble * weights); typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble * weights);
typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte * weights); typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte * weights);
typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *w eights); typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *w eights);
typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type , GLsizei stride, const GLvoid *pointer); typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type , GLsizei stride, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count); typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
#endif #endif
#ifndef GL_ARB_matrix_palette #ifndef GL_ARB_matrix_palette
#define GL_ARB_matrix_palette 1 #define GL_ARB_matrix_palette 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint); GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *); GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices
GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *); );
GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *); GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indice
GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const s);
GLvoid *); GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices)
;
GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsiz
ei stride, const GLvoid *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLub yte *indices); typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLub yte *indices);
typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLus hort *indices); typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLus hort *indices);
typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLui nt *indices); typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLui nt *indices);
typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
#endif #endif
#ifndef GL_ARB_texture_env_combine #ifndef GL_ARB_texture_env_combine
#define GL_ARB_texture_env_combine 1 #define GL_ARB_texture_env_combine 1
skipping to change at line 5410 skipping to change at line 5695
#define GL_ARB_shadow 1 #define GL_ARB_shadow 1
#endif #endif
#ifndef GL_ARB_shadow_ambient #ifndef GL_ARB_shadow_ambient
#define GL_ARB_shadow_ambient 1 #define GL_ARB_shadow_ambient 1
#endif #endif
#ifndef GL_ARB_window_pos #ifndef GL_ARB_window_pos
#define GL_ARB_window_pos 1 #define GL_ARB_window_pos 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble); GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *); GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat); GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *); GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint); GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
GLAPI void APIENTRY glWindowPos2ivARB (const GLint *); GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort); GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
GLAPI void APIENTRY glWindowPos2svARB (const GLshort *); GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *); GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *); GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint); GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
GLAPI void APIENTRY glWindowPos3ivARB (const GLint *); GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort); GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
GLAPI void APIENTRY glWindowPos3svARB (const GLshort *); GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, G Ldouble z); typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, G Ldouble z);
skipping to change at line 5448 skipping to change at line 5733
typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z ); typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z );
typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLs hort z); typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLs hort z);
typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
#endif #endif
#ifndef GL_ARB_vertex_program #ifndef GL_ARB_vertex_program
#define GL_ARB_vertex_program 1 #define GL_ARB_vertex_program 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble); GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *); GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat); GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *); GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort); GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble); GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble
GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *); y);
GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat); GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *); GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y
GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort); );
GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdoub GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y
le); );
GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *); GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat) GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble
; y, GLdouble z);
GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *); GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort) GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y
; , GLfloat z);
GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *); GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y
GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *); , GLshort z);
GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyt GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
e, GLubyte); GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *); GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte
GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *); y, GLubyte z, GLubyte w);
GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *); GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v)
GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdoub ;
le, GLdouble); GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *); GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v
GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, );
GLfloat); GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *); GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble
GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *); y, GLdouble z, GLdouble w);
GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
GLshort); GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y
GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *); , GLfloat z, GLfloat w);
GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *); GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *); GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y
GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLbool , GLshort z, GLshort w);
ean, GLsizei, const GLvoid *); GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint); GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint); GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvo GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v)
id *); ;
GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint); GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLe
GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *); num type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *); GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, G GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
Ldouble, GLdouble, GLdouble); GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsiz
GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdo ei len, const GLvoid *string);
uble *); GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GL GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs)
float, GLfloat, GLfloat); ;
GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfl GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
oat *); GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index
GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, , GLdouble x, GLdouble y, GLdouble z, GLdouble w);
GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint inde
GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GL x, const GLdouble *params);
double *); GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index
GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, , GLfloat x, GLfloat y, GLfloat z, GLfloat w);
GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint inde
GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GL x, const GLfloat *params);
float *); GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint ind
GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble ex, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
*); GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint in
GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat dex, const GLdouble *params);
*); GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint ind
GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdoub ex, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
le *); GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint in
GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloa dex, const GLfloat *params);
t *); GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint in
GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *); dex, GLdouble *params);
GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *); GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint in
GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *); dex, GLfloat *params);
GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *); GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint
GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *); index, GLdouble *params);
GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* * GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint
); index, GLfloat *params);
GLAPI GLboolean APIENTRY glIsProgramARB (GLuint); GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *
params);
GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, GLv
oid *string);
GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLd
ouble *params);
GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLf
loat *params);
GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLi
nt *params);
GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pnam
e, GLvoid* *pointer);
GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const G Ldouble *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const G Ldouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const G Lfloat *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const G Lfloat *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const G Lshort *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const G Lshort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const G Ldouble *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const G Ldouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
skipping to change at line 5583 skipping to change at line 5868
#endif #endif
#ifndef GL_ARB_fragment_program #ifndef GL_ARB_fragment_program
#define GL_ARB_fragment_program 1 #define GL_ARB_fragment_program 1
/* All ARB_fragment_program entry points are shared with ARB_vertex_program . */ /* All ARB_fragment_program entry points are shared with ARB_vertex_program . */
#endif #endif
#ifndef GL_ARB_vertex_buffer_object #ifndef GL_ARB_vertex_buffer_object
#define GL_ARB_vertex_buffer_object 1 #define GL_ARB_vertex_buffer_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint); GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *); GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
GLAPI GLboolean APIENTRY glIsBufferARB (GLuint); GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, con
GLenum); st GLvoid *data, GLenum usage);
GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset,
const GLvoid *); GLsizeiptrARB size, const GLvoid *data);
GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrA GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offse
RB, GLvoid *); t, GLsizeiptrARB size, GLvoid *data);
GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum); GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum target, GLenum access);
GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum); GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *); GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname,
GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *); GLint *params);
GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, GL
void* *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buff er); typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buff er);
typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers ); typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers );
typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer); typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrA RB size, const GLvoid *data, GLenum usage); typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrA RB size, const GLvoid *data, GLenum usage);
typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptr ARB offset, GLsizeiptrARB size, const GLvoid *data); typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptr ARB offset, GLsizeiptrARB size, const GLvoid *data);
typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLint ptrARB offset, GLsizeiptrARB size, GLvoid *data); typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLint ptrARB offset, GLsizeiptrARB size, GLvoid *data);
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum ac cess); typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum ac cess);
typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target); typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, G Lenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, G Lenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLen um pname, GLvoid* *params); typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLen um pname, GLvoid* *params);
#endif #endif
#ifndef GL_ARB_occlusion_query #ifndef GL_ARB_occlusion_query
#define GL_ARB_occlusion_query 1 #define GL_ARB_occlusion_query 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *); GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
GLAPI GLboolean APIENTRY glIsQueryARB (GLuint); GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint); GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
GLAPI void APIENTRY glEndQueryARB (GLenum); GLAPI void APIENTRY glEndQueryARB (GLenum target);
GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *); GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *pa
GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *); rams);
GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *); GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *
params);
GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint
*params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id); typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target); typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pnam e, GLint *params); typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pnam e, GLint *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pn ame, GLint *params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pn ame, GLint *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum p name, GLuint *params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum p name, GLuint *params);
#endif #endif
#ifndef GL_ARB_shader_objects #ifndef GL_ARB_shader_objects
#define GL_ARB_shader_objects 1 #define GL_ARB_shader_objects 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB); GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum); GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB); GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleAR
GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum); B attachedObj);
GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharAR GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
B* *, const GLint *); GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count
GLAPI void APIENTRY glCompileShaderARB (GLhandleARB); , const GLcharARB* *string, const GLint *length);
GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void); GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB); GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleAR
GLAPI void APIENTRY glLinkProgramARB (GLhandleARB); B obj);
GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB); GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
GLAPI void APIENTRY glValidateProgramARB (GLhandleARB); GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat); GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat); GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1)
GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLflo ;
at); GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1,
GLAPI void APIENTRY glUniform1iARB (GLint, GLint); GLfloat v2);
GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint); GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1,
GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint); GLfloat v2, GLfloat v3);
GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint); GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *); GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *); GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLi
GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *); nt v2);
GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *); GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLi
GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *); nt v2, GLint v3);
GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *); GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const G
GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *); Lfloat *value);
GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *); GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const G
GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const Lfloat *value);
GLfloat *); GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const G
GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const Lfloat *value);
GLfloat *); GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const G
GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const Lfloat *value);
GLfloat *); GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const G
GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat Lint *value);
*); GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const G
GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint * Lint *value);
); GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const G
GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcha Lint *value);
rARB *); GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const G
GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei Lint *value);
*, GLhandleARB *); GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, G
GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB Lboolean transpose, const GLfloat *value);
*); GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, G
GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GL Lboolean transpose, const GLfloat *value);
sizei *, GLint *, GLenum *, GLcharARB *); GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, G
GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *); Lboolean transpose, const GLfloat *value);
GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *); GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pnam
GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, e, GLfloat *params);
GLcharARB *); GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pnam
e, GLint *params);
GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GL
sizei *length, GLcharARB *infoLog);
GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsi
zei maxCount, GLsizei *count, GLhandleARB *obj);
GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const
GLcharARB *name);
GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint i
ndex, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLchar
ARB *name);
GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint locati
on, GLfloat *params);
GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint locati
on, GLint *params);
GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLengt
h, GLsizei *length, GLcharARB *source);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname); typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj , GLhandleARB attachedObj); typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj , GLhandleARB attachedObj);
typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shad erType); typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shad erType);
typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, G Lsizei count, const GLcharARB* *string, const GLint *length); typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, G Lsizei count, const GLcharARB* *string, const GLint *length);
typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void); typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj , GLhandleARB obj); typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj , GLhandleARB obj);
typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
skipping to change at line 5717 skipping to change at line 6002
typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB progr amObj, const GLcharARB *name); typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB progr amObj, const GLcharARB *name);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programO bj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum * type, GLcharARB *name); typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programO bj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum * type, GLcharARB *name);
typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsi zei maxLength, GLsizei *length, GLcharARB *source); typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsi zei maxLength, GLsizei *length, GLcharARB *source);
#endif #endif
#ifndef GL_ARB_vertex_shader #ifndef GL_ARB_vertex_shader
#define GL_ARB_vertex_shader 1 #define GL_ARB_vertex_shader 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLc GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint
harARB *); index, const GLcharARB *name);
GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLs GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint in
izei *, GLint *, GLenum *, GLcharARB *); dex, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharA
GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB * RB *name);
); GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const
GLcharARB *name);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB progra mObj, GLuint index, const GLcharARB *name); typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB progra mObj, GLuint index, const GLcharARB *name);
typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programOb j, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *t ype, GLcharARB *name); typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programOb j, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *t ype, GLcharARB *name);
typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB progra mObj, const GLcharARB *name); typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB progra mObj, const GLcharARB *name);
#endif #endif
#ifndef GL_ARB_fragment_shader #ifndef GL_ARB_fragment_shader
#define GL_ARB_fragment_shader 1 #define GL_ARB_fragment_shader 1
#endif #endif
skipping to change at line 5749 skipping to change at line 6034
#define GL_ARB_point_sprite 1 #define GL_ARB_point_sprite 1
#endif #endif
#ifndef GL_ARB_fragment_program_shadow #ifndef GL_ARB_fragment_program_shadow
#define GL_ARB_fragment_program_shadow 1 #define GL_ARB_fragment_program_shadow 1
#endif #endif
#ifndef GL_ARB_draw_buffers #ifndef GL_ARB_draw_buffers
#define GL_ARB_draw_buffers 1 #define GL_ARB_draw_buffers 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *); GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum * bufs); typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum * bufs);
#endif #endif
#ifndef GL_ARB_texture_rectangle #ifndef GL_ARB_texture_rectangle
#define GL_ARB_texture_rectangle 1 #define GL_ARB_texture_rectangle 1
#endif #endif
#ifndef GL_ARB_color_buffer_float #ifndef GL_ARB_color_buffer_float
#define GL_ARB_color_buffer_float 1 #define GL_ARB_color_buffer_float 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glClampColorARB (GLenum, GLenum); GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clam p); typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clam p);
#endif #endif
#ifndef GL_ARB_half_float_pixel #ifndef GL_ARB_half_float_pixel
#define GL_ARB_half_float_pixel 1 #define GL_ARB_half_float_pixel 1
#endif #endif
#ifndef GL_ARB_texture_float #ifndef GL_ARB_texture_float
#define GL_ARB_texture_float 1 #define GL_ARB_texture_float 1
skipping to change at line 5785 skipping to change at line 6070
#define GL_ARB_pixel_buffer_object 1 #define GL_ARB_pixel_buffer_object 1
#endif #endif
#ifndef GL_ARB_depth_buffer_float #ifndef GL_ARB_depth_buffer_float
#define GL_ARB_depth_buffer_float 1 #define GL_ARB_depth_buffer_float 1
#endif #endif
#ifndef GL_ARB_draw_instanced #ifndef GL_ARB_draw_instanced
#define GL_ARB_draw_instanced 1 #define GL_ARB_draw_instanced 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum, GLint, GLsizei, GLsiz GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLs
ei); izei count, GLsizei primcount);
GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum, GLsizei, GLenum, co GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count,
nst GLvoid *, GLsizei); GLenum type, const GLvoid *indices, GLsizei primcount);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLin t first, GLsizei count, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLin t first, GLsizei count, GLsizei primcount);
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GL sizei count, GLenum type, const GLvoid *indices, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GL sizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
#endif #endif
#ifndef GL_ARB_framebuffer_object #ifndef GL_ARB_framebuffer_object
#define GL_ARB_framebuffer_object 1 #define GL_ARB_framebuffer_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint); GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
GLAPI void APIENTRY glBindRenderbuffer (GLenum, GLuint); GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer)
GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei, const GLuint *); ;
GLAPI void APIENTRY glGenRenderbuffers (GLsizei, GLuint *); GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderb
GLAPI void APIENTRY glRenderbufferStorage (GLenum, GLenum, GLsizei, GLsizei uffers);
); GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum, GLenum, GLint *); GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalfo
GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint); rmat, GLsizei width, GLsizei height);
GLAPI void APIENTRY glBindFramebuffer (GLenum, GLuint); GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pna
GLAPI void APIENTRY glDeleteFramebuffers (GLsizei, const GLuint *); me, GLint *params);
GLAPI void APIENTRY glGenFramebuffers (GLsizei, GLuint *); GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum); GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
GLAPI void APIENTRY glFramebufferTexture1D (GLenum, GLenum, GLenum, GLuint, GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuf
GLint); fers);
GLAPI void APIENTRY glFramebufferTexture2D (GLenum, GLenum, GLenum, GLuint, GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
GLint); GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
GLAPI void APIENTRY glFramebufferTexture3D (GLenum, GLenum, GLenum, GLuint, GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachmen
GLint, GLint); t, GLenum textarget, GLuint texture, GLint level);
GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum, GLenum, GLenum, GLui GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachmen
nt); t, GLenum textarget, GLuint texture, GLint level);
GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum, GLenum, GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachmen
GLenum, GLint *); t, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
GLAPI void APIENTRY glGenerateMipmap (GLenum); GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attach
GLAPI void APIENTRY glBlitFramebuffer (GLint, GLint, GLint, GLint, GLint, G ment, GLenum renderbuffertarget, GLuint renderbuffer);
Lint, GLint, GLint, GLbitfield, GLenum); GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, G
GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum, GLsizei, GLen Lenum attachment, GLenum pname, GLint *params);
um, GLsizei, GLsizei); GLAPI void APIENTRY glGenerateMipmap (GLenum target);
GLAPI void APIENTRY glFramebufferTextureLayer (GLenum, GLenum, GLuint, GLin GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX
t, GLint); 1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfi
eld mask, GLenum filter);
GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsize
i samples, GLenum internalformat, GLsizei width, GLsizei height);
GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attach
ment, GLuint texture, GLint level, GLint layer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer) ; typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer) ;
typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint r enderbuffer); typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint r enderbuffer);
typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLu int *renderbuffers); typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLu int *renderbuffers);
typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *rend erbuffers); typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *rend erbuffers);
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenu m internalformat, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenu m internalformat, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target , GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target , GLenum pname, GLint *params);
typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint fr amebuffer); typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint fr amebuffer);
typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLui nt *framebuffers); typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLui nt *framebuffers);
skipping to change at line 5845 skipping to change at line 6130
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, G Lenum attachment, GLuint texture, GLint level, GLint layer); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, G Lenum attachment, GLuint texture, GLint level, GLint layer);
#endif #endif
#ifndef GL_ARB_framebuffer_sRGB #ifndef GL_ARB_framebuffer_sRGB
#define GL_ARB_framebuffer_sRGB 1 #define GL_ARB_framebuffer_sRGB 1
#endif #endif
#ifndef GL_ARB_geometry_shader4 #ifndef GL_ARB_geometry_shader4
#define GL_ARB_geometry_shader4 1 #define GL_ARB_geometry_shader4 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProgramParameteriARB (GLuint, GLenum, GLint); GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, G
GLAPI void APIENTRY glFramebufferTextureARB (GLenum, GLenum, GLuint, GLint) Lint value);
; GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachme
GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum, GLenum, GLuint, G nt, GLuint texture, GLint level);
Lint, GLint); GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum att
GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum, GLenum, GLuint, GL achment, GLuint texture, GLint level, GLint layer);
int, GLenum); GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum atta
chment, GLuint texture, GLint level, GLenum face);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLe num pname, GLint value); typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLe num pname, GLint value);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLe num attachment, GLuint texture, GLint level); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLe num attachment, GLuint texture, GLint level);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target , GLenum attachment, GLuint texture, GLint level, GLint layer); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target , GLenum attachment, GLuint texture, GLint level, GLint layer);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
#endif #endif
#ifndef GL_ARB_half_float_vertex #ifndef GL_ARB_half_float_vertex
#define GL_ARB_half_float_vertex 1 #define GL_ARB_half_float_vertex 1
#endif #endif
#ifndef GL_ARB_instanced_arrays #ifndef GL_ARB_instanced_arrays
#define GL_ARB_instanced_arrays 1 #define GL_ARB_instanced_arrays 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint, GLuint); GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor) ;
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLu int divisor); typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLu int divisor);
#endif #endif
#ifndef GL_ARB_map_buffer_range #ifndef GL_ARB_map_buffer_range
#define GL_ARB_map_buffer_range 1 #define GL_ARB_map_buffer_range 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum, GLintptr, GLsizeiptr, GLbi GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GL
tfield); sizeiptr length, GLbitfield access);
GLAPI void APIENTRY glFlushMappedBufferRange (GLenum, GLintptr, GLsizeiptr) GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offse
; t, GLsizeiptr length);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintpt r offset, GLsizeiptr length, GLbitfield access); typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintpt r offset, GLsizeiptr length, GLbitfield access);
typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GL intptr offset, GLsizeiptr length); typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GL intptr offset, GLsizeiptr length);
#endif #endif
#ifndef GL_ARB_texture_buffer_object #ifndef GL_ARB_texture_buffer_object
#define GL_ARB_texture_buffer_object 1 #define GL_ARB_texture_buffer_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTexBufferARB (GLenum, GLenum, GLuint); GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, G Luint buffer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum inter nalformat, GLuint buffer); typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum inter nalformat, GLuint buffer);
#endif #endif
#ifndef GL_ARB_texture_compression_rgtc #ifndef GL_ARB_texture_compression_rgtc
#define GL_ARB_texture_compression_rgtc 1 #define GL_ARB_texture_compression_rgtc 1
#endif #endif
#ifndef GL_ARB_texture_rg #ifndef GL_ARB_texture_rg
#define GL_ARB_texture_rg 1 #define GL_ARB_texture_rg 1
#endif #endif
#ifndef GL_ARB_vertex_array_object #ifndef GL_ARB_vertex_array_object
#define GL_ARB_vertex_array_object 1 #define GL_ARB_vertex_array_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBindVertexArray (GLuint); GLAPI void APIENTRY glBindVertexArray (GLuint array);
GLAPI void APIENTRY glDeleteVertexArrays (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
GLAPI void APIENTRY glGenVertexArrays (GLsizei, GLuint *); GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
GLAPI GLboolean APIENTRY glIsVertexArray (GLuint); GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLui nt *arrays); typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLui nt *arrays);
typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *array s); typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *array s);
typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
#endif #endif
#ifndef GL_ARB_uniform_buffer_object #ifndef GL_ARB_uniform_buffer_object
#define GL_ARB_uniform_buffer_object 1 #define GL_ARB_uniform_buffer_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetUniformIndices (GLuint, GLsizei, const GLchar* *, GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCou
GLuint *); nt, const GLchar* *uniformNames, GLuint *uniformIndices);
GLAPI void APIENTRY glGetActiveUniformsiv (GLuint, GLsizei, const GLuint *, GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformC
GLenum, GLint *); ount, const GLuint *uniformIndices, GLenum pname, GLint *params);
GLAPI void APIENTRY glGetActiveUniformName (GLuint, GLuint, GLsizei, GLsize GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformI
i *, GLchar *); ndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint, const GLchar *); GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar
GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint, GLuint, GLenum, GLin *uniformBlockName);
t *); GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint unifo
GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint, GLuint, GLsizei, G rmBlockIndex, GLenum pname, GLint *params);
Lsizei *, GLchar *); GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uni
GLAPI void APIENTRY glUniformBlockBinding (GLuint, GLuint, GLuint); formBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)
;
GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBl
ockIndex, GLuint uniformBlockBinding);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsize i uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices); typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsize i uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsi zei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params ); typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsi zei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params );
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLu int uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLu int uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, c onst GLchar *uniformBlockName); typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, c onst GLchar *uniformBlockName);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program , GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *unifo rmBlockName); typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program , GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *unifo rmBlockName);
typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLui nt uniformBlockIndex, GLuint uniformBlockBinding); typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLui nt uniformBlockIndex, GLuint uniformBlockBinding);
#endif #endif
#ifndef GL_ARB_compatibility #ifndef GL_ARB_compatibility
#define GL_ARB_compatibility 1 #define GL_ARB_compatibility 1
#endif #endif
#ifndef GL_ARB_copy_buffer #ifndef GL_ARB_copy_buffer
#define GL_ARB_copy_buffer 1 #define GL_ARB_copy_buffer 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glCopyBufferSubData (GLenum, GLenum, GLintptr, GLintptr , GLsizeiptr); GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTar get, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLe num writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size ); typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLe num writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size );
#endif #endif
#ifndef GL_ARB_shader_texture_lod #ifndef GL_ARB_shader_texture_lod
#define GL_ARB_shader_texture_lod 1 #define GL_ARB_shader_texture_lod 1
#endif #endif
#ifndef GL_ARB_depth_clamp #ifndef GL_ARB_depth_clamp
#define GL_ARB_depth_clamp 1 #define GL_ARB_depth_clamp 1
#endif #endif
#ifndef GL_ARB_draw_elements_base_vertex #ifndef GL_ARB_draw_elements_base_vertex
#define GL_ARB_draw_elements_base_vertex 1 #define GL_ARB_draw_elements_base_vertex 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum, GLsizei, GLenum, cons GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, G
t GLvoid *, GLint); Lenum type, const GLvoid *indices, GLint basevertex);
GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum, GLuint, GLuint, GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint star
GLsizei, GLenum, const GLvoid *, GLint); t, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint bas
GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum, GLsizei, GLe evertex);
num, const GLvoid *, GLsizei, GLint); GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei
GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum, const GLsizei *, count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint baseve
GLenum, const GLvoid* *, GLsizei, const GLint *); rtex);
GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsiz
ei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, const GL
int *basevertex);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsi zei count, GLenum type, const GLvoid *indices, GLint basevertex); typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsi zei count, GLenum type, const GLvoid *indices, GLint basevertex);
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indice s, GLint basevertex); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indice s, GLint basevertex);
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum m ode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum m ode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex);
typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcou nt, const GLint *basevertex); typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcou nt, const GLint *basevertex);
#endif #endif
#ifndef GL_ARB_fragment_coord_conventions #ifndef GL_ARB_fragment_coord_conventions
#define GL_ARB_fragment_coord_conventions 1 #define GL_ARB_fragment_coord_conventions 1
#endif #endif
#ifndef GL_ARB_provoking_vertex #ifndef GL_ARB_provoking_vertex
#define GL_ARB_provoking_vertex 1 #define GL_ARB_provoking_vertex 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProvokingVertex (GLenum); GLAPI void APIENTRY glProvokingVertex (GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode); typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
#endif #endif
#ifndef GL_ARB_seamless_cube_map #ifndef GL_ARB_seamless_cube_map
#define GL_ARB_seamless_cube_map 1 #define GL_ARB_seamless_cube_map 1
#endif #endif
#ifndef GL_ARB_sync #ifndef GL_ARB_sync
#define GL_ARB_sync 1 #define GL_ARB_sync 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLsync APIENTRY glFenceSync (GLenum, GLbitfield); GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
GLAPI GLboolean APIENTRY glIsSync (GLsync); GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
GLAPI void APIENTRY glDeleteSync (GLsync); GLAPI void APIENTRY glDeleteSync (GLsync sync);
GLAPI GLenum APIENTRY glClientWaitSync (GLsync, GLbitfield, GLuint64); GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLui
GLAPI void APIENTRY glWaitSync (GLsync, GLbitfield, GLuint64); nt64 timeout);
GLAPI void APIENTRY glGetInteger64v (GLenum, GLint64 *); GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 tim
GLAPI void APIENTRY glGetSynciv (GLsync, GLenum, GLsizei, GLsizei *, GLint eout);
*); GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *params);
GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize
, GLsizei *length, GLint *values);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync); typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *par ams); typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *par ams);
typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLs izei bufSize, GLsizei *length, GLint *values); typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLs izei bufSize, GLsizei *length, GLint *values);
#endif #endif
#ifndef GL_ARB_texture_multisample #ifndef GL_ARB_texture_multisample
#define GL_ARB_texture_multisample 1 #define GL_ARB_texture_multisample 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTexImage2DMultisample (GLenum, GLsizei, GLint, GLsize GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples
i, GLsizei, GLboolean); , GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsampl
GLAPI void APIENTRY glTexImage3DMultisample (GLenum, GLsizei, GLint, GLsize elocations);
i, GLsizei, GLsizei, GLboolean); GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples
GLAPI void APIENTRY glGetMultisamplefv (GLenum, GLuint, GLfloat *); , GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboo
GLAPI void APIENTRY glSampleMaski (GLuint, GLbitfield); lean fixedsamplelocations);
GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat
*val);
GLAPI void APIENTRY glSampleMaski (GLuint index, GLbitfield mask);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLs izei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolea n fixedsamplelocations); typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLs izei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolea n fixedsamplelocations);
typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLs izei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLs izei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint in dex, GLfloat *val); typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint in dex, GLfloat *val);
typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mas k); typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mas k);
#endif #endif
#ifndef GL_ARB_vertex_array_bgra #ifndef GL_ARB_vertex_array_bgra
#define GL_ARB_vertex_array_bgra 1 #define GL_ARB_vertex_array_bgra 1
#endif #endif
#ifndef GL_ARB_draw_buffers_blend #ifndef GL_ARB_draw_buffers_blend
#define GL_ARB_draw_buffers_blend 1 #define GL_ARB_draw_buffers_blend 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendEquationi (GLuint, GLenum); GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
GLAPI void APIENTRY glBlendEquationSeparatei (GLuint, GLenum, GLenum); GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, G
GLAPI void APIENTRY glBlendFunci (GLuint, GLenum, GLenum); Lenum modeAlpha);
GLAPI void APIENTRY glBlendFuncSeparatei (GLuint, GLenum, GLenum, GLenum, G GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
Lenum); GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum
dstRGB, GLenum srcAlpha, GLenum dstAlpha);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenu m modeRGB, GLenum modeAlpha); typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenu m modeRGB, GLenum modeAlpha);
typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenu m dst); typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenu m dst);
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum sr cRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum sr cRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
#endif #endif
#ifndef GL_ARB_sample_shading #ifndef GL_ARB_sample_shading
#define GL_ARB_sample_shading 1 #define GL_ARB_sample_shading 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glMinSampleShading (GLclampf); GLAPI void APIENTRY glMinSampleShading (GLclampf value);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLclampf value); typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLclampf value);
#endif #endif
#ifndef GL_ARB_texture_cube_map_array #ifndef GL_ARB_texture_cube_map_array
#define GL_ARB_texture_cube_map_array 1 #define GL_ARB_texture_cube_map_array 1
#endif #endif
#ifndef GL_ARB_texture_gather #ifndef GL_ARB_texture_gather
#define GL_ARB_texture_gather 1 #define GL_ARB_texture_gather 1
#endif #endif
#ifndef GL_ARB_texture_query_lod #ifndef GL_ARB_texture_query_lod
#define GL_ARB_texture_query_lod 1 #define GL_ARB_texture_query_lod 1
#endif #endif
#ifndef GL_ARB_shading_language_include
#define GL_ARB_shading_language_include 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLc
har *name, GLint stringlen, const GLchar *string);
GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *na
me);
GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count
, const GLchar* *path, const GLint *length);
GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *n
ame);
GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name,
GLsizei bufSize, GLint *stringlen, GLchar *string);
GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *nam
e, GLenum pname, GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namele
n, const GLchar *name, GLint stringlen, const GLchar *string);
typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, cons
t GLchar *name);
typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, G
Lsizei count, const GLchar* *path, const GLint *length);
typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, con
st GLchar *name);
typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const G
Lchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const
GLchar *name, GLenum pname, GLint *params);
#endif
#ifndef GL_ARB_blend_func_extended
#define GL_ARB_blend_func_extended 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint c
olorNumber, GLuint index, const GLchar *name);
GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name
);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint progr
am, GLuint colorNumber, GLuint index, const GLchar *name);
typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const
GLchar *name);
#endif
#ifndef GL_ARB_sampler_objects
#define GL_ARB_sampler_objects 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers
);
GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
GLAPI void APIENTRY glBindSampler (GLenum unit, GLuint sampler);
GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLin
t param);
GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, con
st GLint *param);
GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfl
oat param);
GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, con
st GLfloat *param);
GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, co
nst GLint *param);
GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, c
onst GLuint *param);
GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname,
GLint *params);
GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname,
GLint *params);
GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname,
GLfloat *params);
GLAPI void APIENTRY glGetSamplerParameterIfv (GLuint sampler, GLenum pname,
GLfloat *params);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *sampl
ers);
typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLui
nt *samplers);
typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLenum unit, GLuint sampler)
;
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum
pname, GLint param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenu
m pname, const GLint *param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum
pname, GLfloat param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenu
m pname, const GLfloat *param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLen
um pname, const GLint *param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLe
num pname, const GLuint *param);
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GL
enum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, G
Lenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GL
enum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIFVPROC) (GLuint sampler, G
Lenum pname, GLfloat *params);
#endif
#ifndef GL_ARB_timer_query
#define GL_ARB_timer_query 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64
*params);
GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint6
4 *params);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pna
me, GLint64 *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pn
ame, GLuint64 *params);
#endif
#ifndef GL_ARB_vertex_type_2_10_10_10_rev
#define GL_ARB_vertex_type_2_10_10_10_rev 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuin
t coords);
GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, cons
t GLuint *coords);
GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuin
t coords);
GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, cons
t GLuint *coords);
GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuin
t coords);
GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, cons
t GLuint *coords);
GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuin
t coords);
GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, cons
t GLuint *coords);
GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color
);
GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolea
n normalized, GLuint value);
GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboole
an normalized, const GLuint *value);
GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolea
n normalized, GLuint value);
GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboole
an normalized, const GLuint *value);
GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolea
n normalized, GLuint value);
GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboole
an normalized, const GLuint *value);
GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolea
n normalized, GLuint value);
GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboole
an normalized, const GLuint *value);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *v
alue);
typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *v
alue);
typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *v
alue);
typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords)
;
typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint
*coords);
typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords)
;
typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint
*coords);
typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords)
;
typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint
*coords);
typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords)
;
typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint
*coords);
typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum
type, GLuint coords);
typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenu
m type, const GLuint *coords);
typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum
type, GLuint coords);
typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenu
m type, const GLuint *coords);
typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum
type, GLuint coords);
typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenu
m type, const GLuint *coords);
typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum
type, GLuint coords);
typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenu
m type, const GLuint *coords);
typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *c
oords);
typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *co
lor);
typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *co
lor);
typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint c
olor);
typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const G
Luint *color);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum ty
pe, GLboolean normalized, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum t
ype, GLboolean normalized, const GLuint *value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum ty
pe, GLboolean normalized, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum t
ype, GLboolean normalized, const GLuint *value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum ty
pe, GLboolean normalized, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum t
ype, GLboolean normalized, const GLuint *value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum ty
pe, GLboolean normalized, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum t
ype, GLboolean normalized, const GLuint *value);
#endif
#ifndef GL_ARB_draw_indirect
#define GL_ARB_draw_indirect 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const GLvoid *indire
ct);
GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const
GLvoid *indirect);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const GL
void *indirect);
typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum
type, const GLvoid *indirect);
#endif
#ifndef GL_ARB_gpu_shader_fp64
#define GL_ARB_gpu_shader_fp64 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GL
double z);
GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GL
double z, GLdouble w);
GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdo
uble *value);
GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdo
uble *value);
GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdo
uble *value);
GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdo
uble *value);
GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLbo
olean transpose, const GLdouble *value);
GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLbo
olean transpose, const GLdouble *value);
GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLbo
olean transpose, const GLdouble *value);
GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GL
boolean transpose, const GLdouble *value);
GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GL
boolean transpose, const GLdouble *value);
GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GL
boolean transpose, const GLdouble *value);
GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GL
boolean transpose, const GLdouble *value);
GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GL
boolean transpose, const GLdouble *value);
GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GL
boolean transpose, const GLdouble *value);
GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdoubl
e *params);
GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location,
GLdouble x);
GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location,
GLdouble x, GLdouble y);
GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location,
GLdouble x, GLdouble y, GLdouble z);
GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location,
GLdouble x, GLdouble y, GLdouble z, GLdouble w);
GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location,
GLsizei count, const GLdouble *value);
GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location,
GLsizei count, const GLdouble *value);
GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location,
GLsizei count, const GLdouble *value);
GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location,
GLsizei count, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint loc
ation, GLsizei count, GLboolean transpose, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint loc
ation, GLsizei count, GLboolean transpose, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint loc
ation, GLsizei count, GLboolean transpose, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint l
ocation, GLsizei count, GLboolean transpose, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint l
ocation, GLsizei count, GLboolean transpose, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint l
ocation, GLsizei count, GLboolean transpose, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint l
ocation, GLsizei count, GLboolean transpose, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint l
ocation, GLsizei count, GLboolean transpose, const GLdouble *value);
GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint l
ocation, GLsizei count, GLboolean transpose, const GLdouble *value);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GL
double y);
typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GL
double y, GLdouble z);
typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GL
double y, GLdouble z, GLdouble w);
typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count
, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count
, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count
, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count
, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei
count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei
count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei
count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint locat
ion, GLdouble *params);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLin
t location, GLdouble x);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLin
t location, GLdouble x, GLdouble y);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLin
t location, GLdouble x, GLdouble y, GLdouble z);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLin
t location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLi
nt location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLi
nt location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLi
nt location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLi
nt location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLdouble *valu
e);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLdouble *valu
e);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLdouble *valu
e);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint prog
ram, GLint location, GLsizei count, GLboolean transpose, const GLdouble *va
lue);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint prog
ram, GLint location, GLsizei count, GLboolean transpose, const GLdouble *va
lue);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint prog
ram, GLint location, GLsizei count, GLboolean transpose, const GLdouble *va
lue);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint prog
ram, GLint location, GLsizei count, GLboolean transpose, const GLdouble *va
lue);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint prog
ram, GLint location, GLsizei count, GLboolean transpose, const GLdouble *va
lue);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint prog
ram, GLint location, GLsizei count, GLboolean transpose, const GLdouble *va
lue);
#endif
#ifndef GL_ARB_shader_subroutine
#define GL_ARB_shader_subroutine 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum
shadertype, const GLchar *name);
GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shaderty
pe, const GLchar *name);
GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum
shadertype, GLuint index, GLenum pname, GLint *values);
GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenu
m shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
;
GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shade
rtype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei cou
nt, const GLuint *indices);
GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint loc
ation, GLuint *params);
GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype,
GLenum pname, GLint *values);
#endif /* GL_GLEXT_PROTOTYPES */
typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint pro
gram, GLenum shadertype, const GLchar *name);
typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLe
num shadertype, const GLchar *name);
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint prog
ram, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint pr
ogram, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, G
Lchar *name);
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program,
GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *
name);
typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype,
GLsizei count, const GLuint *indices);
typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertyp
e, GLint location, GLuint *params);
typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum
shadertype, GLenum pname, GLint *values);
#endif
#ifndef GL_ARB_tessellation_shader
#define GL_ARB_tessellation_shader 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values
);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint valu
e);
typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLf
loat *values);
#endif
#ifndef GL_ARB_transform_feedback2
#define GL_ARB_transform_feedback2 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *id
s);
GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
GLAPI void APIENTRY glPauseTransformFeedback (void);
GLAPI void APIENTRY glResumeTransformFeedback (void);
GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLu
int id);
typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, cons
t GLuint *ids);
typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint
*ids);
typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuin
t id);
#endif
#ifndef GL_ARB_transform_feedback3
#define GL_ARB_transform_feedback3 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id,
GLuint stream);
GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuin
t id);
GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenu
m pname, GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode,
GLuint id, GLuint stream);
typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint
index, GLuint id);
typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint in
dex);
typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint
index, GLenum pname, GLint *params);
#endif
#ifndef GL_EXT_abgr #ifndef GL_EXT_abgr
#define GL_EXT_abgr 1 #define GL_EXT_abgr 1
#endif #endif
#ifndef GL_EXT_blend_color #ifndef GL_EXT_blend_color
#define GL_EXT_blend_color 1 #define GL_EXT_blend_color 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf ); GLAPI void APIENTRY glBlendColorEXT (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf gre en, GLclampf blue, GLclampf alpha); typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf gre en, GLclampf blue, GLclampf alpha);
#endif #endif
#ifndef GL_EXT_polygon_offset #ifndef GL_EXT_polygon_offset
#define GL_EXT_polygon_offset 1 #define GL_EXT_polygon_offset 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat); GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
#endif #endif
#ifndef GL_EXT_texture #ifndef GL_EXT_texture
#define GL_EXT_texture 1 #define GL_EXT_texture 1
#endif #endif
#ifndef GL_EXT_texture3D #ifndef GL_EXT_texture3D
#define GL_EXT_texture3D 1 #define GL_EXT_texture3D 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsize GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum int
i, GLsizei, GLint, GLenum, GLenum, const GLvoid *); ernalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GL
GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, enum format, GLenum type, const GLvoid *pixels);
GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint x
offset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsize
i depth, GLenum format, GLenum type, const GLvoid *pixels);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level , GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLin t border, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level , GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLin t border, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint le vel, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei he ight, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint le vel, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei he ight, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
#endif #endif
#ifndef GL_SGIS_texture_filter4 #ifndef GL_SGIS_texture_filter4
#define GL_SGIS_texture_filter4 1 #define GL_SGIS_texture_filter4 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *); GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, G
GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLf Lfloat *weights);
loat *); GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsi
zei n, const GLfloat *weights);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLen um filter, GLfloat *weights); typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLen um filter, GLfloat *weights);
typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
#endif #endif
#ifndef GL_EXT_subtexture #ifndef GL_EXT_subtexture
#define GL_EXT_subtexture 1 #define GL_EXT_subtexture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLen GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint x
um, GLenum, const GLvoid *); offset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsize GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint x
i, GLsizei, GLenum, GLenum, const GLvoid *); offset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum
type, const GLvoid *pixels);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint le vel, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint le vel, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint le vel, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum fo rmat, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint le vel, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum fo rmat, GLenum type, const GLvoid *pixels);
#endif #endif
#ifndef GL_EXT_copy_texture #ifndef GL_EXT_copy_texture
#define GL_EXT_copy_texture 1 #define GL_EXT_copy_texture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLin GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum
t, GLsizei, GLint); internalformat, GLint x, GLint y, GLsizei width, GLint border);
GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLin GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum
t, GLsizei, GLsizei, GLint); internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint bor
GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GL der);
int, GLsizei); GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLi
GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GL nt xoffset, GLint x, GLint y, GLsizei width);
int, GLint, GLsizei, GLsizei); GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLi
GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GL nt xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
int, GLint, GLint, GLsizei, GLsizei); ;
GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLi
nt xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width,
GLsizei height);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint l evel, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) ; typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint l evel, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) ;
typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint l evel, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei heigh t, GLint border); typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint l evel, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei heigh t, GLint border);
typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLin t level, GLint xoffset, GLint x, GLint y, GLsizei width); typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLin t level, GLint xoffset, GLint x, GLint y, GLsizei width);
typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLin t level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLs izei height); typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLin t level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLs izei height);
typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLin t level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLs izei width, GLsizei height); typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLin t level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLs izei width, GLsizei height);
#endif #endif
#ifndef GL_EXT_histogram #ifndef GL_EXT_histogram
#define GL_EXT_histogram 1 #define GL_EXT_histogram 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, G GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLen
Lvoid *); um format, GLenum type, GLvoid *values);
GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat * GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pna
); me, GLfloat *params);
GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *); GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pna
GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvo me, GLint *params);
id *); GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum
GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *); format, GLenum type, GLvoid *values);
GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *); GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname,
GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean); GLfloat *params);
GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean); GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname,
GLAPI void APIENTRY glResetHistogramEXT (GLenum); GLint *params);
GLAPI void APIENTRY glResetMinmaxEXT (GLenum); GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum in
ternalformat, GLboolean sink);
GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLbo
olean sink);
GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target , GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target , GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target , GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target , GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean re set, GLenum format, GLenum type, GLvoid *values); typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean re set, GLenum format, GLenum type, GLvoid *values);
typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, G Lenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, G Lenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, G Lenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, G Lenum pname, GLint *params);
typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei widt h, GLenum internalformat, GLboolean sink); typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei widt h, GLenum internalformat, GLboolean sink);
typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internal format, GLboolean sink); typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internal format, GLboolean sink);
typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target); typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
#endif #endif
#ifndef GL_EXT_convolution #ifndef GL_EXT_convolution
#define GL_EXT_convolution 1 #define GL_EXT_convolution 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLen GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum interna
um, GLenum, const GLvoid *); lformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsi GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum interna
zei, GLenum, GLenum, const GLvoid *); lformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const G
GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat); Lvoid *image);
GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfl GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname
oat *); , GLfloat params);
GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint); GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pnam
GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLin e, const GLfloat *params);
t *); GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname
GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GL , GLint params);
int, GLsizei); GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pnam
GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GL e, const GLint *params);
int, GLsizei, GLsizei); GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum int
GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvo ernalformat, GLint x, GLint y, GLsizei width);
id *); GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum int
GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat ernalformat, GLint x, GLint y, GLsizei width, GLsizei height);
*); GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format
GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint * , GLenum type, GLvoid *image);
); GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum p
GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid name, GLfloat *params);
*, GLvoid *, GLvoid *); GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum p
GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsize name, GLint *params);
i, GLenum, GLenum, const GLvoid *, const GLvoid *); GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format,
GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalf
ormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLv
oid *row, const GLvoid *column);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GL enum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoi d *image); typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GL enum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoi d *image);
typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GL enum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum t ype, const GLvoid *image); typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GL enum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum t ype, const GLvoid *image);
typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target , GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target , GLenum internalformat, GLint x, GLint y, GLsizei width);
typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target , GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target , GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, G Lenum format, GLenum type, GLvoid *image); typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, G Lenum format, GLenum type, GLvoid *image);
skipping to change at line 6185 skipping to change at line 6778
typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLen um internalformat, GLsizei width, GLsizei height, GLenum format, GLenum typ e, const GLvoid *row, const GLvoid *column); typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLen um internalformat, GLsizei width, GLsizei height, GLenum format, GLenum typ e, const GLvoid *row, const GLvoid *column);
#endif #endif
#ifndef GL_SGI_color_matrix #ifndef GL_SGI_color_matrix
#define GL_SGI_color_matrix 1 #define GL_SGI_color_matrix 1
#endif #endif
#ifndef GL_SGI_color_table #ifndef GL_SGI_color_table
#define GL_SGI_color_table 1 #define GL_SGI_color_table 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenu GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat,
m, const GLvoid *); GLsizei width, GLenum format, GLenum type, const GLvoid *table);
GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLflo GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname
at *); , const GLfloat *params);
GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname
*); , const GLint *params);
GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsi GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalform
zei); at, GLint x, GLint y, GLsizei width);
GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *); GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenu
GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat m type, GLvoid *table);
*); GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pn
GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *) ame, GLfloat *params);
; GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pn
ame, GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum inte rnalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) ; typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum inte rnalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) ;
typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum f ormat, GLenum type, GLvoid *table); typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum f ormat, GLenum type, GLvoid *table);
typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum targe t, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum targe t, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum targe t, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum targe t, GLenum pname, GLint *params);
#endif #endif
#ifndef GL_SGIX_pixel_texture #ifndef GL_SGIX_pixel_texture
#define GL_SGIX_pixel_texture 1 #define GL_SGIX_pixel_texture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPixelTexGenSGIX (GLenum); GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
#endif #endif
#ifndef GL_SGIS_pixel_texture #ifndef GL_SGIS_pixel_texture
#define GL_SGIS_pixel_texture 1 #define GL_SGIS_pixel_texture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint); GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param)
GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *); ;
GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat); GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint
GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *); *params);
GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *); GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat para
GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *); m);
GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLflo
at *params);
GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *p
arams);
GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat
*params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pna me, GLint *params); typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pna me, GLint *params);
typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pna me, GLfloat *params); typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pna me, GLfloat *params);
#endif #endif
#ifndef GL_SGIS_texture4D #ifndef GL_SGIS_texture4D
#define GL_SGIS_texture4D 1 #define GL_SGIS_texture4D 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsiz GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum in
ei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); ternalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d,
GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint GLint border, GLenum format, GLenum type, const GLvoid *pixels);
, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid * GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint
); xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsize
i height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const
GLvoid *pixels);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint leve l, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLs izei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint leve l, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLs izei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels );
typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint l evel, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei w idth, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint l evel, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei w idth, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
#endif #endif
#ifndef GL_SGI_texture_color_table #ifndef GL_SGI_texture_color_table
#define GL_SGI_texture_color_table 1 #define GL_SGI_texture_color_table 1
#endif #endif
#ifndef GL_EXT_cmyka #ifndef GL_EXT_cmyka
#define GL_EXT_cmyka 1 #define GL_EXT_cmyka 1
#endif #endif
#ifndef GL_EXT_texture_object #ifndef GL_EXT_texture_object
#define GL_EXT_texture_object 1 #define GL_EXT_texture_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint
GLboolean *); *textures, GLboolean *residences);
GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint); GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures)
GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *); ;
GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint); GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
GLclampf *); GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textu
res, const GLclampf *priorities);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, c onst GLuint *textures, GLboolean *residences); typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, c onst GLuint *textures, GLboolean *residences);
typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint tex ture); typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint tex ture);
typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuin t *textures); typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuin t *textures);
typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textur es); typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textur es);
typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture); typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const G Luint *textures, const GLclampf *priorities); typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const G Luint *textures, const GLclampf *priorities);
#endif #endif
#ifndef GL_SGIS_detail_texture #ifndef GL_SGIS_detail_texture
#define GL_SGIS_detail_texture 1 #define GL_SGIS_detail_texture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *); GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GL
GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *); float *points);
GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points)
;
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfl oat *points); typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfl oat *points);
#endif #endif
#ifndef GL_SGIS_sharpen_texture #ifndef GL_SGIS_sharpen_texture
#define GL_SGIS_sharpen_texture 1 #define GL_SGIS_sharpen_texture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *) GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const G
; Lfloat *points);
GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *); GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points
);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsize i n, const GLfloat *points); typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsize i n, const GLfloat *points);
typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLf loat *points); typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLf loat *points);
#endif #endif
#ifndef GL_EXT_packed_pixels #ifndef GL_EXT_packed_pixels
#define GL_EXT_packed_pixels 1 #define GL_EXT_packed_pixels 1
#endif #endif
#ifndef GL_SGIS_texture_lod #ifndef GL_SGIS_texture_lod
#define GL_SGIS_texture_lod 1 #define GL_SGIS_texture_lod 1
#endif #endif
#ifndef GL_SGIS_multisample #ifndef GL_SGIS_multisample
#define GL_SGIS_multisample 1 #define GL_SGIS_multisample 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean); GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
GLAPI void APIENTRY glSamplePatternSGIS (GLenum); GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
#endif #endif
#ifndef GL_EXT_rescale_normal #ifndef GL_EXT_rescale_normal
#define GL_EXT_rescale_normal 1 #define GL_EXT_rescale_normal 1
#endif #endif
#ifndef GL_EXT_vertex_array #ifndef GL_EXT_vertex_array
#define GL_EXT_vertex_array 1 #define GL_EXT_vertex_array 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glArrayElementEXT (GLint); GLAPI void APIENTRY glArrayElementEXT (GLint i);
GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, con GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei str
st GLvoid *); ide, GLsizei count, const GLvoid *pointer);
GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei); GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei coun
GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean t);
*); GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, co
GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *); nst GLboolean *pointer);
GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvo GLAPI void APIENTRY glGetPointervEXT (GLenum pname, GLvoid* *params);
id *); GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei
GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLv count, const GLvoid *pointer);
oid *); GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsize
GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, i count, const GLvoid *pointer);
const GLvoid *); GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei
GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, co stride, GLsizei count, const GLvoid *pointer);
nst GLvoid *); GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei st
ride, GLsizei count, const GLvoid *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i); typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsiz ei count, const GLboolean *pointer); typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsiz ei count, const GLboolean *pointer);
typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *pa rams); typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *pa rams);
typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei str ide, GLsizei count, const GLvoid *pointer); typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei str ide, GLsizei count, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei st ride, GLsizei count, const GLvoid *pointer); typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei st ride, GLsizei count, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum ty pe, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum ty pe, GLsizei stride, GLsizei count, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type , GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type , GLsizei stride, GLsizei count, const GLvoid *pointer);
skipping to change at line 6357 skipping to change at line 6950
#define GL_SGIS_texture_edge_clamp 1 #define GL_SGIS_texture_edge_clamp 1
#endif #endif
#ifndef GL_SGIS_texture_border_clamp #ifndef GL_SGIS_texture_border_clamp
#define GL_SGIS_texture_border_clamp 1 #define GL_SGIS_texture_border_clamp 1
#endif #endif
#ifndef GL_EXT_blend_minmax #ifndef GL_EXT_blend_minmax
#define GL_EXT_blend_minmax 1 #define GL_EXT_blend_minmax 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendEquationEXT (GLenum); GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
#endif #endif
#ifndef GL_EXT_blend_subtract #ifndef GL_EXT_blend_subtract
#define GL_EXT_blend_subtract 1 #define GL_EXT_blend_subtract 1
#endif #endif
#ifndef GL_EXT_blend_logic_op #ifndef GL_EXT_blend_logic_op
#define GL_EXT_blend_logic_op 1 #define GL_EXT_blend_logic_op 1
skipping to change at line 6385 skipping to change at line 6978
#define GL_SGIX_pixel_tiles 1 #define GL_SGIX_pixel_tiles 1
#endif #endif
#ifndef GL_SGIX_texture_select #ifndef GL_SGIX_texture_select
#define GL_SGIX_texture_select 1 #define GL_SGIX_texture_select 1
#endif #endif
#ifndef GL_SGIX_sprite #ifndef GL_SGIX_sprite
#define GL_SGIX_sprite 1 #define GL_SGIX_sprite 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat); GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *); GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *p
GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint); arams);
GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *); GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *par
ams);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLflo at param); typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLflo at param);
typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, cons t GLfloat *params); typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, cons t GLfloat *params);
typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, cons t GLint *params); typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, cons t GLint *params);
#endif #endif
#ifndef GL_SGIX_texture_multi_buffer #ifndef GL_SGIX_texture_multi_buffer
#define GL_SGIX_texture_multi_buffer 1 #define GL_SGIX_texture_multi_buffer 1
#endif #endif
#ifndef GL_EXT_point_parameters #ifndef GL_EXT_point_parameters
#define GL_EXT_point_parameters 1 #define GL_EXT_point_parameters 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat); GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *); GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *par
ams);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
#endif #endif
#ifndef GL_SGIS_point_parameters #ifndef GL_SGIS_point_parameters
#define GL_SGIS_point_parameters 1 #define GL_SGIS_point_parameters 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat); GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *); GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *pa
rams);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloa t param); typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloa t param);
typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
#endif #endif
#ifndef GL_SGIX_instruments #ifndef GL_SGIX_instruments
#define GL_SGIX_instruments 1 #define GL_SGIX_instruments 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLint APIENTRY glGetInstrumentsSGIX (void); GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *); GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *); GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
GLAPI void APIENTRY glReadInstrumentsSGIX (GLint); GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
GLAPI void APIENTRY glStartInstrumentsSGIX (void); GLAPI void APIENTRY glStartInstrumentsSGIX (void);
GLAPI void APIENTRY glStopInstrumentsSGIX (GLint); GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void); typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLin t *buffer); typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLin t *buffer);
typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void); typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
#endif #endif
#ifndef GL_SGIX_texture_scale_bias #ifndef GL_SGIX_texture_scale_bias
#define GL_SGIX_texture_scale_bias 1 #define GL_SGIX_texture_scale_bias 1
#endif #endif
#ifndef GL_SGIX_framezoom #ifndef GL_SGIX_framezoom
#define GL_SGIX_framezoom 1 #define GL_SGIX_framezoom 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFrameZoomSGIX (GLint); GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor); typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
#endif #endif
#ifndef GL_SGIX_tag_sample_buffer #ifndef GL_SGIX_tag_sample_buffer
#define GL_SGIX_tag_sample_buffer 1 #define GL_SGIX_tag_sample_buffer 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTagSampleBufferSGIX (void); GLAPI void APIENTRY glTagSampleBufferSGIX (void);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
#endif #endif
#ifndef GL_SGIX_polynomial_ffd #ifndef GL_SGIX_polynomial_ffd
#define GL_SGIX_polynomial_ffd 1 #define GL_SGIX_polynomial_ffd 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLi GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLd
nt, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLi ouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstr
nt, const GLdouble *); ide, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, c
GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint onst GLdouble *points);
, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, co GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfl
nst GLfloat *); oat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride,
GLAPI void APIENTRY glDeformSGIX (GLbitfield); GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const G
GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield); Lfloat *points);
GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdo uble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2 , GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLi nt worder, const GLdouble *points); typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdo uble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2 , GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLi nt worder, const GLdouble *points);
typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfl oat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GL int vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint wor der, const GLfloat *points); typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfl oat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GL int vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint wor der, const GLfloat *points);
typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask); typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfiel d mask); typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfiel d mask);
#endif #endif
#ifndef GL_SGIX_reference_plane #ifndef GL_SGIX_reference_plane
#define GL_SGIX_reference_plane 1 #define GL_SGIX_reference_plane 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *); GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equat ion); typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equat ion);
#endif #endif
#ifndef GL_SGIX_flush_raster #ifndef GL_SGIX_flush_raster
#define GL_SGIX_flush_raster 1 #define GL_SGIX_flush_raster 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFlushRasterSGIX (void); GLAPI void APIENTRY glFlushRasterSGIX (void);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void); typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
#endif #endif
#ifndef GL_SGIX_depth_texture #ifndef GL_SGIX_depth_texture
#define GL_SGIX_depth_texture 1 #define GL_SGIX_depth_texture 1
#endif #endif
#ifndef GL_SGIS_fog_function #ifndef GL_SGIS_fog_function
#define GL_SGIS_fog_function 1 #define GL_SGIS_fog_function 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *); GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *); GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *po ints); typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *po ints);
typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
#endif #endif
#ifndef GL_SGIX_fog_offset #ifndef GL_SGIX_fog_offset
#define GL_SGIX_fog_offset 1 #define GL_SGIX_fog_offset 1
#endif #endif
#ifndef GL_HP_image_transform #ifndef GL_HP_image_transform
#define GL_HP_image_transform 1 #define GL_HP_image_transform 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint); GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pna
GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat); me, GLint param);
GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GL GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pna
int *); me, GLfloat param);
GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GL GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pn
float *); ame, const GLint *params);
GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pn
*); ame, const GLfloat *params);
GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLflo GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum
at *); pname, GLint *params);
GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum
pname, GLfloat *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target , GLenum pname, GLint param); typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target , GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target , GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target , GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum targe t, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum targe t, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum targe t, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum targe t, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum ta rget, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum ta rget, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum ta rget, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum ta rget, GLenum pname, GLfloat *params);
#endif #endif
#ifndef GL_HP_convolution_border_modes #ifndef GL_HP_convolution_border_modes
#define GL_HP_convolution_border_modes 1 #define GL_HP_convolution_border_modes 1
#endif #endif
#ifndef GL_SGIX_texture_add_env #ifndef GL_SGIX_texture_add_env
#define GL_SGIX_texture_add_env 1 #define GL_SGIX_texture_add_env 1
#endif #endif
#ifndef GL_EXT_color_subtable #ifndef GL_EXT_color_subtable
#define GL_EXT_color_subtable 1 #define GL_EXT_color_subtable 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, G GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsiz
Lenum, const GLvoid *); ei count, GLenum format, GLenum type, const GLvoid *data);
GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, G
GLsizei); Lint x, GLint y, GLsizei width);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsi zei start, GLint x, GLint y, GLsizei width); typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsi zei start, GLint x, GLint y, GLsizei width);
#endif #endif
#ifndef GL_PGI_vertex_hints #ifndef GL_PGI_vertex_hints
#define GL_PGI_vertex_hints 1 #define GL_PGI_vertex_hints 1
#endif #endif
#ifndef GL_PGI_misc_hints #ifndef GL_PGI_misc_hints
#define GL_PGI_misc_hints 1 #define GL_PGI_misc_hints 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glHintPGI (GLenum, GLint); GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode); typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
#endif #endif
#ifndef GL_EXT_paletted_texture #ifndef GL_EXT_paletted_texture
#define GL_EXT_paletted_texture 1 #define GL_EXT_paletted_texture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenu GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat,
m, const GLvoid *); GLsizei width, GLenum format, GLenum type, const GLvoid *table);
GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *); GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenu
GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *) m type, GLvoid *data);
; GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pn
GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat ame, GLint *params);
*); GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pn
ame, GLfloat *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum inte rnalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) ; typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum inte rnalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) ;
typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum f ormat, GLenum type, GLvoid *data); typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum f ormat, GLenum type, GLvoid *data);
typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum targe t, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum targe t, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum targe t, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum targe t, GLenum pname, GLfloat *params);
#endif #endif
#ifndef GL_EXT_clip_volume_hint #ifndef GL_EXT_clip_volume_hint
#define GL_EXT_clip_volume_hint 1 #define GL_EXT_clip_volume_hint 1
#endif #endif
#ifndef GL_SGIX_list_priority #ifndef GL_SGIX_list_priority
#define GL_SGIX_list_priority 1 #define GL_SGIX_list_priority 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *); GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GL
GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *); float *params);
GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat); GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GL
GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *) int *params);
; GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloa
GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint); t param);
GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *); GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const
GLfloat *params);
GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint
param);
GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const
GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLen um pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLen um pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLen um pname, GLint *params); typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLen um pname, GLint *params);
typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum p name, GLfloat param); typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum p name, GLfloat param);
typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum p name, GLint param); typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum p name, GLint param);
typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
#endif #endif
#ifndef GL_SGIX_ir_instrument1 #ifndef GL_SGIX_ir_instrument1
skipping to change at line 6613 skipping to change at line 7206
#define GL_SGIX_shadow_ambient 1 #define GL_SGIX_shadow_ambient 1
#endif #endif
#ifndef GL_EXT_index_texture #ifndef GL_EXT_index_texture
#define GL_EXT_index_texture 1 #define GL_EXT_index_texture 1
#endif #endif
#ifndef GL_EXT_index_material #ifndef GL_EXT_index_material
#define GL_EXT_index_material 1 #define GL_EXT_index_material 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum); GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mod e); typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mod e);
#endif #endif
#ifndef GL_EXT_index_func #ifndef GL_EXT_index_func
#define GL_EXT_index_func 1 #define GL_EXT_index_func 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf); GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
#endif #endif
#ifndef GL_EXT_index_array_formats #ifndef GL_EXT_index_array_formats
#define GL_EXT_index_array_formats 1 #define GL_EXT_index_array_formats 1
#endif #endif
#ifndef GL_EXT_compiled_vertex_array #ifndef GL_EXT_compiled_vertex_array
#define GL_EXT_compiled_vertex_array 1 #define GL_EXT_compiled_vertex_array 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei); GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
GLAPI void APIENTRY glUnlockArraysEXT (void); GLAPI void APIENTRY glUnlockArraysEXT (void);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count ); typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count );
typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void); typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
#endif #endif
#ifndef GL_EXT_cull_vertex #ifndef GL_EXT_cull_vertex
#define GL_EXT_cull_vertex 1 #define GL_EXT_cull_vertex 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *); GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *); GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdoubl e *params); typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdoubl e *params);
typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
#endif #endif
#ifndef GL_SGIX_ycrcb #ifndef GL_SGIX_ycrcb
#define GL_SGIX_ycrcb 1 #define GL_SGIX_ycrcb 1
#endif #endif
#ifndef GL_SGIX_fragment_lighting #ifndef GL_SGIX_fragment_lighting
#define GL_SGIX_fragment_lighting 1 #define GL_SGIX_fragment_lighting 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum); GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat); GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLflo
GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *) at param);
; GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, cons
GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint); t GLfloat *params);
GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *); GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint
GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat); param);
GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *); GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, cons
GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint); t GLint *params);
GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *); GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param)
GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat); ;
GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat
*); *params);
GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint); GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint * GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *
); params);
GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *); GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLf
GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *); loat param);
GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *) GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, co
; nst GLfloat *params);
GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *); GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLi
GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint); nt param);
GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, co
nst GLint *params);
GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, G
Lfloat *params);
GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, G
Lint *params);
GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname,
GLfloat *params);
GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname,
GLint *params);
GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, G Lenum mode); typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, G Lenum mode);
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GL float param); typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GL float param);
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, c onst GLfloat *params); typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, c onst GLfloat *params);
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GL int param); typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GL int param);
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, c onst GLint *params); typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, c onst GLint *params);
skipping to change at line 6707 skipping to change at line 7300
#define GL_IBM_rasterpos_clip 1 #define GL_IBM_rasterpos_clip 1
#endif #endif
#ifndef GL_HP_texture_lighting #ifndef GL_HP_texture_lighting
#define GL_HP_texture_lighting 1 #define GL_HP_texture_lighting 1
#endif #endif
#ifndef GL_EXT_draw_range_elements #ifndef GL_EXT_draw_range_elements
#define GL_EXT_draw_range_elements 1 #define GL_EXT_draw_range_elements 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei , GLenum, const GLvoid *); GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLui nt end, GLsizei count, GLenum type, const GLvoid *indices);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
#endif #endif
#ifndef GL_WIN_phong_shading #ifndef GL_WIN_phong_shading
#define GL_WIN_phong_shading 1 #define GL_WIN_phong_shading 1
#endif #endif
#ifndef GL_WIN_specular_fog #ifndef GL_WIN_specular_fog
#define GL_WIN_specular_fog 1 #define GL_WIN_specular_fog 1
#endif #endif
#ifndef GL_EXT_light_texture #ifndef GL_EXT_light_texture
#define GL_EXT_light_texture 1 #define GL_EXT_light_texture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glApplyTextureEXT (GLenum); GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
GLAPI void APIENTRY glTextureLightEXT (GLenum); GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum); GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum m ode); typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum m ode);
#endif #endif
#ifndef GL_SGIX_blend_alpha_minmax #ifndef GL_SGIX_blend_alpha_minmax
#define GL_SGIX_blend_alpha_minmax 1 #define GL_SGIX_blend_alpha_minmax 1
#endif #endif
#ifndef GL_EXT_bgra #ifndef GL_EXT_bgra
#define GL_EXT_bgra 1 #define GL_EXT_bgra 1
#endif #endif
#ifndef GL_SGIX_async #ifndef GL_SGIX_async
#define GL_SGIX_async 1 #define GL_SGIX_async 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint); GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *); GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *); GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei); GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei); GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range)
GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint); ;
GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker); typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GL sizei range); typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GL sizei range);
typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
#endif #endif
#ifndef GL_SGIX_async_pixel #ifndef GL_SGIX_async_pixel
#define GL_SGIX_async_pixel 1 #define GL_SGIX_async_pixel 1
#endif #endif
#ifndef GL_SGIX_async_histogram #ifndef GL_SGIX_async_histogram
#define GL_SGIX_async_histogram 1 #define GL_SGIX_async_histogram 1
#endif #endif
#ifndef GL_INTEL_parallel_arrays #ifndef GL_INTEL_parallel_arrays
#define GL_INTEL_parallel_arrays 1 #define GL_INTEL_parallel_arrays 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *); GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const G
GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *); Lvoid* *pointer);
GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *); GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const GLvoid* *poin
GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* * ter);
); GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const GL
void* *pointer);
GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const
GLvoid* *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum t ype, const GLvoid* *pointer); typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum t ype, const GLvoid* *pointer);
typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const G Lvoid* *pointer); typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const G Lvoid* *pointer);
typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum ty pe, const GLvoid* *pointer); typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum ty pe, const GLvoid* *pointer);
typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
#endif #endif
#ifndef GL_HP_occlusion_test #ifndef GL_HP_occlusion_test
#define GL_HP_occlusion_test 1 #define GL_HP_occlusion_test 1
#endif #endif
#ifndef GL_EXT_pixel_transform #ifndef GL_EXT_pixel_transform
#define GL_EXT_pixel_transform 1 #define GL_EXT_pixel_transform 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint); GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pn
GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat) ame, GLint param);
; GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pn
GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const G ame, GLfloat param);
Lint *); GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum p
GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const G name, const GLint *params);
Lfloat *); GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum p
name, const GLfloat *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum targe t, GLenum pname, GLint param); typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum targe t, GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum targe t, GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum targe t, GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum targ et, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum targ et, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum targ et, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum targ et, GLenum pname, const GLfloat *params);
#endif #endif
#ifndef GL_EXT_pixel_transform_color_table #ifndef GL_EXT_pixel_transform_color_table
#define GL_EXT_pixel_transform_color_table 1 #define GL_EXT_pixel_transform_color_table 1
#endif #endif
skipping to change at line 6813 skipping to change at line 7406
#define GL_EXT_shared_texture_palette 1 #define GL_EXT_shared_texture_palette 1
#endif #endif
#ifndef GL_EXT_separate_specular_color #ifndef GL_EXT_separate_specular_color
#define GL_EXT_separate_specular_color 1 #define GL_EXT_separate_specular_color 1
#endif #endif
#ifndef GL_EXT_secondary_color #ifndef GL_EXT_secondary_color
#define GL_EXT_secondary_color 1 #define GL_EXT_secondary_color 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte); GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte
GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *); blue);
GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *); GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GL
GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat); double blue);
GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *); GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint); GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfl
GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *); oat blue);
GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort); GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *); GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint bl
GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte); ue);
GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *); GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint); GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLsh
GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *); ort blue);
GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort); GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *); GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLu
GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, con byte blue);
st GLvoid *); GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuin
t blue);
GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, G
Lushort blue);
GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GL
sizei stride, const GLvoid *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte g reen, GLbyte blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte g reen, GLbyte blue);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdoub le green, GLdouble blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdoub le green, GLdouble blue);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint gre en, GLint blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint gre en, GLint blue);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
skipping to change at line 6853 skipping to change at line 7446
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLush ort green, GLushort blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLush ort green, GLushort blue);
typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v) ; typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v) ;
typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLe num type, GLsizei stride, const GLvoid *pointer); typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLe num type, GLsizei stride, const GLvoid *pointer);
#endif #endif
#ifndef GL_EXT_texture_perturb_normal #ifndef GL_EXT_texture_perturb_normal
#define GL_EXT_texture_perturb_normal 1 #define GL_EXT_texture_perturb_normal 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTextureNormalEXT (GLenum); GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode); typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
#endif #endif
#ifndef GL_EXT_multi_draw_arrays #ifndef GL_EXT_multi_draw_arrays
#define GL_EXT_multi_draw_arrays 1 #define GL_EXT_multi_draw_arrays 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsiz GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, GLint *first, GLsize
ei); i *count, GLsizei primcount);
GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *cou
, const GLvoid* *, GLsizei); nt, GLenum type, const GLvoid* *indices, GLsizei primcount);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *f irst, GLsizei *count, GLsizei primcount); typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *f irst, GLsizei *count, GLsizei primcount);
typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
#endif #endif
#ifndef GL_EXT_fog_coord #ifndef GL_EXT_fog_coord
#define GL_EXT_fog_coord 1 #define GL_EXT_fog_coord 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFogCoordfEXT (GLfloat); GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *); GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
GLAPI void APIENTRY glFogCoorddEXT (GLdouble); GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *); GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, cons
t GLvoid *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord); typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord); typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
#endif #endif
#ifndef GL_REND_screen_coordinates #ifndef GL_REND_screen_coordinates
#define GL_REND_screen_coordinates 1 #define GL_REND_screen_coordinates 1
#endif #endif
#ifndef GL_EXT_coordinate_frame #ifndef GL_EXT_coordinate_frame
#define GL_EXT_coordinate_frame 1 #define GL_EXT_coordinate_frame 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte); GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *); GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *); GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *); GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint); GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
GLAPI void APIENTRY glTangent3ivEXT (const GLint *); GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort); GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
GLAPI void APIENTRY glTangent3svEXT (const GLshort *); GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte); GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *); GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz)
GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *); ;
GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *); GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint); GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
GLAPI void APIENTRY glBinormal3ivEXT (const GLint *); GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort); GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
GLAPI void APIENTRY glBinormal3svEXT (const GLshort *); GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const
GLvoid *pointer);
GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, cons
t GLvoid *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyt e tz); typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyt e tz);
typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, G Ldouble tz); typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, G Ldouble tz);
typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLf loat tz); typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLf loat tz);
typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint t z); typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint t z);
typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v); typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLs hort tz); typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLs hort tz);
skipping to change at line 6965 skipping to change at line 7558
#define GL_SUNX_constant_data 1 #define GL_SUNX_constant_data 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFinishTextureSUNX (void); GLAPI void APIENTRY glFinishTextureSUNX (void);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void); typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
#endif #endif
#ifndef GL_SUN_global_alpha #ifndef GL_SUN_global_alpha
#define GL_SUN_global_alpha 1 #define GL_SUN_global_alpha 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte); GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort); GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint); GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat); GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble); GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte); GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort); GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint); GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
#endif #endif
#ifndef GL_SUN_triangle_list #ifndef GL_SUN_triangle_list
#define GL_SUN_triangle_list 1 #define GL_SUN_triangle_list 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint); GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
GLAPI void APIENTRY glReplacementCodeusSUN (GLushort); GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte); GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *); GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *); GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *); GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLv GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei strid
oid* *); e, const GLvoid* *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code ); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code );
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *co de); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *co de);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *cod e); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *cod e);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, G Lsizei stride, const GLvoid* *pointer); typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, G Lsizei stride, const GLvoid* *pointer);
#endif #endif
#ifndef GL_SUN_vertex #ifndef GL_SUN_vertex
#define GL_SUN_vertex 1 #define GL_SUN_vertex 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLuby GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b,
te, GLfloat, GLfloat); GLubyte a, GLfloat x, GLfloat y);
GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat
*); *v);
GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLuby GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b,
te, GLfloat, GLfloat, GLfloat); GLubyte a, GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat
*); *v);
GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloa GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b,
t, GLfloat, GLfloat); GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat * GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat
); *v);
GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLflo GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat
at, GLfloat, GLfloat); nz, GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat
*); *v);
GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLf
, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); loat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y
GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const G , GLfloat z);
Lfloat *, const GLfloat *); GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const
GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLf GLfloat *n, const GLfloat *v);
loat, GLfloat); GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat
GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloa x, GLfloat y, GLfloat z);
t *); GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfl
GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLf oat *v);
loat, GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat
GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloa p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
t *); GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfl
GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLub oat *v);
yte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t,
GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, cons GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z
t GLubyte *, const GLfloat *); );
GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLflo GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, co
at, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); nst GLubyte *c, const GLfloat *v);
GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, G
GLfloat *, const GLfloat *); Lfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfl GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, con
oat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); st GLfloat *c, const GLfloat *v);
GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, cons GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t,
t GLfloat *, const GLfloat *); GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloa GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, co
t, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, nst GLfloat *n, const GLfloat *v);
GLfloat, GLfloat); GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfl
GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat oat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny,
*, const GLfloat *, const GLfloat *, const GLfloat *); GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloa GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat
t, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfl
GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat oat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GL
*, const GLfloat *, const GLfloat *, const GLfloat *); float nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat
GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloa w);
t, GLfloat); GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat
GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *, const *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
GLfloat *); GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, G
GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte Lfloat y, GLfloat z);
, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, cons
GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint * t GLfloat *v);
, const GLubyte *, const GLfloat *); GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLub
GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, yte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *
GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, rc, const GLubyte *c, const GLfloat *v);
const GLfloat *, const GLfloat *); GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLflo
GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat at r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *r
GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint * c, const GLfloat *c, const GLfloat *v);
, const GLfloat *, const GLfloat *); GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfl
GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, oat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLf GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *
loat, GLfloat); rc, const GLfloat *n, const GLfloat *v);
GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const G GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint r
Luint *, const GLfloat *, const GLfloat *, const GLfloat *); c, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfl
GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLflo oat nz, GLfloat x, GLfloat y, GLfloat z);
at, GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const G
GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint Luint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
*, const GLfloat *, const GLfloat *); GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GL
GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuin float s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
t, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint
GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (cons *rc, const GLfloat *tc, const GLfloat *v);
t GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuin
GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN t rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x,
(GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GL GLfloat y, GLfloat z);
float, GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (cons
GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSU t GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
N (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN
GLfloat *); (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat
a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSU
N (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n,
const GLfloat *v);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g , GLubyte b, GLubyte a, GLfloat x, GLfloat y); typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g , GLubyte b, GLubyte a, GLfloat x, GLfloat y);
typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, c onst GLfloat *v); typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, c onst GLfloat *v);
typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g , GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g , GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, c onst GLfloat *v); typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, c onst GLfloat *v);
typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, co nst GLfloat *v); typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, co nst GLfloat *v);
typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, c onst GLfloat *v); typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, c onst GLfloat *v);
typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GL float g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GL float g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
skipping to change at line 7093 skipping to change at line 7686
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) ( const GLuint *rc, const GLfloat *tc, const GLfloat *v); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) ( const GLuint *rc, const GLfloat *tc, const GLfloat *v);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN PROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN PROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSU NPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloa t *v); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSU NPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloa t *v);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERT EX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloa t b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, G Lfloat z); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERT EX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloa t b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, G Lfloat z);
typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERT EX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERT EX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
#endif #endif
#ifndef GL_EXT_blend_func_separate #ifndef GL_EXT_blend_func_separate
#define GL_EXT_blend_func_separate 1 #define GL_EXT_blend_func_separate 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum) ; GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfact orRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
#endif #endif
#ifndef GL_INGR_blend_func_separate #ifndef GL_INGR_blend_func_separate
#define GL_INGR_blend_func_separate 1 #define GL_INGR_blend_func_separate 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum ); GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfac torRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
#endif #endif
#ifndef GL_INGR_color_clamp #ifndef GL_INGR_color_clamp
#define GL_INGR_color_clamp 1 #define GL_INGR_color_clamp 1
#endif #endif
#ifndef GL_INGR_interlace_read #ifndef GL_INGR_interlace_read
#define GL_INGR_interlace_read 1 #define GL_INGR_interlace_read 1
skipping to change at line 7145 skipping to change at line 7738
#define GL_EXT_texture_lod_bias 1 #define GL_EXT_texture_lod_bias 1
#endif #endif
#ifndef GL_EXT_texture_filter_anisotropic #ifndef GL_EXT_texture_filter_anisotropic
#define GL_EXT_texture_filter_anisotropic 1 #define GL_EXT_texture_filter_anisotropic 1
#endif #endif
#ifndef GL_EXT_vertex_weighting #ifndef GL_EXT_vertex_weighting
#define GL_EXT_vertex_weighting 1 #define GL_EXT_vertex_weighting 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexWeightfEXT (GLfloat); GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *); GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, con GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei size, GLenum type, GL
st GLvoid *); sizei stride, const GLvoid *pointer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight) ; typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight) ;
typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLe num type, GLsizei stride, const GLvoid *pointer); typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLe num type, GLsizei stride, const GLvoid *pointer);
#endif #endif
#ifndef GL_NV_light_max_exponent #ifndef GL_NV_light_max_exponent
#define GL_NV_light_max_exponent 1 #define GL_NV_light_max_exponent 1
#endif #endif
#ifndef GL_NV_vertex_array_range #ifndef GL_NV_vertex_array_range
#define GL_NV_vertex_array_range 1 #define GL_NV_vertex_array_range 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFlushVertexArrayRangeNV (void); GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *); GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const GLvoid *poi nter);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer); typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
#endif #endif
#ifndef GL_NV_register_combiners #ifndef GL_NV_register_combiners
#define GL_NV_register_combiners 1 #define GL_NV_register_combiners 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *); GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *p
GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat); arams);
GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *); GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint); GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *par
GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLen ams);
um, GLenum); GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLe GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum
num, GLenum, GLenum, GLboolean, GLboolean, GLboolean); variable, GLenum input, GLenum mapping, GLenum componentUsage);
GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum) GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenu
; m abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, G
GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum Lboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
, GLenum, GLfloat *); GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input,
GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum GLenum mapping, GLenum componentUsage);
, GLenum, GLint *); GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum p
GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenu ortion, GLenum variable, GLenum pname, GLfloat *params);
m, GLfloat *); GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum p
GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenu ortion, GLenum variable, GLenum pname, GLint *params);
m, GLint *); GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum
GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, G portion, GLenum pname, GLfloat *params);
Lfloat *); GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum
GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, G portion, GLenum pname, GLint *params);
Lint *); GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable,
GLenum pname, GLfloat *params);
GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable,
GLenum pname, GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, cons t GLfloat *params); typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, cons t GLfloat *params);
typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLflo at param); typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLflo at param);
typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, cons t GLint *params); typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, cons t GLint *params);
typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum por tion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) ; typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum por tion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) ;
typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum po rtion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GL enum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum ); typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum po rtion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GL enum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum );
typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GL enum input, GLenum mapping, GLenum componentUsage); typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GL enum input, GLenum mapping, GLenum componentUsage);
typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum sta ge, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum sta ge, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum sta ge, GLenum portion, GLenum variable, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum sta ge, GLenum portion, GLenum variable, GLenum pname, GLint *params);
skipping to change at line 7227 skipping to change at line 7820
#define GL_MESA_resize_buffers 1 #define GL_MESA_resize_buffers 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glResizeBuffersMESA (void); GLAPI void APIENTRY glResizeBuffersMESA (void);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void); typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
#endif #endif
#ifndef GL_MESA_window_pos #ifndef GL_MESA_window_pos
#define GL_MESA_window_pos 1 #define GL_MESA_window_pos 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble); GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *); GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat); GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *); GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint); GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *); GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort); GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *); GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *); GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *); GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint); GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *); GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort); GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *); GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdoub GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z,
le); GLdouble w);
GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *); GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLf
GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *); loat w);
GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint); GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *); GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort); GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *); GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLs
hort w);
GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
skipping to change at line 7285 skipping to change at line 7878
typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
#endif #endif
#ifndef GL_IBM_cull_vertex #ifndef GL_IBM_cull_vertex
#define GL_IBM_cull_vertex 1 #define GL_IBM_cull_vertex 1
#endif #endif
#ifndef GL_IBM_multimode_draw_arrays #ifndef GL_IBM_multimode_draw_arrays
#define GL_IBM_multimode_draw_arrays 1 #define GL_IBM_multimode_draw_arrays 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *, const GLint * GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLi
, const GLsizei *, GLsizei, GLint); nt *first, const GLsizei *count, GLsizei primcount, GLint modestride);
GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsiz GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const G
ei *, GLenum, const GLvoid* const *, GLsizei, GLint); Lsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount
, GLint modestride);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mod e, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modes tride); typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mod e, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modes tride);
typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *m ode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsiz ei primcount, GLint modestride); typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *m ode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsiz ei primcount, GLint modestride);
#endif #endif
#ifndef GL_IBM_vertex_array_lists #ifndef GL_IBM_vertex_array_lists
#define GL_IBM_vertex_array_lists 1 #define GL_IBM_vertex_array_lists 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvo GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint s
id* *, GLint); tride, const GLvoid* *pointer, GLint ptrstride);
GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, c GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type
onst GLvoid* *, GLint); , GLint stride, const GLvoid* *pointer, GLint ptrstride);
GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GL GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean
int); * *pointer, GLint ptrstride);
GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, co
*, GLint); nst GLvoid* *pointer, GLint ptrstride);
GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const
GLint); GLvoid* *pointer, GLint ptrstride);
GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, cons
GLint); t GLvoid* *pointer, GLint ptrstride);
GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const G GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLin
Lvoid* *, GLint); t stride, const GLvoid* *pointer, GLint ptrstride);
GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLv GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint
oid* *, GLint); stride, const GLvoid* *pointer, GLint ptrstride);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum t ype, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum t ype, GLint stride, const GLvoid* *pointer, GLint ptrstride);
typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, con st GLboolean* *pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, con st GLboolean* *pointer, GLint ptrstride);
typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLin t stride, const GLvoid* *pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLin t stride, const GLvoid* *pointer, GLint ptrstride);
typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint s tride, const GLvoid* *pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint s tride, const GLvoid* *pointer, GLint ptrstride);
typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenu m type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenu m type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
#endif #endif
skipping to change at line 7341 skipping to change at line 7934
#define GL_3DFX_texture_compression_FXT1 1 #define GL_3DFX_texture_compression_FXT1 1
#endif #endif
#ifndef GL_3DFX_multisample #ifndef GL_3DFX_multisample
#define GL_3DFX_multisample 1 #define GL_3DFX_multisample 1
#endif #endif
#ifndef GL_3DFX_tbuffer #ifndef GL_3DFX_tbuffer
#define GL_3DFX_tbuffer 1 #define GL_3DFX_tbuffer 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTbufferMask3DFX (GLuint); GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
#endif #endif
#ifndef GL_EXT_multisample #ifndef GL_EXT_multisample
#define GL_EXT_multisample 1 #define GL_EXT_multisample 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean); GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
GLAPI void APIENTRY glSamplePatternEXT (GLenum); GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
#endif #endif
#ifndef GL_SGIX_vertex_preclip #ifndef GL_SGIX_vertex_preclip
#define GL_SGIX_vertex_preclip 1 #define GL_SGIX_vertex_preclip 1
#endif #endif
#ifndef GL_SGIX_convolution_accuracy #ifndef GL_SGIX_convolution_accuracy
skipping to change at line 7375 skipping to change at line 7968
#define GL_SGIX_resample 1 #define GL_SGIX_resample 1
#endif #endif
#ifndef GL_SGIS_point_line_texgen #ifndef GL_SGIS_point_line_texgen
#define GL_SGIS_point_line_texgen 1 #define GL_SGIS_point_line_texgen 1
#endif #endif
#ifndef GL_SGIS_texture_color_mask #ifndef GL_SGIS_texture_color_mask
#define GL_SGIS_texture_color_mask 1 #define GL_SGIS_texture_color_mask 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean , GLboolean); GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLbo olean green, GLboolean blue, GLboolean alpha); typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLbo olean green, GLboolean blue, GLboolean alpha);
#endif #endif
#ifndef GL_SGIX_igloo_interface #ifndef GL_SGIX_igloo_interface
#define GL_SGIX_igloo_interface 1 #define GL_SGIX_igloo_interface 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *); GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const GLvoid *param s);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const G Lvoid *params); typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const G Lvoid *params);
#endif #endif
#ifndef GL_EXT_texture_env_dot3 #ifndef GL_EXT_texture_env_dot3
#define GL_EXT_texture_env_dot3 1 #define GL_EXT_texture_env_dot3 1
#endif #endif
#ifndef GL_ATI_texture_mirror_once #ifndef GL_ATI_texture_mirror_once
#define GL_ATI_texture_mirror_once 1 #define GL_ATI_texture_mirror_once 1
#endif #endif
#ifndef GL_NV_fence #ifndef GL_NV_fence
#define GL_NV_fence 1 #define GL_NV_fence 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *); GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
GLAPI GLboolean APIENTRY glIsFenceNV (GLuint); GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
GLAPI GLboolean APIENTRY glTestFenceNV (GLuint); GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *para
GLAPI void APIENTRY glFinishFenceNV (GLuint); ms);
GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum); GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint * fences); typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint * fences);
typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum conditio n); typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum conditio n);
#endif #endif
#ifndef GL_NV_evaluators #ifndef GL_NV_evaluators
#define GL_NV_evaluators 1 #define GL_NV_evaluators 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLen
GLsizei, GLint, GLint, GLboolean, const GLvoid *); um type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLbo
GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *); olean packed, const GLvoid *points);
GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *); GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const
GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsize GLint *params);
i, GLsizei, GLboolean, GLvoid *); GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const
GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *); GLfloat *params);
GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *); GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, G
GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GL Lenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *poi
int *); nts);
GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GL GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLi
float *); nt *params);
GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum); GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLf
loat *params);
GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint inde
x, GLenum pname, GLint *params);
GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint inde
x, GLenum pname, GLfloat *params);
GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum p name, const GLint *params); typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum p name, const GLint *params);
typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum p name, const GLfloat *params); typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum p name, const GLfloat *params);
typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLu int index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLu int index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenu m pname, GLint *params); typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenu m pname, GLint *params);
typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenu m pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenu m pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
#endif #endif
#ifndef GL_NV_packed_depth_stencil #ifndef GL_NV_packed_depth_stencil
#define GL_NV_packed_depth_stencil 1 #define GL_NV_packed_depth_stencil 1
#endif #endif
#ifndef GL_NV_register_combiners2 #ifndef GL_NV_register_combiners2
#define GL_NV_register_combiners2 1 #define GL_NV_register_combiners2 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLf GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pnam
loat *); e, const GLfloat *params);
GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloa GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum p
t *); name, GLfloat *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum sta ge, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum sta ge, GLenum pname, GLfloat *params);
#endif #endif
#ifndef GL_NV_texture_compression_vtc #ifndef GL_NV_texture_compression_vtc
#define GL_NV_texture_compression_vtc 1 #define GL_NV_texture_compression_vtc 1
#endif #endif
#ifndef GL_NV_texture_rectangle #ifndef GL_NV_texture_rectangle
skipping to change at line 7477 skipping to change at line 8070
#define GL_NV_texture_shader2 1 #define GL_NV_texture_shader2 1
#endif #endif
#ifndef GL_NV_vertex_array_range2 #ifndef GL_NV_vertex_array_range2
#define GL_NV_vertex_array_range2 1 #define GL_NV_vertex_array_range2 1
#endif #endif
#ifndef GL_NV_vertex_program #ifndef GL_NV_vertex_program
#define GL_NV_vertex_program 1 #define GL_NV_vertex_program 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei, const GLuint *, GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *
GLboolean *); programs, GLboolean *residences);
GLAPI void APIENTRY glBindProgramNV (GLenum, GLuint); GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
GLAPI void APIENTRY glDeleteProgramsNV (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
GLAPI void APIENTRY glExecuteProgramNV (GLenum, GLuint, const GLfloat *); GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLf
GLAPI void APIENTRY glGenProgramsNV (GLsizei, GLuint *); loat *params);
GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdo GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
uble *); GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index,
GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfl GLenum pname, GLdouble *params);
oat *); GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index,
GLAPI void APIENTRY glGetProgramivNV (GLuint, GLenum, GLint *); GLenum pname, GLfloat *params);
GLAPI void APIENTRY glGetProgramStringNV (GLuint, GLenum, GLubyte *); GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *param
GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *); s);
GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *); GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte
GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *); *program);
GLAPI void APIENTRY glGetVertexAttribivNV (GLuint, GLenum, GLint *); GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GL
GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *) enum pname, GLint *params);
; GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdo
GLAPI GLboolean APIENTRY glIsProgramNV (GLuint); uble *params);
GLAPI void APIENTRY glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfl
*); oat *params);
GLAPI void APIENTRY glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdou GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLin
ble, GLdouble, GLdouble); t *params);
GLAPI void APIENTRY glProgramParameter4dvNV (GLenum, GLuint, const GLdouble GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname
*); , GLvoid* *pointer);
GLAPI void APIENTRY glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloa GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
t, GLfloat, GLfloat); GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len,
GLAPI void APIENTRY glProgramParameter4fvNV (GLenum, GLuint, const GLfloat const GLubyte *program);
*); GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GL
GLAPI void APIENTRY glProgramParameters4dvNV (GLenum, GLuint, GLuint, const double x, GLdouble y, GLdouble z, GLdouble w);
GLdouble *); GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, c
GLAPI void APIENTRY glProgramParameters4fvNV (GLenum, GLuint, GLuint, const onst GLdouble *v);
GLfloat *); GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GL
GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei, const GLuint *); float x, GLfloat y, GLfloat z, GLfloat w);
GLAPI void APIENTRY glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum); GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, c
GLAPI void APIENTRY glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei onst GLfloat *v);
, const GLvoid *); GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index,
GLAPI void APIENTRY glVertexAttrib1dNV (GLuint, GLdouble); GLuint count, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint, const GLdouble *); GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index,
GLAPI void APIENTRY glVertexAttrib1fNV (GLuint, GLfloat); GLuint count, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint, const GLfloat *); GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *p
GLAPI void APIENTRY glVertexAttrib1sNV (GLuint, GLshort); rograms);
GLAPI void APIENTRY glVertexAttrib1svNV (GLuint, const GLshort *); GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum
GLAPI void APIENTRY glVertexAttrib2dNV (GLuint, GLdouble, GLdouble); matrix, GLenum transform);
GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint, const GLdouble *); GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLe
GLAPI void APIENTRY glVertexAttrib2fNV (GLuint, GLfloat, GLfloat); num type, GLsizei stride, const GLvoid *pointer);
GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint, const GLfloat *); GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
GLAPI void APIENTRY glVertexAttrib2sNV (GLuint, GLshort, GLshort); GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib2svNV (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
GLAPI void APIENTRY glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdoubl GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
e); GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint, const GLdouble *); GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble
GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint, const GLfloat *); y);
GLAPI void APIENTRY glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort); GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib3svNV (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y)
GLAPI void APIENTRY glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdoubl ;
e, GLdouble); GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint, const GLdouble *); GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y)
GLAPI void APIENTRY glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, ;
GLfloat); GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint, const GLfloat *); GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble
GLAPI void APIENTRY glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, y, GLdouble z);
GLshort); GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
GLAPI void APIENTRY glVertexAttrib4svNV (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y,
GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLfloat z);
GLubyte); GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint, const GLubyte *); GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y,
GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble * GLshort z);
); GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *) GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble
; y, GLdouble z, GLdouble w);
GLAPI void APIENTRY glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *) GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
; GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y,
GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble * GLfloat z, GLfloat w);
); GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *) GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y,
; GLshort z, GLshort w);
GLAPI void APIENTRY glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *) GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
; GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y
GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble * , GLubyte z, GLubyte w);
); GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *) GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, cons
; t GLdouble *v);
GLAPI void APIENTRY glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *) GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, cons
; t GLfloat *v);
GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble * GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, cons
); t GLshort *v);
GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *) GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, cons
; t GLdouble *v);
GLAPI void APIENTRY glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *) GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, cons
; t GLfloat *v);
GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte * GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, cons
); t GLshort *v);
GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, cons
t GLdouble *v);
GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, cons
t GLfloat *v);
GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, cons
t GLshort *v);
GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, cons
t GLdouble *v);
GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, cons
t GLfloat *v);
GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, cons
t GLshort *v);
GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, con
st GLubyte *v);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, co nst GLuint *programs, GLboolean *residences); typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, co nst GLuint *programs, GLboolean *residences);
typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint i d, const GLfloat *params); typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint i d, const GLfloat *params);
typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *program s); typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *program s);
typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, G Luint index, GLenum pname, GLdouble *params); typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, G Luint index, GLenum pname, GLdouble *params);
typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, G Luint index, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, G Luint index, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pna me, GLubyte *program); typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pna me, GLubyte *program);
skipping to change at line 7635 skipping to change at line 8228
#define GL_OML_resample 1 #define GL_OML_resample 1
#endif #endif
#ifndef GL_NV_copy_depth_to_color #ifndef GL_NV_copy_depth_to_color
#define GL_NV_copy_depth_to_color 1 #define GL_NV_copy_depth_to_color 1
#endif #endif
#ifndef GL_ATI_envmap_bumpmap #ifndef GL_ATI_envmap_bumpmap
#define GL_ATI_envmap_bumpmap 1 #define GL_ATI_envmap_bumpmap 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTexBumpParameterivATI (GLenum, const GLint *); GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *par
GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum, const GLfloat *); am);
GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum, GLint *); GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *p
GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum, GLfloat *); aram);
GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param)
;
GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *para
m);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, cons t GLint *param); typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, cons t GLint *param);
typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, cons t GLfloat *param); typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, cons t GLfloat *param);
typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, G Lint *param); typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, G Lint *param);
typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, G Lfloat *param); typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, G Lfloat *param);
#endif #endif
#ifndef GL_ATI_fragment_shader #ifndef GL_ATI_fragment_shader
#define GL_ATI_fragment_shader 1 #define GL_ATI_fragment_shader 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint); GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
GLAPI void APIENTRY glBindFragmentShaderATI (GLuint); GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint); GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
GLAPI void APIENTRY glBeginFragmentShaderATI (void); GLAPI void APIENTRY glBeginFragmentShaderATI (void);
GLAPI void APIENTRY glEndFragmentShaderATI (void); GLAPI void APIENTRY glEndFragmentShaderATI (void);
GLAPI void APIENTRY glPassTexCoordATI (GLuint, GLuint, GLenum); GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swi
GLAPI void APIENTRY glSampleMapATI (GLuint, GLuint, GLenum); zzle);
GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizz
GLuint, GLuint, GLuint); le);
GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint ds
GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); tMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint ds
GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); tMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint a
GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, rg2, GLuint arg2Rep, GLuint arg2Mod);
GLuint, GLuint); GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint ds
GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, tMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint a
GLuint, GLuint, GLuint, GLuint, GLuint); rg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint ar
GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, g3Mod);
GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint ds
GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint, const GLfloat * tMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
); GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint ds
tMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2
Rep, GLuint arg2Mod);
GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint ds
tMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2
Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLflo
at *value);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void); typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void); typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord , GLenum swizzle); typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord , GLenum swizzle);
typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint ds t, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1M od); typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint ds t, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1M od);
typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint ds t, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1M od, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint ds t, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1M od, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint ds t, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1M od, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Re p, GLuint arg3Mod); typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint ds t, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1M od, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Re p, GLuint arg3Mod);
typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint ds t, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint ds t, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint ds t, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint ds t, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint ds t, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mo d); typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint ds t, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mo d);
typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
#endif #endif
#ifndef GL_ATI_pn_triangles #ifndef GL_ATI_pn_triangles
#define GL_ATI_pn_triangles 1 #define GL_ATI_pn_triangles 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPNTrianglesiATI (GLenum, GLint); GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
GLAPI void APIENTRY glPNTrianglesfATI (GLenum, GLfloat); GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint para m); typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint para m);
typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat pa ram); typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat pa ram);
#endif #endif
#ifndef GL_ATI_vertex_array_object #ifndef GL_ATI_vertex_array_object
#define GL_ATI_vertex_array_object 1 #define GL_ATI_vertex_array_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const GLvoid *poi
); nter, GLenum usage);
GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint); GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset,
GLvoid *, GLenum); GLsizei size, const GLvoid *pointer, GLenum preserve);
GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *); GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GL
GLAPI void APIENTRY glGetObjectBufferivATI (GLuint, GLenum, GLint *); float *params);
GLAPI void APIENTRY glFreeObjectBufferATI (GLuint); GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GL
GLAPI void APIENTRY glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuin int *params);
t, GLuint); GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *); GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type
GLAPI void APIENTRY glGetArrayObjectivATI (GLenum, GLenum, GLint *); , GLsizei stride, GLuint buffer, GLuint offset);
GLAPI void APIENTRY glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuin GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfl
t, GLuint); oat *params);
GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat * GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLin
); t *params);
GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *); GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsize
i stride, GLuint buffer, GLuint offset);
GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname,
GLfloat *params);
GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname,
GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLu int offset, GLsizei size, const GLvoid *pointer, GLenum preserve); typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLu int offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLen um pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLen um pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLen um pname, GLint *params); typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLen um pname, GLint *params);
typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GL enum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GL enum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GL enum pname, GLint *params); typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GL enum pname, GLint *params);
#endif #endif
#ifndef GL_EXT_vertex_shader #ifndef GL_EXT_vertex_shader
#define GL_EXT_vertex_shader 1 #define GL_EXT_vertex_shader 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBeginVertexShaderEXT (void); GLAPI void APIENTRY glBeginVertexShaderEXT (void);
GLAPI void APIENTRY glEndVertexShaderEXT (void); GLAPI void APIENTRY glEndVertexShaderEXT (void);
GLAPI void APIENTRY glBindVertexShaderEXT (GLuint); GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint); GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint); GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
GLAPI void APIENTRY glShaderOp1EXT (GLenum, GLuint, GLuint); GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
GLAPI void APIENTRY glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint); GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLu
GLAPI void APIENTRY glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint) int arg2);
; GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLu
GLAPI void APIENTRY glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, G int arg2, GLuint arg3);
Lenum); GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenu
GLAPI void APIENTRY glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, m outY, GLenum outZ, GLenum outW);
GLenum); GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLe
GLAPI void APIENTRY glInsertComponentEXT (GLuint, GLuint, GLuint); num outY, GLenum outZ, GLenum outW);
GLAPI void APIENTRY glExtractComponentEXT (GLuint, GLuint, GLuint); GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint nu
GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint); m);
GLAPI void APIENTRY glSetInvariantEXT (GLuint, GLenum, const GLvoid *); GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint n
GLAPI void APIENTRY glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *); um);
GLAPI void APIENTRY glVariantbvEXT (GLuint, const GLbyte *); GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype,
GLAPI void APIENTRY glVariantsvEXT (GLuint, const GLshort *); GLenum range, GLuint components);
GLAPI void APIENTRY glVariantivEXT (GLuint, const GLint *); GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const GLvoid
GLAPI void APIENTRY glVariantfvEXT (GLuint, const GLfloat *); *addr);
GLAPI void APIENTRY glVariantdvEXT (GLuint, const GLdouble *); GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const GL
GLAPI void APIENTRY glVariantubvEXT (GLuint, const GLubyte *); void *addr);
GLAPI void APIENTRY glVariantusvEXT (GLuint, const GLushort *); GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
GLAPI void APIENTRY glVariantuivEXT (GLuint, const GLuint *); GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
GLAPI void APIENTRY glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvo GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
id *); GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint); GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint); GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum, GLenum); GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum, GLenum); GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum, GLenum, GLenum); GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint str
GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum, GLenum); ide, const GLvoid *addr);
GLAPI GLuint APIENTRY glBindParameterEXT (GLenum); GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint, GLenum); GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *); GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint, GLenum, GLint *); GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value
GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *); );
GLAPI void APIENTRY glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *); GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord,
GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *) GLenum value);
; GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum va
GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint, GLenum, GLint *); lue);
GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *); GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolea GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
n *); GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboo
GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *) lean *data);
; GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint
GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *) *data);
; GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat
*data);
GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, GLvoi
d* *data);
GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLb
oolean *data);
GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLi
nt *data);
GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLflo
at *data);
GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value,
GLboolean *data);
GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value,
GLint *data);
GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, G
Lfloat *data);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void); typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void); typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLui nt arg1); typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLui nt arg1);
typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLui nt arg1, GLuint arg2); typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLui nt arg1, GLuint arg2);
typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLui nt arg1, GLuint arg2, GLuint arg3); typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLui nt arg1, GLuint arg2, GLuint arg3);
typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
skipping to change at line 7813 skipping to change at line 8406
typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenu m value, GLint *data); typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenu m value, GLint *data);
typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, G Lenum value, GLboolean *data); typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, G Lenum value, GLboolean *data);
typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, G Lenum value, GLint *data); typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, G Lenum value, GLint *data);
typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLe num value, GLfloat *data); typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLe num value, GLfloat *data);
#endif #endif
#ifndef GL_ATI_vertex_streams #ifndef GL_ATI_vertex_streams
#define GL_ATI_vertex_streams 1 #define GL_ATI_vertex_streams 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexStream1sATI (GLenum, GLshort); GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
GLAPI void APIENTRY glVertexStream1svATI (GLenum, const GLshort *); GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coo
GLAPI void APIENTRY glVertexStream1iATI (GLenum, GLint); rds);
GLAPI void APIENTRY glVertexStream1ivATI (GLenum, const GLint *); GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
GLAPI void APIENTRY glVertexStream1fATI (GLenum, GLfloat); GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coord
GLAPI void APIENTRY glVertexStream1fvATI (GLenum, const GLfloat *); s);
GLAPI void APIENTRY glVertexStream1dATI (GLenum, GLdouble); GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
GLAPI void APIENTRY glVertexStream1dvATI (GLenum, const GLdouble *); GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coo
GLAPI void APIENTRY glVertexStream2sATI (GLenum, GLshort, GLshort); rds);
GLAPI void APIENTRY glVertexStream2svATI (GLenum, const GLshort *); GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
GLAPI void APIENTRY glVertexStream2iATI (GLenum, GLint, GLint); GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *co
GLAPI void APIENTRY glVertexStream2ivATI (GLenum, const GLint *); ords);
GLAPI void APIENTRY glVertexStream2fATI (GLenum, GLfloat, GLfloat); GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort
GLAPI void APIENTRY glVertexStream2fvATI (GLenum, const GLfloat *); y);
GLAPI void APIENTRY glVertexStream2dATI (GLenum, GLdouble, GLdouble); GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coo
GLAPI void APIENTRY glVertexStream2dvATI (GLenum, const GLdouble *); rds);
GLAPI void APIENTRY glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort) GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
; GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coord
GLAPI void APIENTRY glVertexStream3svATI (GLenum, const GLshort *); s);
GLAPI void APIENTRY glVertexStream3iATI (GLenum, GLint, GLint, GLint); GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat
GLAPI void APIENTRY glVertexStream3ivATI (GLenum, const GLint *); y);
GLAPI void APIENTRY glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat) GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coo
; rds);
GLAPI void APIENTRY glVertexStream3fvATI (GLenum, const GLfloat *); GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdoubl
GLAPI void APIENTRY glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdoub e y);
le); GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *co
GLAPI void APIENTRY glVertexStream3dvATI (GLenum, const GLdouble *); ords);
GLAPI void APIENTRY glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort
GLshort); y, GLshort z);
GLAPI void APIENTRY glVertexStream4svATI (GLenum, const GLshort *); GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coo
GLAPI void APIENTRY glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint rds);
); GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, G
GLAPI void APIENTRY glVertexStream4ivATI (GLenum, const GLint *); Lint z);
GLAPI void APIENTRY glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coord
GLfloat); s);
GLAPI void APIENTRY glVertexStream4fvATI (GLenum, const GLfloat *); GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat
GLAPI void APIENTRY glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdoub y, GLfloat z);
le, GLdouble); GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coo
GLAPI void APIENTRY glVertexStream4dvATI (GLenum, const GLdouble *); rds);
GLAPI void APIENTRY glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte); GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdoubl
GLAPI void APIENTRY glNormalStream3bvATI (GLenum, const GLbyte *); e y, GLdouble z);
GLAPI void APIENTRY glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort) GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *co
; ords);
GLAPI void APIENTRY glNormalStream3svATI (GLenum, const GLshort *); GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort
GLAPI void APIENTRY glNormalStream3iATI (GLenum, GLint, GLint, GLint); y, GLshort z, GLshort w);
GLAPI void APIENTRY glNormalStream3ivATI (GLenum, const GLint *); GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coo
GLAPI void APIENTRY glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat) rds);
; GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, G
GLAPI void APIENTRY glNormalStream3fvATI (GLenum, const GLfloat *); Lint z, GLint w);
GLAPI void APIENTRY glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdoub GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coord
le); s);
GLAPI void APIENTRY glNormalStream3dvATI (GLenum, const GLdouble *); GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat
GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum); y, GLfloat z, GLfloat w);
GLAPI void APIENTRY glVertexBlendEnviATI (GLenum, GLint); GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coo
GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum, GLfloat); rds);
GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdoubl
e y, GLdouble z, GLdouble w);
GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *co
ords);
GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte n
y, GLbyte nz);
GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coor
ds);
GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort
ny, GLshort nz);
GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coo
rds);
GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny,
GLint nz);
GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coord
s);
GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat
ny, GLfloat nz);
GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coo
rds);
GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdoub
le ny, GLdouble nz);
GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *co
ords);
GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x ); typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x );
typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdoubl e x); typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdoubl e x);
typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
skipping to change at line 7909 skipping to change at line 8502
typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdoubl e nx, GLdouble ny, GLdouble nz); typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdoubl e nx, GLdouble ny, GLdouble nz);
typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum strea m); typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum strea m);
typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint p aram); typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint p aram);
typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
#endif #endif
#ifndef GL_ATI_element_array #ifndef GL_ATI_element_array
#define GL_ATI_element_array 1 #define GL_ATI_element_array 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glElementPointerATI (GLenum, const GLvoid *); GLAPI void APIENTRY glElementPointerATI (GLenum type, const GLvoid *pointer
GLAPI void APIENTRY glDrawElementArrayATI (GLenum, GLsizei); );
GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLs GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
izei); GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start,
GLuint end, GLsizei count);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLv oid *pointer); typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLv oid *pointer);
typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GL uint start, GLuint end, GLsizei count); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GL uint start, GLuint end, GLsizei count);
#endif #endif
#ifndef GL_SUN_mesh_array #ifndef GL_SUN_mesh_array
#define GL_SUN_mesh_array 1 #define GL_SUN_mesh_array 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei); GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint fir st, GLsizei count, GLsizei width); typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint fir st, GLsizei count, GLsizei width);
#endif #endif
#ifndef GL_SUN_slice_accum #ifndef GL_SUN_slice_accum
#define GL_SUN_slice_accum 1 #define GL_SUN_slice_accum 1
#endif #endif
#ifndef GL_NV_multisample_filter_hint #ifndef GL_NV_multisample_filter_hint
#define GL_NV_multisample_filter_hint 1 #define GL_NV_multisample_filter_hint 1
#endif #endif
#ifndef GL_NV_depth_clamp #ifndef GL_NV_depth_clamp
#define GL_NV_depth_clamp 1 #define GL_NV_depth_clamp 1
#endif #endif
#ifndef GL_NV_occlusion_query #ifndef GL_NV_occlusion_query
#define GL_NV_occlusion_query 1 #define GL_NV_occlusion_query 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei, GLuint *); GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *id
GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint); s);
GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint); GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
GLAPI void APIENTRY glEndOcclusionQueryNV (void); GLAPI void APIENTRY glEndOcclusionQueryNV (void);
GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint, GLenum, GLint *); GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint
GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *); *params);
GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLui
nt *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, cons t GLuint *ids); typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, cons t GLuint *ids);
typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void); typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
#endif #endif
#ifndef GL_NV_point_sprite #ifndef GL_NV_point_sprite
#define GL_NV_point_sprite 1 #define GL_NV_point_sprite 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPointParameteriNV (GLenum, GLint); GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
GLAPI void APIENTRY glPointParameterivNV (GLenum, const GLint *); GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params
);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint pa ram); typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint pa ram);
typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const G Lint *params); typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const G Lint *params);
#endif #endif
#ifndef GL_NV_texture_shader3 #ifndef GL_NV_texture_shader3
#define GL_NV_texture_shader3 1 #define GL_NV_texture_shader3 1
#endif #endif
#ifndef GL_NV_vertex_program1_1 #ifndef GL_NV_vertex_program1_1
#define GL_NV_vertex_program1_1 1 #define GL_NV_vertex_program1_1 1
#endif #endif
#ifndef GL_EXT_shadow_funcs #ifndef GL_EXT_shadow_funcs
#define GL_EXT_shadow_funcs 1 #define GL_EXT_shadow_funcs 1
#endif #endif
#ifndef GL_EXT_stencil_two_side #ifndef GL_EXT_stencil_two_side
#define GL_EXT_stencil_two_side 1 #define GL_EXT_stencil_two_side 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum); GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
#endif #endif
#ifndef GL_ATI_text_fragment_shader #ifndef GL_ATI_text_fragment_shader
#define GL_ATI_text_fragment_shader 1 #define GL_ATI_text_fragment_shader 1
#endif #endif
#ifndef GL_APPLE_client_storage #ifndef GL_APPLE_client_storage
#define GL_APPLE_client_storage 1 #define GL_APPLE_client_storage 1
#endif #endif
#ifndef GL_APPLE_element_array #ifndef GL_APPLE_element_array
#define GL_APPLE_element_array 1 #define GL_APPLE_element_array 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glElementPointerAPPLE (GLenum, const GLvoid *); GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const GLvoid *point
GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum, GLint, GLsizei); er);
GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, G GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsi
Lint, GLsizei); zei count);
GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum, const GLint *, co GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start
nst GLsizei *, GLsizei); , GLuint end, GLint first, GLsizei count);
GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLui GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint
nt, const GLint *, const GLsizei *, GLsizei); *first, const GLsizei *count, GLsizei primcount);
GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint
start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primco
unt);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const G Lvoid *pointer); typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const G Lvoid *pointer);
typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum m ode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GL sizei primcount); typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum m ode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GL sizei primcount);
#endif #endif
#ifndef GL_APPLE_fence #ifndef GL_APPLE_fence
#define GL_APPLE_fence 1 #define GL_APPLE_fence 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGenFencesAPPLE (GLsizei, GLuint *); GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
GLAPI void APIENTRY glSetFenceAPPLE (GLuint); GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint); GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint); GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
GLAPI void APIENTRY glFinishFenceAPPLE (GLuint); GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum, GLuint); GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
GLAPI void APIENTRY glFinishObjectAPPLE (GLenum, GLint); GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences ); typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences );
typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuin t *fences); typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuin t *fences);
typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence); typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence); typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence); typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLui nt name); typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLui nt name);
typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint n ame); typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint n ame);
#endif #endif
#ifndef GL_APPLE_vertex_array_object #ifndef GL_APPLE_vertex_array_object
#define GL_APPLE_vertex_array_object 1 #define GL_APPLE_vertex_array_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint); GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arr
GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, GLuint *); ays);
GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint); GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint * arrays); typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint * arrays);
typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
#endif #endif
#ifndef GL_APPLE_vertex_array_range #ifndef GL_APPLE_vertex_array_range
#define GL_APPLE_vertex_array_range 1 #define GL_APPLE_vertex_array_range 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei, GLvoid *); GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointe
GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *); r);
GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum, GLint); GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, GLvoid *p
ointer);
GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param
);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GL void *pointer); typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GL void *pointer);
typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei lengt h, GLvoid *pointer); typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei lengt h, GLvoid *pointer);
typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
#endif #endif
#ifndef GL_APPLE_ycbcr_422 #ifndef GL_APPLE_ycbcr_422
#define GL_APPLE_ycbcr_422 1 #define GL_APPLE_ycbcr_422 1
#endif #endif
#ifndef GL_S3_s3tc #ifndef GL_S3_s3tc
#define GL_S3_s3tc 1 #define GL_S3_s3tc 1
#endif #endif
#ifndef GL_ATI_draw_buffers #ifndef GL_ATI_draw_buffers
#define GL_ATI_draw_buffers 1 #define GL_ATI_draw_buffers 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawBuffersATI (GLsizei, const GLenum *); GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum * bufs); typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum * bufs);
#endif #endif
#ifndef GL_ATI_pixel_format_float #ifndef GL_ATI_pixel_format_float
#define GL_ATI_pixel_format_float 1 #define GL_ATI_pixel_format_float 1
/* This is really a WGL extension, but defines some associated GL enums. /* This is really a WGL extension, but defines some associated GL enums.
* ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS str ing. * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS str ing.
*/ */
#endif #endif
skipping to change at line 8099 skipping to change at line 8692
#endif #endif
#ifndef GL_NV_float_buffer #ifndef GL_NV_float_buffer
#define GL_NV_float_buffer 1 #define GL_NV_float_buffer 1
#endif #endif
#ifndef GL_NV_fragment_program #ifndef GL_NV_fragment_program
#define GL_NV_fragment_program 1 #define GL_NV_fragment_program 1
/* Some NV_fragment_program entry points are shared with ARB_vertex_program . */ /* Some NV_fragment_program entry points are shared with ARB_vertex_program . */
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint, GLsizei, const GLu GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, co
byte *, GLfloat, GLfloat, GLfloat, GLfloat); nst GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint, GLsizei, const GLu GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, co
byte *, GLdouble, GLdouble, GLdouble, GLdouble); nst GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint, GLsizei, const GL GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, c
ubyte *, const GLfloat *); onst GLubyte *name, const GLfloat *v);
GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint, GLsizei, const GL GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, c
ubyte *, const GLdouble *); onst GLubyte *name, const GLdouble *v);
GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len,
GLubyte *, GLfloat *); const GLubyte *name, GLfloat *params);
GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len,
GLubyte *, GLdouble *); const GLubyte *name, GLdouble *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLs izei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLs izei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLs izei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLs izei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GL sizei len, const GLubyte *name, const GLfloat *v); typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GL sizei len, const GLubyte *name, const GLfloat *v);
typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GL sizei len, const GLubyte *name, const GLdouble *v); typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GL sizei len, const GLubyte *name, const GLdouble *v);
typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
#endif #endif
#ifndef GL_NV_half_float #ifndef GL_NV_half_float
#define GL_NV_half_float 1 #define GL_NV_half_float 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertex2hNV (GLhalfNV, GLhalfNV); GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *); GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV); GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *); GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhal
GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *); fNV w);
GLAPI void APIENTRY glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV); GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *); GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
GLAPI void APIENTRY glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *); GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blu
GLAPI void APIENTRY glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); e);
GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *); GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV); GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blu
GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *); e, GLhalfNV alpha);
GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV, GLhalfNV); GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *); GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV); GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *); GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV) GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
; GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *); GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum, GLhalfNV); GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLh
GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum, const GLhalfNV *); alfNV q);
GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV); GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum, const GLhalfNV *); GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalf GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v)
NV); ;
GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum, const GLhalfNV *); GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfN
GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalf V t);
NV, GLhalfNV); GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v)
GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum, const GLhalfNV *); ;
GLAPI void APIENTRY glFogCoordhNV (GLhalfNV); GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfN
GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *); V t, GLhalfNV r);
GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v)
GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *); ;
GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV); GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfN
GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *); V t, GLhalfNV r, GLhalfNV q);
GLAPI void APIENTRY glVertexAttrib1hNV (GLuint, GLhalfNV); GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v)
GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint, const GLhalfNV *); ;
GLAPI void APIENTRY glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV); GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint, const GLhalfNV *); GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
GLAPI void APIENTRY glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfN GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLh
V); alfNV blue);
GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint, const GLhalfNV *); GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
GLAPI void APIENTRY glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfN GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
V, GLhalfNV); GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint, const GLhalfNV *); GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV * GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
); GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV
GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV * y);
); GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV * GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV
); y, GLhalfNV z);
GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV * GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
); GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV
y, GLhalfNV z, GLhalfNV w);
GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GL
halfNV *v);
GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GL
halfNV *v);
GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GL
halfNV *v);
GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GL
halfNV *v);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhal fNV z); typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhal fNV z);
typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhal fNV z, GLhalfNV w); typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhal fNV z, GLhalfNV w);
typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLh alfNV nz); typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLh alfNV nz);
typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
skipping to change at line 8215 skipping to change at line 8808
typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GL halfNV *v); typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GL halfNV *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
#endif #endif
#ifndef GL_NV_pixel_data_range #ifndef GL_NV_pixel_data_range
#define GL_NV_pixel_data_range 1 #define GL_NV_pixel_data_range 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPixelDataRangeNV (GLenum, GLsizei, GLvoid *); GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, GLvo
GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum); id *pointer);
GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer); typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer);
typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
#endif #endif
#ifndef GL_NV_primitive_restart #ifndef GL_NV_primitive_restart
#define GL_NV_primitive_restart 1 #define GL_NV_primitive_restart 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPrimitiveRestartNV (void); GLAPI void APIENTRY glPrimitiveRestartNV (void);
GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint); GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void); typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
#endif #endif
#ifndef GL_NV_texture_expand_normal #ifndef GL_NV_texture_expand_normal
#define GL_NV_texture_expand_normal 1 #define GL_NV_texture_expand_normal 1
#endif #endif
#ifndef GL_NV_vertex_program2 #ifndef GL_NV_vertex_program2
#define GL_NV_vertex_program2 1 #define GL_NV_vertex_program2 1
#endif #endif
#ifndef GL_ATI_map_object_buffer #ifndef GL_ATI_map_object_buffer
#define GL_ATI_map_object_buffer 1 #define GL_ATI_map_object_buffer 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint); GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint buffer);
GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint); GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
#endif #endif
#ifndef GL_ATI_separate_stencil #ifndef GL_ATI_separate_stencil
#define GL_ATI_separate_stencil 1 #define GL_ATI_separate_stencil 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum) GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLen
; um dpfail, GLenum dppass);
GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum back
); func, GLint ref, GLuint mask);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
#endif #endif
#ifndef GL_ATI_vertex_attrib_array_object #ifndef GL_ATI_vertex_attrib_array_object
#define GL_ATI_vertex_attrib_array_object 1 #define GL_ATI_vertex_attrib_array_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GL GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size,
boolean, GLsizei, GLuint, GLuint); GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint o
GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfl ffset);
oat *); GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum
GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLin pname, GLfloat *params);
t *); GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum
pname, GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buff er, GLuint offset); typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buff er, GLuint offset);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint i ndex, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint i ndex, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint i ndex, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint i ndex, GLenum pname, GLint *params);
#endif #endif
#ifndef GL_OES_read_format #ifndef GL_OES_read_format
#define GL_OES_read_format 1 #define GL_OES_read_format 1
#endif #endif
#ifndef GL_EXT_depth_bounds_test #ifndef GL_EXT_depth_bounds_test
#define GL_EXT_depth_bounds_test 1 #define GL_EXT_depth_bounds_test 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDepthBoundsEXT (GLclampd, GLclampd); GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd z max); typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd z max);
#endif #endif
#ifndef GL_EXT_texture_mirror_clamp #ifndef GL_EXT_texture_mirror_clamp
#define GL_EXT_texture_mirror_clamp 1 #define GL_EXT_texture_mirror_clamp 1
#endif #endif
#ifndef GL_EXT_blend_equation_separate #ifndef GL_EXT_blend_equation_separate
#define GL_EXT_blend_equation_separate 1 #define GL_EXT_blend_equation_separate 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum, GLenum); GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum mode Alpha);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
#endif #endif
#ifndef GL_MESA_pack_invert #ifndef GL_MESA_pack_invert
#define GL_MESA_pack_invert 1 #define GL_MESA_pack_invert 1
#endif #endif
#ifndef GL_MESA_ycbcr_texture #ifndef GL_MESA_ycbcr_texture
#define GL_MESA_ycbcr_texture 1 #define GL_MESA_ycbcr_texture 1
skipping to change at line 8327 skipping to change at line 8920
#define GL_NV_vertex_program2_option 1 #define GL_NV_vertex_program2_option 1
#endif #endif
#ifndef GL_NV_vertex_program3 #ifndef GL_NV_vertex_program3
#define GL_NV_vertex_program3 1 #define GL_NV_vertex_program3 1
#endif #endif
#ifndef GL_EXT_framebuffer_object #ifndef GL_EXT_framebuffer_object
#define GL_EXT_framebuffer_object 1 #define GL_EXT_framebuffer_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint); GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
GLAPI void APIENTRY glBindRenderbufferEXT (GLenum, GLuint); GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuff
GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei, const GLuint *); er);
GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei, GLuint *); GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *rend
GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsi erbuffers);
zei); GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers
GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint );
*); GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum interna
GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint); lformat, GLsizei width, GLsizei height);
GLAPI void APIENTRY glBindFramebufferEXT (GLenum, GLuint); GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum
GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei, const GLuint *); pname, GLint *params);
GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei, GLuint *); GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum); GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer
GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLui );
nt, GLint); GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *frame
GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLui buffers);
nt, GLint); GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLui GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
nt, GLint, GLint); GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attach
GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, G ment, GLenum textarget, GLuint texture, GLint level);
Luint); GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attach
GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum, GLenu ment, GLenum textarget, GLuint texture, GLint level);
m, GLenum, GLint *); GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attach
GLAPI void APIENTRY glGenerateMipmapEXT (GLenum); ment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum att
achment, GLenum renderbuffertarget, GLuint renderbuffer);
GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target
, GLenum attachment, GLenum pname, GLint *params);
GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuff er); typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuff er);
typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuin t renderbuffer); typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuin t renderbuffer);
typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *r enderbuffers); typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *r enderbuffers);
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GL enum internalformat, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GL enum internalformat, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum tar get, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum tar get, GLenum pname, GLint *params);
typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer ); typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer );
typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const G Luint *framebuffers); typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const G Luint *framebuffers);
skipping to change at line 8367 skipping to change at line 8960
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, G Lenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, G Lenum attachment, GLenum textarget, GLuint texture, GLint level);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, G Lenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoff set); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, G Lenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoff set);
typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target , GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target , GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (G Lenum target, GLenum attachment, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (G Lenum target, GLenum attachment, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
#endif #endif
#ifndef GL_GREMEDY_string_marker #ifndef GL_GREMEDY_string_marker
#define GL_GREMEDY_string_marker 1 #define GL_GREMEDY_string_marker 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei, const GLvoid *); GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const GLvoid *strin g);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const G Lvoid *string); typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const G Lvoid *string);
#endif #endif
#ifndef GL_EXT_packed_depth_stencil #ifndef GL_EXT_packed_depth_stencil
#define GL_EXT_packed_depth_stencil 1 #define GL_EXT_packed_depth_stencil 1
#endif #endif
#ifndef GL_EXT_stencil_clear_tag #ifndef GL_EXT_stencil_clear_tag
#define GL_EXT_stencil_clear_tag 1 #define GL_EXT_stencil_clear_tag 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glStencilClearTagEXT (GLsizei, GLuint); GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint st encilClearTag);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBit s, GLuint stencilClearTag); typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBit s, GLuint stencilClearTag);
#endif #endif
#ifndef GL_EXT_texture_sRGB #ifndef GL_EXT_texture_sRGB
#define GL_EXT_texture_sRGB 1 #define GL_EXT_texture_sRGB 1
#endif #endif
#ifndef GL_EXT_framebuffer_blit #ifndef GL_EXT_framebuffer_blit
#define GL_EXT_framebuffer_blit 1 #define GL_EXT_framebuffer_blit 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlitFramebufferEXT (GLint, GLint, GLint, GLint, GLint , GLint, GLint, GLint, GLbitfield, GLenum); GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint s rcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbi tfield mask, GLenum filter);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint sr cY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint sr cY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
#endif #endif
#ifndef GL_EXT_framebuffer_multisample #ifndef GL_EXT_framebuffer_multisample
#define GL_EXT_framebuffer_multisample 1 #define GL_EXT_framebuffer_multisample 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, G Lenum, GLsizei, GLsizei); GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLs izei samples, GLenum internalformat, GLsizei width, GLsizei height);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei hei ght); typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei hei ght);
#endif #endif
#ifndef GL_MESAX_texture_stack #ifndef GL_MESAX_texture_stack
#define GL_MESAX_texture_stack 1 #define GL_MESAX_texture_stack 1
#endif #endif
#ifndef GL_EXT_timer_query #ifndef GL_EXT_timer_query
#define GL_EXT_timer_query 1 #define GL_EXT_timer_query 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint, GLenum, GLint64EXT *); GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint
GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint, GLenum, GLuint64EXT * 64EXT *params);
); GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLui
nt64EXT *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
#endif #endif
#ifndef GL_EXT_gpu_program_parameters #ifndef GL_EXT_gpu_program_parameters
#define GL_EXT_gpu_program_parameters 1 #define GL_EXT_gpu_program_parameters 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum, GLuint, GLsizei, GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint ind
const GLfloat *); ex, GLsizei count, const GLfloat *params);
GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum, GLuint, GLsizei GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint i
, const GLfloat *); ndex, GLsizei count, const GLfloat *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target , GLuint index, GLsizei count, const GLfloat *params); typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target , GLuint index, GLsizei count, const GLfloat *params);
typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum targ et, GLuint index, GLsizei count, const GLfloat *params); typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum targ et, GLuint index, GLsizei count, const GLfloat *params);
#endif #endif
#ifndef GL_APPLE_flush_buffer_range #ifndef GL_APPLE_flush_buffer_range
#define GL_APPLE_flush_buffer_range 1 #define GL_APPLE_flush_buffer_range 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum, GLenum, GLint); GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, G
GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum, GLintptr, GLsize Lint param);
iptr); GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr
offset, GLsizeiptr size);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLe num pname, GLint param); typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLe num pname, GLint param);
typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum targe t, GLintptr offset, GLsizeiptr size); typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum targe t, GLintptr offset, GLsizeiptr size);
#endif #endif
#ifndef GL_NV_gpu_program4 #ifndef GL_NV_gpu_program4
#define GL_NV_gpu_program4 1 #define GL_NV_gpu_program4 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum, GLuint, GLint, GL GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint ind
int, GLint, GLint); ex, GLint x, GLint y, GLint z, GLint w);
GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum, GLuint, const GL GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint in
int *); dex, const GLint *params);
GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum, GLuint, GLsizei GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint i
, const GLint *); ndex, GLsizei count, const GLint *params);
GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum, GLuint, GLuint, GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint in
GLuint, GLuint, GLuint); dex, GLuint x, GLuint y, GLuint z, GLuint w);
GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum, GLuint, const G GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint i
Luint *); ndex, const GLuint *params);
GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum, GLuint, GLsize GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint
i, const GLuint *); index, GLsizei count, const GLuint *params);
GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum, GLuint, GLint, GLin GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index
t, GLint, GLint); , GLint x, GLint y, GLint z, GLint w);
GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum, GLuint, const GLin GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint inde
t *); x, const GLint *params);
GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum, GLuint, GLsizei, GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint ind
const GLint *); ex, GLsizei count, const GLint *params);
GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum, GLuint, GLuint, GL GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint inde
uint, GLuint, GLuint); x, GLuint x, GLuint y, GLuint z, GLuint w);
GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum, GLuint, const GLu GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint ind
int *); ex, const GLuint *params);
GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum, GLuint, GLsizei, GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint in
const GLuint *); dex, GLsizei count, const GLuint *params);
GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum, GLuint, GLint GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint
*); index, GLint *params);
GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum, GLuint, GLuin GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint
t *); index, GLuint *params);
GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum, GLuint, GLint *) GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint in
; dex, GLint *params);
GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum, GLuint, GLuint GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint i
*); ndex, GLuint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target , GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target , GLuint index, GLint x, GLint y, GLint z, GLint w);
typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum targe t, GLuint index, const GLint *params); typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum targe t, GLuint index, const GLint *params);
typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum targ et, GLuint index, GLsizei count, const GLint *params); typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum targ et, GLuint index, GLsizei count, const GLint *params);
typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum targe t, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum targe t, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum targ et, GLuint index, const GLuint *params); typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum targ et, GLuint index, const GLuint *params);
typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum tar get, GLuint index, GLsizei count, const GLuint *params); typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum tar get, GLuint index, GLsizei count, const GLuint *params);
typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target , GLuint index, GLsizei count, const GLint *params); typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target , GLuint index, GLsizei count, const GLint *params);
skipping to change at line 8479 skipping to change at line 9072
typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum targe t, GLuint index, GLsizei count, const GLuint *params); typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum targe t, GLuint index, GLsizei count, const GLuint *params);
typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum tar get, GLuint index, GLint *params); typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum tar get, GLuint index, GLint *params);
typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum ta rget, GLuint index, GLuint *params); typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum ta rget, GLuint index, GLuint *params);
typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum targe t, GLuint index, GLint *params); typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum targe t, GLuint index, GLint *params);
typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum targ et, GLuint index, GLuint *params); typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum targ et, GLuint index, GLuint *params);
#endif #endif
#ifndef GL_NV_geometry_program4 #ifndef GL_NV_geometry_program4
#define GL_NV_geometry_program4 1 #define GL_NV_geometry_program4 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProgramVertexLimitNV (GLenum, GLint); GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
GLAPI void APIENTRY glFramebufferTextureEXT (GLenum, GLenum, GLuint, GLint) GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachme
; nt, GLuint texture, GLint level);
GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum, GLenum, GLuint, G GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum att
Lint, GLint); achment, GLuint texture, GLint level, GLint layer);
GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum, GLenum, GLuint, GL GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum atta
int, GLenum); chment, GLuint texture, GLint level, GLenum face);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLin t limit); typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLin t limit);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLe num attachment, GLuint texture, GLint level); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLe num attachment, GLuint texture, GLint level);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target , GLenum attachment, GLuint texture, GLint level, GLint layer); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target , GLenum attachment, GLuint texture, GLint level, GLint layer);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
#endif #endif
#ifndef GL_EXT_geometry_shader4 #ifndef GL_EXT_geometry_shader4
#define GL_EXT_geometry_shader4 1 #define GL_EXT_geometry_shader4 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProgramParameteriEXT (GLuint, GLenum, GLint); GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, G Lint value);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLe num pname, GLint value); typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLe num pname, GLint value);
#endif #endif
#ifndef GL_NV_vertex_program4 #ifndef GL_NV_vertex_program4
#define GL_NV_vertex_program4 1 #define GL_NV_vertex_program4 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint, GLint); GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint, GLint, GLint); GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint, GLint, GLint, GLint); GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, G
GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint, GLint, GLint, GLint, GLin Lint z);
t); GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, G
GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint, GLuint); Lint z, GLint w);
GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint, GLuint, GLuint); GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint, GLuint, GLuint, GLuint); GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y
GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint, GLuint, GLuint, GLuint, );
GLuint); GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y
GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint, const GLint *); , GLuint z);
GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint, const GLint *); GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y
GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint, const GLint *); , GLuint z, GLuint w);
GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint, const GLint *); GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint, const GLuint *); GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint, const GLbyte *); GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint, const GLshort *); GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint, const GLubyte *); GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint, const GLushort *); GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint, GLint, GLenum, GLsiz GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
ei, const GLvoid *); GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v)
GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint, GLenum, GLint *); ;
GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint, GLenum, GLuint *); GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v
);
GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GL
enum type, GLsizei stride, const GLvoid *pointer);
GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GL
int *params);
GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, G
Luint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x ); typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x );
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x , GLint y); typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x , GLint y);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x , GLint y, GLint z); typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x , GLint y, GLint z);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x , GLint y, GLint z, GLint w); typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x , GLint y, GLint z, GLint w);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x); typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y); typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z); typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v); typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
skipping to change at line 8553 skipping to change at line 9146
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v); typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v); typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GL int size, GLenum type, GLsizei stride, const GLvoid *pointer); typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GL int size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLen um pname, GLint *params); typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLen um pname, GLint *params);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLe num pname, GLuint *params); typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLe num pname, GLuint *params);
#endif #endif
#ifndef GL_EXT_gpu_shader4 #ifndef GL_EXT_gpu_shader4
#define GL_EXT_gpu_shader4 1 #define GL_EXT_gpu_shader4 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetUniformuivEXT (GLuint, GLint, GLuint *); GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLu
GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint, GLuint, const GLchar int *params);
*); GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color
GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint, const GLchar *); , const GLchar *name);
GLAPI void APIENTRY glUniform1uiEXT (GLint, GLuint); GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar
GLAPI void APIENTRY glUniform2uiEXT (GLint, GLuint, GLuint); *name);
GLAPI void APIENTRY glUniform3uiEXT (GLint, GLuint, GLuint, GLuint); GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
GLAPI void APIENTRY glUniform4uiEXT (GLint, GLuint, GLuint, GLuint, GLuint) GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
; GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1,
GLAPI void APIENTRY glUniform1uivEXT (GLint, GLsizei, const GLuint *); GLuint v2);
GLAPI void APIENTRY glUniform2uivEXT (GLint, GLsizei, const GLuint *); GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1,
GLAPI void APIENTRY glUniform3uivEXT (GLint, GLsizei, const GLuint *); GLuint v2, GLuint v3);
GLAPI void APIENTRY glUniform4uivEXT (GLint, GLsizei, const GLuint *); GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const
GLuint *value);
GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const
GLuint *value);
GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const
GLuint *value);
GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const
GLuint *value);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint l ocation, GLuint *params); typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint l ocation, GLuint *params);
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name); typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0) ; typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0) ;
typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1); typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei c ount, const GLuint *value); typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei c ount, const GLuint *value);
typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei c ount, const GLuint *value); typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei c ount, const GLuint *value);
typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei c ount, const GLuint *value); typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei c ount, const GLuint *value);
typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei c ount, const GLuint *value); typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei c ount, const GLuint *value);
#endif #endif
#ifndef GL_EXT_draw_instanced #ifndef GL_EXT_draw_instanced
#define GL_EXT_draw_instanced 1 #define GL_EXT_draw_instanced 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum, GLint, GLsizei, GLsiz GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLs
ei); izei count, GLsizei primcount);
GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum, GLsizei, GLenum, co GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count,
nst GLvoid *, GLsizei); GLenum type, const GLvoid *indices, GLsizei primcount);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLin t start, GLsizei count, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLin t start, GLsizei count, GLsizei primcount);
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GL sizei count, GLenum type, const GLvoid *indices, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GL sizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
#endif #endif
#ifndef GL_EXT_packed_float #ifndef GL_EXT_packed_float
#define GL_EXT_packed_float 1 #define GL_EXT_packed_float 1
#endif #endif
#ifndef GL_EXT_texture_array #ifndef GL_EXT_texture_array
#define GL_EXT_texture_array 1 #define GL_EXT_texture_array 1
#endif #endif
#ifndef GL_EXT_texture_buffer_object #ifndef GL_EXT_texture_buffer_object
#define GL_EXT_texture_buffer_object 1 #define GL_EXT_texture_buffer_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTexBufferEXT (GLenum, GLenum, GLuint); GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, G Luint buffer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum inter nalformat, GLuint buffer); typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum inter nalformat, GLuint buffer);
#endif #endif
#ifndef GL_EXT_texture_compression_latc #ifndef GL_EXT_texture_compression_latc
#define GL_EXT_texture_compression_latc 1 #define GL_EXT_texture_compression_latc 1
#endif #endif
#ifndef GL_EXT_texture_compression_rgtc #ifndef GL_EXT_texture_compression_rgtc
#define GL_EXT_texture_compression_rgtc 1 #define GL_EXT_texture_compression_rgtc 1
#endif #endif
#ifndef GL_EXT_texture_shared_exponent #ifndef GL_EXT_texture_shared_exponent
#define GL_EXT_texture_shared_exponent 1 #define GL_EXT_texture_shared_exponent 1
#endif #endif
#ifndef GL_NV_depth_buffer_float #ifndef GL_NV_depth_buffer_float
#define GL_NV_depth_buffer_float 1 #define GL_NV_depth_buffer_float 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glDepthRangedNV (GLdouble, GLdouble); GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
GLAPI void APIENTRY glClearDepthdNV (GLdouble); GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
GLAPI void APIENTRY glDepthBoundsdNV (GLdouble, GLdouble); GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble z Far); typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble z Far);
typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble z max); typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble z max);
#endif #endif
#ifndef GL_NV_fragment_program4 #ifndef GL_NV_fragment_program4
#define GL_NV_fragment_program4 1 #define GL_NV_fragment_program4 1
#endif #endif
#ifndef GL_NV_framebuffer_multisample_coverage #ifndef GL_NV_framebuffer_multisample_coverage
#define GL_NV_framebuffer_multisample_coverage 1 #define GL_NV_framebuffer_multisample_coverage 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum, GLs izei, GLsizei, GLenum, GLsizei, GLsizei); GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum targ et, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, G Lsizei width, GLsizei height);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum inter nalformat, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum inter nalformat, GLsizei width, GLsizei height);
#endif #endif
#ifndef GL_EXT_framebuffer_sRGB #ifndef GL_EXT_framebuffer_sRGB
#define GL_EXT_framebuffer_sRGB 1 #define GL_EXT_framebuffer_sRGB 1
#endif #endif
#ifndef GL_NV_geometry_shader4 #ifndef GL_NV_geometry_shader4
#define GL_NV_geometry_shader4 1 #define GL_NV_geometry_shader4 1
#endif #endif
#ifndef GL_NV_parameter_buffer_object #ifndef GL_NV_parameter_buffer_object
#define GL_NV_parameter_buffer_object 1 #define GL_NV_parameter_buffer_object 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum, GLuint, GLuint, GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bu
GLsizei, const GLfloat *); ffer, GLuint index, GLsizei count, const GLfloat *params);
GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum, GLuint, GLuint, GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint b
GLsizei, const GLint *); uffer, GLuint index, GLsizei count, const GLint *params);
GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum, GLuint, GLuint GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint
, GLsizei, const GLuint *); buffer, GLuint index, GLsizei count, const GLuint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum targe t, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params); typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum targe t, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum targ et, GLuint buffer, GLuint index, GLsizei count, const GLint *params); typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum targ et, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum tar get, GLuint buffer, GLuint index, GLsizei count, const GLuint *params); typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum tar get, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
#endif #endif
#ifndef GL_EXT_draw_buffers2 #ifndef GL_EXT_draw_buffers2
#define GL_EXT_draw_buffers2 1 #define GL_EXT_draw_buffers2 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint, GLboolean, GLboolean, GL GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboo
boolean, GLboolean); lean g, GLboolean b, GLboolean a);
GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum, GLuint, GLboolean *); GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, G
GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum, GLuint, GLint *); Lboolean *data);
GLAPI void APIENTRY glEnableIndexedEXT (GLenum, GLuint); GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, G
GLAPI void APIENTRY glDisableIndexedEXT (GLenum, GLuint); Lint *data);
GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum, GLuint); GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index
);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLbool ean r, GLboolean g, GLboolean b, GLboolean a); typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLbool ean r, GLboolean g, GLboolean b, GLboolean a);
typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLu int index, GLboolean *data); typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLu int index, GLboolean *data);
typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLu int index, GLint *data); typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLu int index, GLint *data);
typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint i ndex); typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint i ndex);
typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
#endif #endif
#ifndef GL_NV_transform_feedback #ifndef GL_NV_transform_feedback
#define GL_NV_transform_feedback 1 #define GL_NV_transform_feedback 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum); GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
GLAPI void APIENTRY glEndTransformFeedbackNV (void); GLAPI void APIENTRY glEndTransformFeedbackNV (void);
GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint, const GLint *, GL GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint
enum); *attribs, GLenum bufferMode);
GLAPI void APIENTRY glBindBufferRangeNV (GLenum, GLuint, GLuint, GLintptr, GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuin
GLsizeiptr); t buffer, GLintptr offset, GLsizeiptr size);
GLAPI void APIENTRY glBindBufferOffsetNV (GLenum, GLuint, GLuint, GLintptr) GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLui
; nt buffer, GLintptr offset);
GLAPI void APIENTRY glBindBufferBaseNV (GLenum, GLuint, GLuint); GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint
GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint, GLsizei, const G buffer);
Lchar* *, GLenum); GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei
GLAPI void APIENTRY glActiveVaryingNV (GLuint, const GLchar *); count, const GLchar* *varyings, GLenum bufferMode);
GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint, const GLchar *); GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
GLAPI void APIENTRY glGetActiveVaryingNV (GLuint, GLuint, GLsizei, GLsizei GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *
*, GLsizei *, GLenum *, GLchar *); name);
GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint, GLuint, GLint GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLs
*); izei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint
index, GLint *location);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiv eMode); typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiv eMode);
typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint i ndex, GLuint buffer); typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint i ndex, GLuint buffer);
typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint progr am, GLsizei count, const GLchar* *varyings, GLenum bufferMode); typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint progr am, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GL char *name); typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GL char *name);
typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, co nst GLchar *name); typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, co nst GLchar *name);
typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuin t index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLc har *name); typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuin t index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLc har *name);
typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint pro gram, GLuint index, GLint *location); typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint pro gram, GLuint index, GLint *location);
#endif #endif
#ifndef GL_EXT_bindable_uniform #ifndef GL_EXT_bindable_uniform
#define GL_EXT_bindable_uniform 1 #define GL_EXT_bindable_uniform 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glUniformBufferEXT (GLuint, GLint, GLuint); GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLu
GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint, GLint); int buffer);
GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint, GLint); GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint locat
ion);
GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint locati
on);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint l ocation, GLuint buffer); typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint l ocation, GLuint buffer);
typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location); typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location); typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
#endif #endif
#ifndef GL_EXT_texture_integer #ifndef GL_EXT_texture_integer
#define GL_EXT_texture_integer 1 #define GL_EXT_texture_integer 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTexParameterIivEXT (GLenum, GLenum, const GLint *); GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, cons
GLAPI void APIENTRY glTexParameterIuivEXT (GLenum, GLenum, const GLuint *); t GLint *params);
GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum, GLenum, GLint *); GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, con
GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum, GLenum, GLuint *); st GLuint *params);
GLAPI void APIENTRY glClearColorIiEXT (GLint, GLint, GLint, GLint); GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, G
GLAPI void APIENTRY glClearColorIuiEXT (GLuint, GLuint, GLuint, GLuint); Lint *params);
GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname,
GLuint *params);
GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue,
GLint alpha);
GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint bl
ue, GLuint alpha);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenu m pname, const GLuint *params); typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenu m pname, const GLuint *params);
typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLe num pname, GLint *params); typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLe num pname, GLint *params);
typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GL enum pname, GLuint *params); typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GL enum pname, GLuint *params);
typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha); typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint gree n, GLuint blue, GLuint alpha); typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint gree n, GLuint blue, GLuint alpha);
#endif #endif
#ifndef GL_GREMEDY_frame_terminator #ifndef GL_GREMEDY_frame_terminator
#define GL_GREMEDY_frame_terminator 1 #define GL_GREMEDY_frame_terminator 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glFrameTerminatorGREMEDY (void); GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void); typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
#endif #endif
#ifndef GL_NV_conditional_render #ifndef GL_NV_conditional_render
#define GL_NV_conditional_render 1 #define GL_NV_conditional_render 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint, GLenum); GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
GLAPI void APIENTRY glEndConditionalRenderNV (void); GLAPI void APIENTRY glEndConditionalRenderNV (void);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLen um mode); typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLen um mode);
typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
#endif #endif
#ifndef GL_NV_present_video #ifndef GL_NV_present_video
#define GL_NV_present_video 1 #define GL_NV_present_video 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint, GLuint64EXT, GLuint, GLu GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT m
int, GLenum, GLenum, GLuint, GLuint, GLenum, GLuint, GLuint); inPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum
GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint, GLuint64EXT, GLuint, type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fil
GLuint, GLenum, GLenum, GLuint, GLenum, GLuint, GLenum, GLuint, GLenum, GLu l1, GLuint key1);
int); GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EX
GLAPI void APIENTRY glGetVideoivNV (GLuint, GLenum, GLint *); T minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLen
GLAPI void APIENTRY glGetVideouivNV (GLuint, GLenum, GLuint *); um type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum
GLAPI void APIENTRY glGetVideoi64vNV (GLuint, GLenum, GLint64EXT *); target2, GLuint fill2, GLenum target3, GLuint fill3);
GLAPI void APIENTRY glGetVideoui64vNV (GLuint, GLenum, GLuint64EXT *); GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint
*params);
GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuin
t *params);
GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLin
t64EXT *params);
GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLu
int64EXT *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, G Luint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDuratio nId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1 , GLuint fill1, GLuint key1); typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, G Luint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDuratio nId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1 , GLuint fill1, GLuint key1);
typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot , GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDura tionId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint f ill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot , GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDura tionId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint f ill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum p name, GLint *params); typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum p name, GLint *params);
typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params); typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params); typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenu m pname, GLuint64EXT *params); typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenu m pname, GLuint64EXT *params);
#endif #endif
#ifndef GL_EXT_transform_feedback #ifndef GL_EXT_transform_feedback
#define GL_EXT_transform_feedback 1 #define GL_EXT_transform_feedback 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum); GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
GLAPI void APIENTRY glEndTransformFeedbackEXT (void); GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
GLAPI void APIENTRY glBindBufferRangeEXT (GLenum, GLuint, GLuint, GLintptr, GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLui
GLsizeiptr); nt buffer, GLintptr offset, GLsizeiptr size);
GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum, GLuint, GLuint, GLintptr GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLu
); int buffer, GLintptr offset);
GLAPI void APIENTRY glBindBufferBaseEXT (GLenum, GLuint, GLuint); GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuin
GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint, GLsizei, const t buffer);
GLchar* *, GLenum); GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei
GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint, GLuint, GLsiz count, const GLchar* *varyings, GLenum bufferMode);
ei, GLsizei *, GLsizei *, GLenum *, GLchar *); GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuin
t index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLc
har *name);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primiti veMode); typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primiti veMode);
typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void); typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuin t index, GLuint buffer, GLintptr offset); typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuin t index, GLuint buffer, GLintptr offset);
typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer); typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint prog ram, GLsizei count, const GLchar* *varyings, GLenum bufferMode); typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint prog ram, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint pr ogram, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenu m *type, GLchar *name); typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint pr ogram, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenu m *type, GLchar *name);
#endif #endif
#ifndef GL_EXT_direct_state_access #ifndef GL_EXT_direct_state_access
#define GL_EXT_direct_state_access 1 #define GL_EXT_direct_state_access 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield); GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield); GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
GLAPI void APIENTRY glMatrixLoadfEXT (GLenum, const GLfloat *); GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
GLAPI void APIENTRY glMatrixLoaddEXT (GLenum, const GLdouble *); GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
GLAPI void APIENTRY glMatrixMultfEXT (GLenum, const GLfloat *); GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
GLAPI void APIENTRY glMatrixMultdEXT (GLenum, const GLdouble *); GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum); GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
GLAPI void APIENTRY glMatrixRotatefEXT (GLenum, GLfloat, GLfloat, GLfloat, GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat
GLfloat); x, GLfloat y, GLfloat z);
GLAPI void APIENTRY glMatrixRotatedEXT (GLenum, GLdouble, GLdouble, GLdoubl GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdoub
e, GLdouble); le x, GLdouble y, GLdouble z);
GLAPI void APIENTRY glMatrixScalefEXT (GLenum, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, G
GLAPI void APIENTRY glMatrixScaledEXT (GLenum, GLdouble, GLdouble, GLdouble Lfloat z);
); GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y,
GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum, GLfloat, GLfloat, GLfloa GLdouble z);
t); GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat
GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum, GLdouble, GLdouble, GLdo y, GLfloat z);
uble); GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdoubl
GLAPI void APIENTRY glMatrixFrustumEXT (GLenum, GLdouble, GLdouble, GLdoubl e y, GLdouble z);
e, GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdoubl
GLAPI void APIENTRY glMatrixOrthoEXT (GLenum, GLdouble, GLdouble, GLdouble, e right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble
GLAPI void APIENTRY glMatrixPopEXT (GLenum); right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
GLAPI void APIENTRY glMatrixPushEXT (GLenum); GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum, const GLfloat *); GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum, const GLdouble *); GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *
GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum, const GLfloat *); m);
GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum, const GLdouble *); GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble
GLAPI void APIENTRY glTextureParameterfEXT (GLuint, GLenum, GLenum, GLfloat *m);
); GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *
GLAPI void APIENTRY glTextureParameterfvEXT (GLuint, GLenum, GLenum, const m);
GLfloat *); GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble
GLAPI void APIENTRY glTextureParameteriEXT (GLuint, GLenum, GLenum, GLint); *m);
GLAPI void APIENTRY glTextureParameterivEXT (GLuint, GLenum, GLenum, const GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target,
GLint *); GLenum pname, GLfloat param);
GLAPI void APIENTRY glTextureImage1DEXT (GLuint, GLenum, GLint, GLenum, GLs GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target,
izei, GLint, GLenum, GLenum, const GLvoid *); GLenum pname, const GLfloat *params);
GLAPI void APIENTRY glTextureImage2DEXT (GLuint, GLenum, GLint, GLenum, GLs GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target,
izei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); GLenum pname, GLint param);
GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint, GLenum, GLint, GLint, G GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target,
Lsizei, GLenum, GLenum, const GLvoid *); GLenum pname, const GLint *params);
GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint, GLenum, GLint, GLint, G GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLi
Lint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); nt level, GLenum internalformat, GLsizei width, GLint border, GLenum format
GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint, GLenum, GLint, GLenum, , GLenum type, const GLvoid *pixels);
GLint, GLint, GLsizei, GLint); GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLi
GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint, GLenum, GLint, GLenum, nt level, GLenum internalformat, GLsizei width, GLsizei height, GLint borde
GLint, GLint, GLsizei, GLsizei, GLint); r, GLenum format, GLenum type, const GLvoid *pixels);
GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint, GLenum, GLint, GLin GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target,
t, GLint, GLint, GLsizei); GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, cons
GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint, GLenum, GLint, GLin t GLvoid *pixels);
t, GLint, GLint, GLint, GLsizei, GLsizei); GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target,
GLAPI void APIENTRY glGetTextureImageEXT (GLuint, GLenum, GLint, GLenum, GL GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, G
enum, GLvoid *); Lenum format, GLenum type, const GLvoid *pixels);
GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint, GLenum, GLenum, GLf GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target,
loat *); GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint
GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint, GLenum, GLenum, GLi border);
nt *); GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target,
GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint, GLenum, GLint, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsiz
GLenum, GLfloat *); ei height, GLint border);
GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint, GLenum, GLint, GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum targ
GLenum, GLint *); et, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
GLAPI void APIENTRY glTextureImage3DEXT (GLuint, GLenum, GLint, GLenum, GLs GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum targ
izei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); et, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei wi
GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint, GLenum, GLint, GLint, G dth, GLsizei height);
Lint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GL
GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint, GLenum, GLint, GLin int level, GLenum format, GLenum type, GLvoid *pixels);
t, GLint, GLint, GLint, GLint, GLsizei, GLsizei); GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum targ
GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum, GLenum, GLenum, GLfloa et, GLenum pname, GLfloat *params);
t); GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum targ
GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum, GLenum, GLenum, const et, GLenum pname, GLint *params);
GLfloat *); GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum
GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum, GLenum, GLenum, GLint) target, GLint level, GLenum pname, GLfloat *params);
; GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum
GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum, GLenum, GLenum, const target, GLint level, GLenum pname, GLint *params);
GLint *); GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLi
GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum, GLenum, GLint, GLenum, GL nt level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei dep
sizei, GLint, GLenum, GLenum, const GLvoid *); th, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum, GLenum, GLint, GLenum, GL GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target,
sizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GL
GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum, GLenum, GLint, GLint, sizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixe
GLsizei, GLenum, GLenum, const GLvoid *); ls);
GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum, GLenum, GLint, GLint, GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum targ
GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); et, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLin
GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum, GLenum, GLint, GLenum t y, GLsizei width, GLsizei height);
, GLint, GLint, GLsizei, GLint); GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target,
GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum, GLenum, GLint, GLenum GLenum pname, GLfloat param);
, GLint, GLint, GLsizei, GLsizei, GLint); GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target
GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum, GLenum, GLint, GLi , GLenum pname, const GLfloat *params);
nt, GLint, GLint, GLsizei); GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target,
GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum, GLenum, GLint, GLi GLenum pname, GLint param);
nt, GLint, GLint, GLint, GLsizei, GLsizei); GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target
GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum, GLenum, GLint, GLenum, G , GLenum pname, const GLint *params);
Lenum, GLvoid *); GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GL
GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum, GLenum, GLenum, GL int level, GLenum internalformat, GLsizei width, GLint border, GLenum forma
float *); t, GLenum type, const GLvoid *pixels);
GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum, GLenum, GLenum, GL GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GL
int *); int level, GLenum internalformat, GLsizei width, GLsizei height, GLint bord
GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum, GLenum, GLint er, GLenum format, GLenum type, const GLvoid *pixels);
, GLenum, GLfloat *); GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target,
GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum, GLenum, GLint GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, con
, GLenum, GLint *); st GLvoid *pixels);
GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum, GLenum, GLint, GLenum, GL GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target,
sizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height,
GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum, GLenum, GLint, GLint, GLenum format, GLenum type, const GLvoid *pixels);
GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target
GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum, GLenum, GLint, GLi , GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLin
nt, GLint, GLint, GLint, GLint, GLsizei, GLsizei); t border);
GLAPI void APIENTRY glBindMultiTextureEXT (GLenum, GLenum, GLuint); GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target
GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum, GLuint); , GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsi
GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum, GLuint); zei height, GLint border);
GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum, GLenum, GLenum, GLfloat); GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum tar
GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum, GLenum, GLenum, const GLflo get, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
at *); GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum tar
GLAPI void APIENTRY glMultiTexEnviEXT (GLenum, GLenum, GLenum, GLint); get, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei w
GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum, GLenum, GLenum, const GLint idth, GLsizei height);
*); GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, G
GLAPI void APIENTRY glMultiTexGendEXT (GLenum, GLenum, GLenum, GLdouble); Lint level, GLenum format, GLenum type, GLvoid *pixels);
GLAPI void APIENTRY glMultiTexGendvEXT (GLenum, GLenum, GLenum, const GLdou GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum tar
ble *); get, GLenum pname, GLfloat *params);
GLAPI void APIENTRY glMultiTexGenfEXT (GLenum, GLenum, GLenum, GLfloat); GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum tar
GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum, GLenum, GLenum, const GLflo get, GLenum pname, GLint *params);
at *); GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenu
GLAPI void APIENTRY glMultiTexGeniEXT (GLenum, GLenum, GLenum, GLint); m target, GLint level, GLenum pname, GLfloat *params);
GLAPI void APIENTRY glMultiTexGenivEXT (GLenum, GLenum, GLenum, const GLint GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenu
*); m target, GLint level, GLenum pname, GLint *params);
GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum, GLenum, GLenum, GLfloat GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GL
*); int level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei de
GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum, GLenum, GLenum, GLint *) pth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
; GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target,
GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum, GLenum, GLenum, GLdouble GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, G
*); Lsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pix
GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum, GLenum, GLenum, GLfloat els);
*); GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum tar
GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum, GLenum, GLenum, GLint *) get, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLi
; nt y, GLsizei width, GLsizei height);
GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum, GLuint, GLfloat *); GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, G
GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum, GLuint, GLdouble *); Luint texture);
GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum, GLuint, GLvoid* *); GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint ind
GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint, GLenum, GLint, G ex);
Lenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint in
GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint, GLenum, GLint, G dex);
Lenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size,
GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint, GLenum, GLint, G GLenum type, GLsizei stride, const GLvoid *pointer);
Lenum, GLsizei, GLint, GLsizei, const GLvoid *); GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenu
GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint, GLenum, GLint m pname, GLfloat param);
, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GL GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLen
void *); um pname, const GLfloat *params);
GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint, GLenum, GLint GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenu
, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); m pname, GLint param);
GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint, GLenum, GLint GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLen
, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); um pname, const GLint *params);
GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint, GLenum, GLint, GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum
GLvoid *); pname, GLdouble param);
GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum, GLenum, GLint, GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenu
GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); m pname, const GLdouble *params);
GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum, GLenum, GLint, GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum
GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); pname, GLfloat param);
GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum, GLenum, GLint, GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenu
GLenum, GLsizei, GLint, GLsizei, const GLvoid *); m pname, const GLfloat *params);
GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum, GLenum, GLin GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum
t, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const G pname, GLint param);
Lvoid *); GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenu
GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum, GLenum, GLin m pname, const GLint *params);
t, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, G
GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum, GLenum, GLin Lenum pname, GLfloat *params);
t, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, G
GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum, GLenum, GLint, Lenum pname, GLint *params);
GLvoid *); GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GL
GLAPI void APIENTRY glNamedProgramStringEXT (GLuint, GLenum, GLenum, GLsize enum pname, GLdouble *params);
i, const GLvoid *); GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GL
GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint, GLenum, GLui enum pname, GLfloat *params);
nt, GLdouble, GLdouble, GLdouble, GLdouble); GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GL
GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint, GLenum, GLu enum pname, GLint *params);
int, const GLdouble *); GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLf
GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint, GLenum, GLui loat *data);
nt, GLfloat, GLfloat, GLfloat, GLfloat); GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GL
GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint, GLenum, GLu double *data);
int, const GLfloat *); GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, G
GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint, GLenum, G Lvoid* *data);
Luint, GLdouble *); GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum t
GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint, GLenum, G arget, GLint level, GLenum internalformat, GLsizei width, GLsizei height, G
Luint, GLfloat *); Lsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint, GLenum, GLenum, GLint * GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum t
); arget, GLint level, GLenum internalformat, GLsizei width, GLsizei height, G
GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint, GLenum, GLenum, GLv Lint border, GLsizei imageSize, const GLvoid *bits);
oid *); GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum t
GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint, GLenum, GL arget, GLint level, GLenum internalformat, GLsizei width, GLint border, GLs
uint, GLsizei, const GLfloat *); izei imageSize, const GLvoid *bits);
GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint, GLenum, GLu GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenu
int, GLint, GLint, GLint, GLint); m target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei
GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint, GLenum, GL width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, co
uint, const GLint *); nst GLvoid *bits);
GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint, GLenum, G GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenu
Luint, GLsizei, const GLint *); m target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei
GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint, GLenum, GL height, GLenum format, GLsizei imageSize, const GLvoid *bits);
uint, GLuint, GLuint, GLuint, GLuint); GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenu
GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint, GLenum, G m target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei
Luint, const GLuint *); imageSize, const GLvoid *bits);
GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint, GLenum, GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum
GLuint, GLsizei, const GLuint *); target, GLint lod, GLvoid *img);
GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint, GLenum, GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum
GLuint, GLint *); target, GLint level, GLenum internalformat, GLsizei width, GLsizei height,
GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint, GLenum, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
GLuint, GLuint *); GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum
GLAPI void APIENTRY glTextureParameterIivEXT (GLuint, GLenum, GLenum, const target, GLint level, GLenum internalformat, GLsizei width, GLsizei height,
GLint *); GLint border, GLsizei imageSize, const GLvoid *bits);
GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint, GLenum, GLenum, cons GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum
t GLuint *); target, GLint level, GLenum internalformat, GLsizei width, GLint border, GL
GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint, GLenum, GLenum, GL sizei imageSize, const GLvoid *bits);
int *); GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLen
GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint, GLenum, GLenum, G um target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsize
Luint *); i width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, c
GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum, GLenum, GLenum, cons onst GLvoid *bits);
t GLint *); GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLen
GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum, GLenum, GLenum, con um target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsize
st GLuint *); i height, GLenum format, GLsizei imageSize, const GLvoid *bits);
GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum, GLenum, GLenum, G GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLen
Lint *); um target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsize
GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum, GLenum, GLenum, i imageSize, const GLvoid *bits);
GLuint *); GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum
GLAPI void APIENTRY glProgramUniform1fEXT (GLuint, GLint, GLfloat); target, GLint lod, GLvoid *img);
GLAPI void APIENTRY glProgramUniform2fEXT (GLuint, GLint, GLfloat, GLfloat) GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target,
; GLenum format, GLsizei len, const GLvoid *string);
GLAPI void APIENTRY glProgramUniform3fEXT (GLuint, GLint, GLfloat, GLfloat, GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLen
GLfloat); um target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
GLAPI void APIENTRY glProgramUniform4fEXT (GLuint, GLint, GLfloat, GLfloat, GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLe
GLfloat, GLfloat); num target, GLuint index, const GLdouble *params);
GLAPI void APIENTRY glProgramUniform1iEXT (GLuint, GLint, GLint); GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLen
GLAPI void APIENTRY glProgramUniform2iEXT (GLuint, GLint, GLint, GLint); um target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
GLAPI void APIENTRY glProgramUniform3iEXT (GLuint, GLint, GLint, GLint, GLi GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLe
nt); num target, GLuint index, const GLfloat *params);
GLAPI void APIENTRY glProgramUniform4iEXT (GLuint, GLint, GLint, GLint, GLi GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, G
nt, GLint); Lenum target, GLuint index, GLdouble *params);
GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint, GLint, GLsizei, const G GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, G
Lfloat *); Lenum target, GLuint index, GLfloat *params);
GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint, GLint, GLsizei, const G GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target,
Lfloat *); GLenum pname, GLint *params);
GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint, GLint, GLsizei, const G GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum targ
Lfloat *); et, GLenum pname, GLvoid *string);
GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint, GLint, GLsizei, const G GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GL
Lfloat *); enum target, GLuint index, GLsizei count, const GLfloat *params);
GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint, GLint, GLsizei, const G GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLe
Lint *); num target, GLuint index, GLint x, GLint y, GLint z, GLint w);
GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint, GLint, GLsizei, const G GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GL
Lint *); enum target, GLuint index, const GLint *params);
GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint, GLint, GLsizei, const G GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, G
Lint *); Lenum target, GLuint index, GLsizei count, const GLint *params);
GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint, GLint, GLsizei, const G GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GL
Lint *); enum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint, GLint, GLsizei, G GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, G
Lboolean, const GLfloat *); Lenum target, GLuint index, const GLuint *params);
GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint, GLint, GLsizei, G GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program,
Lboolean, const GLfloat *); GLenum target, GLuint index, GLsizei count, const GLuint *params);
GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint, GLint, GLsizei, G GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program,
Lboolean, const GLfloat *); GLenum target, GLuint index, GLint *params);
GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint, GLint, GLsizei, GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program,
GLboolean, const GLfloat *); GLenum target, GLuint index, GLuint *params);
GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint, GLint, GLsizei, GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target
GLboolean, const GLfloat *); , GLenum pname, const GLint *params);
GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint, GLint, GLsizei, GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum targe
GLboolean, const GLfloat *); t, GLenum pname, const GLuint *params);
GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint, GLint, GLsizei, GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum tar
GLboolean, const GLfloat *); get, GLenum pname, GLint *params);
GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint, GLint, GLsizei, GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum ta
GLboolean, const GLfloat *); rget, GLenum pname, GLuint *params);
GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint, GLint, GLsizei, GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum targe
GLboolean, const GLfloat *); t, GLenum pname, const GLint *params);
GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint, GLint, GLuint); GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum targ
GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint, GLint, GLuint, GLuint); et, GLenum pname, const GLuint *params);
GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint, GLint, GLuint, GLuint, GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum ta
GLuint); rget, GLenum pname, GLint *params);
GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint, GLint, GLuint, GLuint, GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum t
GLuint, GLuint); arget, GLenum pname, GLuint *params);
GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint, GLint, GLsizei, const GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location,
GLuint *); GLfloat v0);
GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint, GLint, GLsizei, const GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location,
GLuint *); GLfloat v0, GLfloat v1);
GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint, GLint, GLsizei, const GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location,
GLuint *); GLfloat v0, GLfloat v1, GLfloat v2);
GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint, GLint, GLsizei, const GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location,
GLuint *); GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
GLAPI void APIENTRY glNamedBufferDataEXT (GLuint, GLsizeiptr, const GLvoid GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location,
*, GLenum); GLint v0);
GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint, GLintptr, GLsizeiptr, GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location,
const GLvoid *); GLint v0, GLint v1);
GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint, GLenum); GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location,
GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint); GLint v0, GLint v1, GLint v2);
GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint, GLenum, GLint * GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location,
); GLint v0, GLint v1, GLint v2, GLint v3);
GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint, GLenum, GLvoid* *) GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location,
; GLsizei count, const GLfloat *value);
GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint, GLintptr, GLsizeipt GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location,
r, GLvoid *); GLsizei count, const GLfloat *value);
GLAPI void APIENTRY glTextureBufferEXT (GLuint, GLenum, GLenum, GLuint); GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location,
GLAPI void APIENTRY glMultiTexBufferEXT (GLenum, GLenum, GLenum, GLuint); GLsizei count, const GLfloat *value);
GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint, GLenum, GLsizei, GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location,
GLsizei); GLsizei count, const GLfloat *value);
GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint, GLenum, G GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location,
Lint *); GLsizei count, const GLint *value);
GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint, GLenum); GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location,
GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint, GLenum, GLenum, GLsizei count, const GLint *value);
GLuint, GLint); GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location,
GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint, GLenum, GLenum, GLsizei count, const GLint *value);
GLuint, GLint); GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location,
GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint, GLenum, GLenum, GLsizei count, const GLint *value);
GLuint, GLint, GLint); GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint loc
GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint, GLenum, GLen ation, GLsizei count, GLboolean transpose, const GLfloat *value);
um, GLuint); GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint loc
GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint, ation, GLsizei count, GLboolean transpose, const GLfloat *value);
GLenum, GLenum, GLint *); GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint loc
GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint, GLenum); ation, GLsizei count, GLboolean transpose, const GLfloat *value);
GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum, GLenum); GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint l
GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint, GLenum); ocation, GLsizei count, GLboolean transpose, const GLfloat *value);
GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint, GLsizei, const GLe GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint l
num *); ocation, GLsizei count, GLboolean transpose, const GLfloat *value);
GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint, GLenum); GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint l
GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint, GLenum, GLint * ocation, GLsizei count, GLboolean transpose, const GLfloat *value);
); GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint l
GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint, GLsiz ocation, GLsizei count, GLboolean transpose, const GLfloat *value);
ei, GLenum, GLsizei, GLsizei); GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint l
GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuin ocation, GLsizei count, GLboolean transpose, const GLfloat *value);
t, GLsizei, GLsizei, GLenum, GLsizei, GLsizei); GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint l
GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint, GLenum, GLuint, G ocation, GLsizei count, GLboolean transpose, const GLfloat *value);
Lint); GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location,
GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint, GLenum, GLui GLuint v0);
nt, GLint, GLint); GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location,
GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint, GLenum, GLuin GLuint v0, GLuint v1);
t, GLint, GLenum); GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location,
GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint, GLenum, GLuint); GLuint v0, GLuint v1, GLuint v2);
GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum, GLenum, GLuint); GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location,
GLuint v0, GLuint v1, GLuint v2, GLuint v3);
GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location
, GLsizei count, const GLuint *value);
GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location
, GLsizei count, const GLuint *value);
GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location
, GLsizei count, const GLuint *value);
GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location
, GLsizei count, const GLuint *value);
GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, c
onst GLvoid *data, GLenum usage);
GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset
, GLsizeiptr size, const GLvoid *data);
GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum p
name, GLint *params);
GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pnam
e, GLvoid* *params);
GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr off
set, GLsizeiptr size, GLvoid *data);
GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLen
um internalformat, GLuint buffer);
GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLe
num internalformat, GLuint buffer);
GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLe
num internalformat, GLsizei width, GLsizei height);
GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuff
er, GLenum pname, GLint *params);
GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer,
GLenum target);
GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLe
num attachment, GLenum textarget, GLuint texture, GLint level);
GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLe
num attachment, GLenum textarget, GLuint texture, GLint level);
GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLe
num attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffse
t);
GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer,
GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint f
ramebuffer, GLenum attachment, GLenum pname, GLint *params);
GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum targ
et);
GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum tar
get);
GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum
mode);
GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsize
i n, const GLenum *bufs);
GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum
mode);
GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLe
num pname, GLint *params);
GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint render
buffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei heig
ht);
GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuin
t renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum inter
nalformat, GLsizei width, GLsizei height);
GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenu
m attachment, GLuint texture, GLint level);
GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer,
GLenum attachment, GLuint texture, GLint level, GLint layer);
GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, G
Lenum attachment, GLuint texture, GLint level, GLenum face);
GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target
, GLuint renderbuffer);
GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum targe
t, GLuint renderbuffer);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield ma sk); typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield ma sk);
typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloa t *m); typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloa t *m);
typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdoub le *m); typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdoub le *m);
typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloa t *m); typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloa t *m);
typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdoub le *m); typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdoub le *m);
typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat an gle, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat an gle, GLfloat x, GLfloat y, GLfloat z);
typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble a ngle, GLdouble x, GLdouble y, GLdouble z); typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble a ngle, GLdouble x, GLdouble y, GLdouble z);
skipping to change at line 9045 skipping to change at line 9639
typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit , GLenum target, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit , GLenum target, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit , GLenum target, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit , GLenum target, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum te xunit, GLenum target, GLint level, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum te xunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum te xunit, GLenum target, GLint level, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum te xunit, GLenum target, GLint level, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenu m target, GLint level, GLenum internalformat, GLsizei width, GLsizei height , GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pi xels); typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenu m target, GLint level, GLenum internalformat, GLsizei width, GLsizei height , GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pi xels);
typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GL enum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsi zei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GL enum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsi zei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit , GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit , GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLen um target, GLuint texture); typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLen um target, GLuint texture);
typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array , GLuint index); typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array , GLuint index);
typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum arra y, GLuint index); typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum arra y, GLuint index);
typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum t arget, GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum t arget, GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum t arget, GLenum pname, GLint param); typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum t arget, GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum c oord, GLenum pname, GLdouble param); typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum c oord, GLenum pname, GLdouble param);
typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum c oord, GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum c oord, GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum c oord, GLenum pname, GLint param); typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum c oord, GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
skipping to change at line 9179 skipping to change at line 9774
#define GL_EXT_vertex_array_bgra 1 #define GL_EXT_vertex_array_bgra 1
#endif #endif
#ifndef GL_EXT_texture_swizzle #ifndef GL_EXT_texture_swizzle
#define GL_EXT_texture_swizzle 1 #define GL_EXT_texture_swizzle 1
#endif #endif
#ifndef GL_NV_explicit_multisample #ifndef GL_NV_explicit_multisample
#define GL_NV_explicit_multisample 1 #define GL_NV_explicit_multisample 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetMultisamplefvNV (GLenum, GLuint, GLfloat *); GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLflo
GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint, GLbitfield); at *val);
GLAPI void APIENTRY glTexRenderbufferNV (GLenum, GLuint); GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer
);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val); typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitf ield mask); typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitf ield mask);
typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer); typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
#endif #endif
#ifndef GL_NV_transform_feedback2 #ifndef GL_NV_transform_feedback2
#define GL_NV_transform_feedback2 1 #define GL_NV_transform_feedback2 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum, GLuint); GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei, const GLuint *); GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *
GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei, GLuint *); ids);
GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint); GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
GLAPI void APIENTRY glPauseTransformFeedbackNV (void); GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
GLAPI void APIENTRY glResumeTransformFeedbackNV (void); GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum, GLuint); GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, G Luint id); typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, G Luint id);
typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, co nst GLuint *ids); typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, co nst GLuint *ids);
typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuin t *ids); typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuin t *ids);
typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id); typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void); typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void); typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLu int id); typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLu int id);
#endif #endif
#ifndef GL_ATI_meminfo #ifndef GL_ATI_meminfo
#define GL_ATI_meminfo 1 #define GL_ATI_meminfo 1
#endif #endif
#ifndef GL_AMD_performance_monitor #ifndef GL_AMD_performance_monitor
#define GL_AMD_performance_monitor 1 #define GL_AMD_performance_monitor 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *, GLsizei, GLuint *); GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei gr
GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint, GLint *, GLint *, oupsSize, GLuint *groups);
GLsizei, GLuint *); GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCo
GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint, GLsizei, GLsize unters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
i *, GLchar *); GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei b
GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint, GLuint, GLsiz ufSize, GLsizei *length, GLchar *groupString);
ei, GLsizei *, GLchar *); GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint
GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint, GLuint, GLenum, counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
void *); GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint co
GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei, GLuint *); unter, GLenum pname, void *data);
GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei, GLuint *); GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint, GLboolean, GLui GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
nt, GLint, GLuint *); GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboole
GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint); an enable, GLuint group, GLint numCounters, GLuint *counterList);
GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint); GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint, GLenum, GLsizei GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
, GLuint *, GLint *); GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum
pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups , GLsizei groupsSize, GLuint *groups); typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups , GLsizei groupsSize, GLuint *groups);
typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint * counters); typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint * counters);
typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint grou p, GLsizei bufSize, GLsizei *length, GLchar *groupString); typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint grou p, GLsizei bufSize, GLsizei *length, GLchar *groupString);
typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint gr oup, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterStrin g); typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint gr oup, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterStrin g);
typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint grou p, GLuint counter, GLenum pname, void *data); typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint grou p, GLuint counter, GLenum pname, void *data);
typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *mo nitors); typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *mo nitors);
typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint moni tor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList ); typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint moni tor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList );
typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
skipping to change at line 9247 skipping to change at line 9842
typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint moni tor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint moni tor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
#endif #endif
#ifndef GL_AMD_texture_texture4 #ifndef GL_AMD_texture_texture4
#define GL_AMD_texture_texture4 1 #define GL_AMD_texture_texture4 1
#endif #endif
#ifndef GL_AMD_vertex_shader_tesselator #ifndef GL_AMD_vertex_shader_tesselator
#define GL_AMD_vertex_shader_tesselator 1 #define GL_AMD_vertex_shader_tesselator 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTessellationFactorAMD (GLfloat); GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
GLAPI void APIENTRY glTessellationModeAMD (GLenum); GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor); typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode); typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
#endif #endif
#ifndef GL_EXT_provoking_vertex #ifndef GL_EXT_provoking_vertex
#define GL_EXT_provoking_vertex 1 #define GL_EXT_provoking_vertex 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glProvokingVertexEXT (GLenum); GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode); typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
#endif #endif
#ifndef GL_EXT_texture_snorm #ifndef GL_EXT_texture_snorm
#define GL_EXT_texture_snorm 1 #define GL_EXT_texture_snorm 1
#endif #endif
#ifndef GL_AMD_draw_buffers_blend #ifndef GL_AMD_draw_buffers_blend
#define GL_AMD_draw_buffers_blend 1 #define GL_AMD_draw_buffers_blend 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint, GLenum, GLenum); GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum d
GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint, GLenum, GLenum, st);
GLenum, GLenum); GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRG
GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint, GLenum); B, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint, GLenum, GLen GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
um); GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum m
odeRGB, GLenum modeAlpha);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum s rc, GLenum dst); typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum s rc, GLenum dst);
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLen um mode); typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLen um mode);
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint b uf, GLenum modeRGB, GLenum modeAlpha); typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint b uf, GLenum modeRGB, GLenum modeAlpha);
#endif #endif
#ifndef GL_APPLE_texture_range #ifndef GL_APPLE_texture_range
#define GL_APPLE_texture_range 1 #define GL_APPLE_texture_range 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glTextureRangeAPPLE (GLenum, GLsizei, const GLvoid *); GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, con
GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum, GLenum, GLvoid* st GLvoid *pointer);
*); GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum p
name, GLvoid* *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer); typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum targ et, GLenum pname, GLvoid* *params); typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum targ et, GLenum pname, GLvoid* *params);
#endif #endif
#ifndef GL_APPLE_float_pixels #ifndef GL_APPLE_float_pixels
#define GL_APPLE_float_pixels 1 #define GL_APPLE_float_pixels 1
#endif #endif
#ifndef GL_APPLE_vertex_program_evaluators #ifndef GL_APPLE_vertex_program_evaluators
#define GL_APPLE_vertex_program_evaluators 1 #define GL_APPLE_vertex_program_evaluators 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint, GLenum); GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint, GLenum); GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname)
GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint, GLenum); ;
GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint, GLuint, GLdouble, GLd GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum
ouble, GLint, GLint, const GLdouble *); pname);
GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint, GLuint, GLfloat, GLfl GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GL
oat, GLint, GLint, const GLfloat *); double u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint, GLuint, GLdouble, GLd GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GL
ouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); float u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint, GLuint, GLfloat, GLfl GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GL
oat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); double u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble
v2, GLint vstride, GLint vorder, const GLdouble *points);
GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GL
float u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2,
GLint vstride, GLint vorder, const GLfloat *points);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GL enum pname); typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GL enum pname);
typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, G Lenum pname); typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, G Lenum pname);
typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint i ndex, GLenum pname); typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint i ndex, GLenum pname);
typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLu int size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdoub le *points); typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLu int size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdoub le *points);
typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLu int size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLu int size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLu int size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v 1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLu int size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v 1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLu int size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLu int size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
#endif #endif
#ifndef GL_APPLE_aux_depth_stencil #ifndef GL_APPLE_aux_depth_stencil
#define GL_APPLE_aux_depth_stencil 1 #define GL_APPLE_aux_depth_stencil 1
#endif #endif
#ifndef GL_APPLE_object_purgeable #ifndef GL_APPLE_object_purgeable
#define GL_APPLE_object_purgeable 1 #define GL_APPLE_object_purgeable 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum, GLuint, GLenum); GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint nam
GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum, GLuint, GLenum); e, GLenum option);
GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum, GLuint, GLenum, GL GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint n
int *); ame, GLenum option);
GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint
name, GLenum pname, GLint *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType , GLuint name, GLenum option); typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType , GLuint name, GLenum option);
typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectTy pe, GLuint name, GLenum option); typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectTy pe, GLuint name, GLenum option);
typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectT ype, GLuint name, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectT ype, GLuint name, GLenum pname, GLint *params);
#endif #endif
#ifndef GL_APPLE_row_bytes #ifndef GL_APPLE_row_bytes
#define GL_APPLE_row_bytes 1 #define GL_APPLE_row_bytes 1
#endif #endif
#ifndef GL_APPLE_rgb_422 #ifndef GL_APPLE_rgb_422
#define GL_APPLE_rgb_422 1 #define GL_APPLE_rgb_422 1
#endif #endif
#ifndef GL_NV_video_capture #ifndef GL_NV_video_capture
#define GL_NV_video_capture 1 #define GL_NV_video_capture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint); GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint, GLuint, GLenu GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_
m, GLintptrARB); slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint, GLuint, GLen GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture
um, GLenum, GLuint); _slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
GLAPI void APIENTRY glEndVideoCaptureNV (GLuint); GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint, GLenum, GLint *); GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenu
GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint, GLuint, GLenum, GL m pname, GLint *params);
int *); GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot,
GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint, GLuint, GLenum, GL GLuint stream, GLenum pname, GLint *params);
float *); GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot,
GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint, GLuint, GLenum, GL GLuint stream, GLenum pname, GLfloat *params);
double *); GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot,
GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint, GLuint *, GLuint64EXT *); GLuint stream, GLenum pname, GLdouble *params);
GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint, GLuint, GLen GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *
um, const GLint *); sequence_num, GLuint64EXT *capture_time);
GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint, GLuint, GLen GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture
um, const GLfloat *); _slot, GLuint stream, GLenum pname, const GLint *params);
GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint, GLuint, GLen GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture
um, const GLdouble *); _slot, GLuint stream, GLenum pname, const GLfloat *params);
GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture
_slot, GLuint stream, GLenum pname, const GLdouble *params);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture _slot); typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture _slot);
typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint vi deo_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint vi deo_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint v ideo_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuin t texture); typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint v ideo_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuin t texture);
typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_s lot); typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_s lot);
typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture _slot, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture _slot, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_c apture_slot, GLuint stream, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_c apture_slot, GLuint stream, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_c apture_slot, GLuint stream, GLenum pname, GLfloat *params); typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_c apture_slot, GLuint stream, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_c apture_slot, GLuint stream, GLenum pname, GLdouble *params); typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_c apture_slot, GLuint stream, GLenum pname, GLdouble *params);
typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_sl ot, GLuint *sequence_num, GLuint64EXT *capture_time); typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_sl ot, GLuint *sequence_num, GLuint64EXT *capture_time);
typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint v ideo_capture_slot, GLuint stream, GLenum pname, const GLint *params); typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint v ideo_capture_slot, GLuint stream, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint v ideo_capture_slot, GLuint stream, GLenum pname, const GLfloat *params); typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint v ideo_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint v ideo_capture_slot, GLuint stream, GLenum pname, const GLdouble *params); typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint v ideo_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
#endif #endif
#ifndef GL_NV_copy_image #ifndef GL_NV_copy_image
#define GL_NV_copy_image 1 #define GL_NV_copy_image 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glCopyImageSubDataNV (GLuint, GLenum, GLint, GLint, GLi nt, GLint, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GL sizei); GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei wid th, GLsizei height, GLsizei depth);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenu m srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dst Name, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenu m srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dst Name, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
#endif #endif
#ifndef GL_EXT_separate_shader_objects #ifndef GL_EXT_separate_shader_objects
#define GL_EXT_separate_shader_objects 1 #define GL_EXT_separate_shader_objects 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glUseShaderProgramEXT (GLenum, GLuint); GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
GLAPI void APIENTRY glActiveProgramEXT (GLuint); GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum, const GLchar *); GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *
string);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program); typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program); typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, co nst GLchar *string); typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, co nst GLchar *string);
#endif #endif
#ifndef GL_NV_parameter_buffer_object2 #ifndef GL_NV_parameter_buffer_object2
#define GL_NV_parameter_buffer_object2 1 #define GL_NV_parameter_buffer_object2 1
#endif #endif
#ifndef GL_NV_shader_buffer_load #ifndef GL_NV_shader_buffer_load
#define GL_NV_shader_buffer_load 1 #define GL_NV_shader_buffer_load 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glMakeBufferResidentNV (GLenum, GLenum); GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum); GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum); GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint, GLenum); GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum acce
GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint); ss);
GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint); GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum, GLenum, GLuint64EX GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
T *); GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pnam
GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint, GLenum, GLuin e, GLuint64EXT *params);
t64EXT *); GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum
GLAPI void APIENTRY glGetIntegerui64vNV (GLenum, GLuint64EXT *); pname, GLuint64EXT *params);
GLAPI void APIENTRY glUniformui64NV (GLint, GLuint64EXT); GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result)
GLAPI void APIENTRY glUniformui64vNV (GLint, GLsizei, const GLuint64EXT *); ;
GLAPI void APIENTRY glGetUniformui64vNV (GLuint, GLint, GLuint64EXT *); GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
GLAPI void APIENTRY glProgramUniformui64NV (GLuint, GLint, GLuint64EXT); GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const
GLAPI void APIENTRY glProgramUniformui64vNV (GLuint, GLint, GLsizei, const GLuint64EXT *value);
GLuint64EXT *); GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GL
uint64EXT *params);
GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location,
GLuint64EXT value);
GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location
, GLsizei count, const GLuint64EXT *value);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLen um access); typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLen um access);
typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target); typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target); typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access); typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buff er); typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buff er);
typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buff er); typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buff er);
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params); typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint bu ffer, GLenum pname, GLuint64EXT *params); typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint bu ffer, GLenum pname, GLuint64EXT *params);
typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64 EXT *result); typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64 EXT *result);
typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EX T value); typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EX T value);
typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei c ount, const GLuint64EXT *value); typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei c ount, const GLuint64EXT *value);
typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params); typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLi nt location, GLuint64EXT value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLi nt location, GLuint64EXT value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GL int location, GLsizei count, const GLuint64EXT *value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GL int location, GLsizei count, const GLuint64EXT *value);
#endif #endif
#ifndef GL_NV_vertex_buffer_unified_memory #ifndef GL_NV_vertex_buffer_unified_memory
#define GL_NV_vertex_buffer_unified_memory 1 #define GL_NV_vertex_buffer_unified_memory 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glBufferAddressRangeNV (GLenum, GLuint, GLuint64EXT, GL GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLu
sizeiptr); int64EXT address, GLsizeiptr length);
GLAPI void APIENTRY glVertexFormatNV (GLint, GLenum, GLsizei); GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stri
GLAPI void APIENTRY glNormalFormatNV (GLenum, GLsizei); de);
GLAPI void APIENTRY glColorFormatNV (GLint, GLenum, GLsizei); GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
GLAPI void APIENTRY glIndexFormatNV (GLenum, GLsizei); GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei strid
GLAPI void APIENTRY glTexCoordFormatNV (GLint, GLenum, GLsizei); e);
GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei); GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
GLAPI void APIENTRY glSecondaryColorFormatNV (GLint, GLenum, GLsizei); GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei st
GLAPI void APIENTRY glFogCoordFormatNV (GLenum, GLsizei); ride);
GLAPI void APIENTRY glVertexAttribFormatNV (GLuint, GLint, GLenum, GLboolea GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
n, GLsizei); GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsi
GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint, GLint, GLenum, GLsizei zei stride);
); GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum, GLuint, GLuint64EXT *); GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenu
m type, GLboolean normalized, GLsizei stride);
GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLen
um type, GLsizei stride);
GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLui
nt64EXT *result);
#endif /* GL_GLEXT_PROTOTYPES */ #endif /* GL_GLEXT_PROTOTYPES */
typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuin t index, GLuint64EXT address, GLsizeiptr length); typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuin t index, GLuint64EXT address, GLsizeiptr length);
typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stri de); typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stri de);
typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, G Lsizei stride); typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, G Lsizei stride);
typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei strid e); typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei strid e);
typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type , GLsizei stride); typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type , GLsizei stride);
typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride); typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenu m type, GLsizei stride); typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenu m type, GLsizei stride);
typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei st ride); typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei st ride);
 End of changes. 191 change blocks. 
2196 lines changed or deleted 3506 lines changed or added


 il.h   il.h 
//------------------------------------------------------------------------- ---- //------------------------------------------------------------------------- ----
// //
// ImageLib Sources // ImageLib Sources
// Copyright (C) 2000-2002 by Denton Woods // Copyright (C) 2000-2009 by Denton Woods
// Last modified: 06/23/2002 <--Y2K Compliant! =] // Last modified: 03/07/2009
// //
// Filename: IL/il.h // Filename: IL/il.h
// //
// Description: The main include file for DevIL // Description: The main include file for DevIL
// //
//------------------------------------------------------------------------- ---- //------------------------------------------------------------------------- ----
// Doxygen comment
/*! \file il.h
The main include file for DevIL
*/
#ifndef __il_h_ #ifndef __il_h_
#ifndef __IL_H__ #ifndef __IL_H__
#define __il_h_ #define __il_h_
#define __IL_H__ #define __IL_H__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
//#define IL_NO_BMP //this define controls if floats and doubles are clampled to [0..1]
//#define IL_NO_CUT //during conversion. It takes a little more time, but it is the correct
//#define IL_NO_CHEAD //way of doing this. If you are sure your floats are always valid,
//#define IL_NO_DCX //you can undefine this value...
//#define IL_NO_DDS #define CLAMP_HALF 1
//#define IL_NO_DOOM #define CLAMP_FLOATS 1
//#define IL_NO_GIF #define CLAMP_DOUBLES 1
//#define IL_NO_HDR
//#define IL_NO_ICO
//#define IL_NO_JPG
//#define IL_NO_LIF
//#define IL_NO_MDL
//#define IL_NO_MNG
//#define IL_NO_PCD
//#define IL_NO_PCX
//#define IL_NO_PIC
//#define IL_NO_PIX
//#define IL_NO_PNG
//#define IL_NO_PNM
//#define IL_NO_PSD
//#define IL_NO_PSP
//#define IL_NO_PXR
//#define IL_NO_RAW
//#define IL_NO_SGI
//#define IL_NO_TGA
//#define IL_NO_TIF
//#define IL_NO_WAL
//#define IL_NO_XPM
// Compiling Options
#define IL_INLINE_ASM
//#define IL_DEBUG
//#define IL_STATIC_LIB
#define IL_NO_LCMS
//This is now in config.h
//#ifdef _WIN32
// #ifndef IL_USE_JPEGLIB_UNMODIFIED
// #define IL_USE_JPEGLIB_UNMODIFIED
// #endif
//#endif
#ifdef _WIN32_WCE /*#ifdef _WIN32_WCE
#define IL_NO_EXR
#define IL_NO_GIF #define IL_NO_GIF
#define IL_NO_JP2
#define IL_NO_JPG #define IL_NO_JPG
#define IL_NO_MNG #define IL_NO_MNG
#define IL_NO_PNG #define IL_NO_PNG
#define IL_NO_TIF #define IL_NO_TIF
#define IL_NO_LCMS #define IL_NO_LCMS
#endif//_WIN32_WCE #endif //_WIN32_WCE
#ifdef DJGPP #ifdef DJGPP
#define IL_NO_EXR
#define IL_NO_GIF #define IL_NO_GIF
#define IL_NO_JP2
#define IL_NO_JPG #define IL_NO_JPG
#define IL_NO_MNG #define IL_NO_MNG
#define IL_NO_PNG #define IL_NO_PNG
#define IL_NO_TIF #define IL_NO_TIF
#define IL_NO_LCMS #define IL_NO_LCMS
#endif//DJGPP #endif //DJGPP*/
/*#ifdef __APPLE__
#define IL_NO_GIF
#define IL_NO_JPG
#define IL_NO_MNG
#define IL_NO_PNG
#define IL_NO_TIF
#define IL_NO_LCMS
#endif//__APPLE__*/
/*
#ifdef _WIN32 #ifdef _WIN32
#if defined(_MSC_VER) || defined(__BORLANDC__) #if (defined(IL_USE_PRAGMA_LIBS)) && (!defined(_IL_BUILD_LIBRARY))
#ifndef IL_STATIC_LIB #if defined(_MSC_VER) || defined(__BORLANDC__)
#ifndef _IL_BUILD_LIBRARY #pragma comment(lib, "DevIL.lib")
pragma comment(lib, "Devil_DLL.lib")
#endif
#else
#ifndef _IL_BUILD_LIBRARY
#ifdef IL_DEBUG
pragma comment(lib, "Devil_DBG.lib")
#else
pragma comment(lib, "Devil.lib")
#endif//IL_DEBUG
#endif
#endif #endif
#endif #endif
#endif #endif
*/
#ifdef RESTRICT_KEYWORD
#define RESTRICT restrict
#define CONST_RESTRICT const restrict
#else
#define RESTRICT
#define CONST_RESTRICT const
#endif
#include <stdio.h> #include <stdio.h>
typedef unsigned int ILenum; typedef unsigned int ILenum;
typedef unsigned char ILboolean; typedef unsigned char ILboolean;
typedef unsigned int ILbitfield; typedef unsigned int ILbitfield;
typedef char ILbyte; typedef signed char ILbyte;
typedef short ILshort; typedef signed short ILshort;
typedef int ILint; typedef int ILint;
typedef int ILsizei; typedef size_t ILsizei;
typedef unsigned char ILubyte; typedef unsigned char ILubyte;
typedef unsigned short ILushort; typedef unsigned short ILushort;
typedef unsigned int ILuint; typedef unsigned int ILuint;
typedef float ILfloat; typedef float ILfloat;
typedef float ILclampf; typedef float ILclampf;
typedef double ILdouble; typedef double ILdouble;
typedef double ILclampd; typedef double ILclampd;
typedef void ILvoid;
#ifdef _MSC_VER
typedef __int64 ILint64;
typedef unsigned __int64 ILuint64;
#else
typedef long long int ILint64;
typedef long long unsigned int ILuint64;
#endif
#include <limits.h>
#ifdef _UNICODE #ifdef _UNICODE
#ifndef _WIN32_WCE #ifndef _WIN32_WCE
#include <wchar.h> #include <wchar.h>
#endif #endif
typedef wchar_t* ILstring; //if we use a define instead of a typedef,
typedef const wchar_t* ILcstring; //ILconst_string works as intended
#define ILchar wchar_t
#define ILstring wchar_t*
#define ILconst_string wchar_t const *
#else #else
typedef char* ILstring; //if we use a define instead of a typedef,
typedef const char * ILcstring; //ILconst_string works as intended
#endif//_UNICODE #define ILchar char
#define ILstring char*
#define ILconst_string char const *
#endif //_UNICODE
#define IL_FALSE 0 #define IL_FALSE 0
#define IL_TRUE #define IL_TRUE 1
1
// Matches OpenGL's right now. // Matches OpenGL's right now.
#define IL_COLOUR_INDEX //! Data formats \link Formats Formats\endlink
0x1900 #define IL_COLOUR_INDEX 0x1900
#define IL_COLOR_INDEX 0x19 #define IL_COLOR_INDEX 0x1900
00 #define IL_ALPHA 0x1906
#define IL_RGB 0x19 #define IL_RGB 0x1907
07 #define IL_RGBA 0x1908
#define IL_RGBA #define IL_BGR 0x80E0
0x1908 #define IL_BGRA 0x80E1
#define IL_BGR 0x80 #define IL_LUMINANCE 0x1909
E0 #define IL_LUMINANCE_ALPHA 0x190A
#define IL_BGRA
0x80E1
#define IL_LUMINANCE 0x19
09
#define IL_LUMINANCE_ALPHA 0x19
0A
#define IL_BYTE //! Data types \link Types Types\endlink
0x1400 #define IL_BYTE 0x1400
#define IL_UNSIGNED_BYTE 0x14 #define IL_UNSIGNED_BYTE 0x1401
01 #define IL_SHORT 0x1402
#define IL_SHORT 0x14 #define IL_UNSIGNED_SHORT 0x1403
02 #define IL_INT 0x1404
#define IL_UNSIGNED_SHORT 0x14 #define IL_UNSIGNED_INT 0x1405
03 #define IL_FLOAT 0x1406
#define IL_INT 0x14 #define IL_DOUBLE 0x140A
04 #define IL_HALF 0x140B
#define IL_UNSIGNED_INT
0x1405
#define IL_FLOAT 0x14
06
#define IL_DOUBLE 0x14
0A
#define IL_VENDOR 0x1F #define IL_MAX_BYTE SCHAR_MAX
00 #define IL_MAX_UNSIGNED_BYTE UCHAR_MAX
#define IL_LOAD_EXT 0x1F #define IL_MAX_SHORT SHRT_MAX
01 #define IL_MAX_UNSIGNED_SHORT USHRT_MAX
#define IL_SAVE_EXT 0x1F #define IL_MAX_INT INT_MAX
02 #define IL_MAX_UNSIGNED_INT UINT_MAX
#define IL_LIMIT(x,m,M) (x<m?m:(x>M?M:x))
#define IL_CLAMP(x) IL_LIMIT(x,0,1)
#define IL_VENDOR 0x1F00
#define IL_LOAD_EXT 0x1F01
#define IL_SAVE_EXT 0x1F02
// //
// IL-specific #define's // IL-specific #define's
// //
#define IL_VERSION_1_6_7 1 #define IL_VERSION_1_7_8 1
#define IL_VERSION 167 #define IL_VERSION 178
// Attribute Bits // Attribute Bits
#define IL_ORIGIN_BIT 0x00000001 #define IL_ORIGIN_BIT 0x00000001
#define IL_FILE_BIT 0x00000002 #define IL_FILE_BIT 0x00000002
#define IL_PAL_BIT 0x00000004 #define IL_PAL_BIT 0x00000004
#define IL_FORMAT_BIT 0x00000008 #define IL_FORMAT_BIT 0x00000008
#define IL_TYPE_BIT 0x00000010 #define IL_TYPE_BIT 0x00000010
#define IL_COMPRESS_BIT 0x00 #define IL_COMPRESS_BIT 0x00000020
000020 #define IL_LOADFAIL_BIT 0x00000040
#define IL_LOADFAIL_BIT 0x00 #define IL_FORMAT_SPECIFIC_BIT 0x00000080
000040 #define IL_ALL_ATTRIB_BITS 0x000FFFFF
#define IL_FORMAT_SPECIFIC_BIT 0x00000080
#define IL_ALL_ATTRIB_BITS 0x000FFFFF
// Palette types // Palette types
#define IL_PAL_NONE 0x0400 #define IL_PAL_NONE 0x0400
#define IL_PAL_RGB24 0x0401 #define IL_PAL_RGB24 0x0401
#define IL_PAL_RGB32 0x0402 #define IL_PAL_RGB32 0x0402
#define IL_PAL_RGBA32 0x0403 #define IL_PAL_RGBA32 0x0403
#define IL_PAL_BGR24 0x0404 #define IL_PAL_BGR24 0x0404
#define IL_PAL_BGR32 0x0405 #define IL_PAL_BGR32 0x0405
#define IL_PAL_BGRA32 0x0406 #define IL_PAL_BGRA32 0x0406
// Image types // Image types
#define IL_TYPE_UNKNOWN 0x00 #define IL_TYPE_UNKNOWN 0x0000
00 #define IL_BMP 0x0420 //!< Microsoft Windows Bitmap - .bmp extens
#define IL_BMP 0x04 ion
20 #define IL_CUT 0x0421 //!< Dr. Halo - .cut extension
#define IL_CUT 0x04 #define IL_DOOM 0x0422 //!< DooM walls - no specific extension
21 #define IL_DOOM_FLAT 0x0423 //!< DooM flats - no specific extension
#define IL_DOOM #define IL_ICO 0x0424 //!< Microsoft Windows Icons and Cursors -
0x0422 .ico and .cur extensions
#define IL_DOOM_FLAT 0x0423 #define IL_JPG 0x0425 //!< JPEG - .jpg, .jpe and .jpeg extensions
#define IL_ICO 0x04 #define IL_JFIF 0x0425 //!<
24 #define IL_ILBM 0x0426 //!< Amiga IFF (FORM ILBM) - .iff, .ilbm, .
#define IL_JPG 0x04 lbm extensions
25 #define IL_PCD 0x0427 //!< Kodak PhotoCD - .pcd extension
#define IL_JFIF #define IL_PCX 0x0428 //!< ZSoft PCX - .pcx extension
0x0425 #define IL_PIC 0x0429 //!< PIC - .pic extension
#define IL_LBM 0x04 #define IL_PNG 0x042A //!< Portable Network Graphics - .png exten
26 sion
#define IL_PCD 0x04 #define IL_PNM 0x042B //!< Portable Any Map - .pbm, .pgm, .ppm an
27 d .pnm extensions
#define IL_PCX 0x04 #define IL_SGI 0x042C //!< Silicon Graphics - .sgi, .bw, .rgb and
28 .rgba extensions
#define IL_PIC 0x04 #define IL_TGA 0x042D //!< TrueVision Targa File - .tga, .vda, .i
29 cb and .vst extensions
#define IL_PNG 0x04 #define IL_TIF 0x042E //!< Tagged Image File Format - .tif and .t
2A iff extensions
#define IL_PNM 0x04 #define IL_CHEAD 0x042F //!< C-Style Header - .h extension
2B #define IL_RAW 0x0430 //!< Raw Image Data - any extension
#define IL_SGI 0x04 #define IL_MDL 0x0431 //!< Half-Life Model Texture - .mdl extensi
2C on
#define IL_TGA 0x04 #define IL_WAL 0x0432 //!< Quake 2 Texture - .wal extension
2D #define IL_LIF 0x0434 //!< Homeworld Texture - .lif extension
#define IL_TIF 0x04 #define IL_MNG 0x0435 //!< Multiple-image Network Graphics - .mng
2E extension
#define IL_CHEAD 0x04 #define IL_JNG 0x0435 //!<
2F #define IL_GIF 0x0436 //!< Graphics Interchange Format - .gif ext
#define IL_RAW 0x04 ension
30 #define IL_DDS 0x0437 //!< DirectDraw Surface - .dds extension
#define IL_MDL 0x04 #define IL_DCX 0x0438 //!< ZSoft Multi-PCX - .dcx extension
31 #define IL_PSD 0x0439 //!< Adobe PhotoShop - .psd extension
#define IL_WAL 0x04 #define IL_EXIF 0x043A //!<
32 #define IL_PSP 0x043B //!< PaintShop Pro - .psp extension
#define IL_LIF 0x04 #define IL_PIX 0x043C //!< PIX - .pix extension
34 #define IL_PXR 0x043D //!< Pixar - .pxr extension
#define IL_MNG 0x04 #define IL_XPM 0x043E //!< X Pixel Map - .xpm extension
35 #define IL_HDR 0x043F //!< Radiance High Dynamic Range - .hdr ext
#define IL_JNG 0x04 ension
35 #define IL_ICNS 0x0440 //!< Macintosh Icon - .icns
#define IL_GIF 0x04 extension
36 #define IL_JP2 0x0441 //!< Jpeg 2000 - .jp2 extension
#define IL_DDS 0x04 #define IL_EXR 0x0442 //!< OpenEXR - .exr extension
37 #define IL_WDP 0x0443 //!< Microsoft HD Photo - .wdp and .
#define IL_DCX 0x04 hdp extension
38 #define IL_VTF 0x0444 //!< Valve Texture Format - .vtf ext
#define IL_PSD 0x04 ension
39 #define IL_WBMP 0x0445 //!< Wireless Bitmap - .wbmp
#define IL_EXIF extension
0x043A #define IL_SUN 0x0446 //!< Sun Raster - .sun, .ras, .rs, .
#define IL_PSP 0x04 im1, .im8, .im24 and .im32 extensions
3B #define IL_IFF 0x0447 //!< Interchange File Format - .iff
#define IL_PIX 0x04 extension
3C #define IL_TPL 0x0448 //!< Gamecube Texture - .tpl extensi
#define IL_PXR 0x04 on
3D #define IL_FITS 0x0449 //!< Flexible Image Transpor
#define IL_XPM 0x04 t System - .fit and .fits extensions
3E #define IL_DICOM 0x044A //!< Digital Imaging and Communicati
#define IL_HDR 0x04 ons in Medicine (DICOM) - .dcm and .dicom extensions
3F #define IL_IWI 0x044B //!< Call of Duty Infinity Ward Imag
e - .iwi extension
#define IL_BLP 0x044C //!< Blizzard Texture Format - .blp
extension
#define IL_FTX 0x044D //!< Heavy Metal: FAKK2 Texture - .f
tx extension
#define IL_ROT 0x044E //!< Homeworld 2 - Relic Texture - .
rot extension
#define IL_TEXTURE 0x044F //!< Medieval II: Total War Texture
- .texture extension
#define IL_DPX 0x0450 //!< Digital Picture Exchange - .dpx
extension
#define IL_UTX 0x0451 //!< Unreal (and Unreal Tournament)
Texture - .utx extension
#define IL_MP3 0x0452 //!< MPEG-1 Audio Layer 3 - .mp3 ext
ension
#define IL_JASC_PAL 0x04 75 #define IL_JASC_PAL 0x0475 //!< PaintShop Pro Palette
// Error Types // Error Types
#define IL_NO_ERROR 0x00 #define IL_NO_ERROR 0x0000
00 #define IL_INVALID_ENUM 0x0501
#define IL_INVALID_ENUM 0x05 #define IL_OUT_OF_MEMORY 0x0502
01 #define IL_FORMAT_NOT_SUPPORTED 0x0503
#define IL_OUT_OF_MEMORY 0x0502 #define IL_INTERNAL_ERROR 0x0504
#define IL_FORMAT_NOT_SUPPORTED 0x0503 #define IL_INVALID_VALUE 0x0505
#define IL_INTERNAL_ERROR 0x0504 #define IL_ILLEGAL_OPERATION 0x0506
#define IL_INVALID_VALUE 0x0505 #define IL_ILLEGAL_FILE_VALUE 0x0507
#define IL_ILLEGAL_OPERATION 0x0506 #define IL_INVALID_FILE_HEADER 0x0508
#define IL_ILLEGAL_FILE_VALUE 0x0507 #define IL_INVALID_PARAM 0x0509
#define IL_INVALID_FILE_HEADER 0x0508 #define IL_COULD_NOT_OPEN_FILE 0x050A
#define IL_INVALID_PARAM 0x0509 #define IL_INVALID_EXTENSION 0x050B
#define IL_COULD_NOT_OPEN_FILE 0x050A #define IL_FILE_ALREADY_EXISTS 0x050C
#define IL_INVALID_EXTENSION 0x050B #define IL_OUT_FORMAT_SAME 0x050D
#define IL_FILE_ALREADY_EXISTS 0x050C #define IL_STACK_OVERFLOW 0x050E
#define IL_OUT_FORMAT_SAME 0x050D #define IL_STACK_UNDERFLOW 0x050F
#define IL_STACK_OVERFLOW 0x050E #define IL_INVALID_CONVERSION 0x0510
#define IL_STACK_UNDERFLOW 0x050F #define IL_BAD_DIMENSIONS 0x0511
#define IL_INVALID_CONVERSION 0x0510 #define IL_FILE_READ_ERROR 0x0512 // 05/12/2002: Addition by Sam.
#define IL_BAD_DIMENSIONS 0x0511 #define IL_FILE_WRITE_ERROR 0x0512
#define IL_FILE_READ_ERROR 0x0512 // 0
5/12/2002: Addition by Sam.
#define IL_FILE_WRITE_ERROR 0x0512
#define IL_LIB_GIF_ERROR 0x05E1 #define IL_LIB_GIF_ERROR 0x05E1
#define IL_LIB_JPEG_ERROR 0x05E2 #define IL_LIB_JPEG_ERROR 0x05E2
#define IL_LIB_PNG_ERROR 0x05E3 #define IL_LIB_PNG_ERROR 0x05E3
#define IL_LIB_TIFF_ERROR 0x05E4 #define IL_LIB_TIFF_ERROR 0x05E4
#define IL_LIB_MNG_ERROR 0x05E5 #define IL_LIB_MNG_ERROR 0x05E5
#define IL_UNKNOWN_ERROR 0x05FF #define IL_LIB_JP2_ERROR 0x05E6
#define IL_LIB_EXR_ERROR 0x05E7
#define IL_UNKNOWN_ERROR 0x05FF
// Origin Definitions // Origin Definitions
#define IL_ORIGIN_SET 0x0600 #define IL_ORIGIN_SET 0x0600
#define IL_ORIGIN_LOWER_LEFT 0x0601 #define IL_ORIGIN_LOWER_LEFT 0x0601
#define IL_ORIGIN_UPPER_LEFT 0x0602 #define IL_ORIGIN_UPPER_LEFT 0x0602
#define IL_ORIGIN_MODE 0x0603 #define IL_ORIGIN_MODE 0x0603
// Format and Type Mode Definitions // Format and Type Mode Definitions
#define IL_FORMAT_SET 0x0610 #define IL_FORMAT_SET 0x0610
#define IL_FORMAT_MODE 0x0611 #define IL_FORMAT_MODE 0x0611
#define IL_TYPE_SET 0x06 #define IL_TYPE_SET 0x0612
12 #define IL_TYPE_MODE 0x0613
#define IL_TYPE_MODE 0x0613
// File definitions // File definitions
#define IL_FILE_OVERWRITE 0x0620 #define IL_FILE_OVERWRITE 0x0620
#define IL_FILE_MODE 0x0621 #define IL_FILE_MODE 0x0621
// Palette definitions // Palette definitions
#define IL_CONV_PAL 0x06 30 #define IL_CONV_PAL 0x0630
// Load fail definitions // Load fail definitions
#define IL_DEFAULT_ON_FAIL 0x0632 #define IL_DEFAULT_ON_FAIL 0x0632
// Key colour definitions // Key colour and alpha definitions
#define IL_USE_KEY_COLOUR 0x0635 #define IL_USE_KEY_COLOUR 0x0635
#define IL_USE_KEY_COLOR 0x0635 #define IL_USE_KEY_COLOR 0x0635
#define IL_BLIT_BLEND 0x0636
// Interlace definitions // Interlace definitions
#define IL_SAVE_INTERLACED 0x0639 #define IL_SAVE_INTERLACED 0x0639
#define IL_INTERLACE_MODE 0x063A #define IL_INTERLACE_MODE 0x063A
// Quantization definitions // Quantization definitions
#define IL_QUANTIZATION_MODE 0x0640 #define IL_QUANTIZATION_MODE 0x0640
#define IL_WU_QUANT 0x06 #define IL_WU_QUANT 0x0641
41 #define IL_NEU_QUANT 0x0642
#define IL_NEU_QUANT 0x0642 #define IL_NEU_QUANT_SAMPLE 0x0643
#define IL_NEU_QUANT_SAMPLE 0x0643 #define IL_MAX_QUANT_INDEXS 0x0644 //XIX : ILint : Maximum number of color
#define IL_MAX_QUANT_INDEXS 0x0644 //XI s to reduce to, default of 256. and has a range of 2-256
X : ILint : Maximum number of colors to reduce to, default of 256. and has #define IL_MAX_QUANT_INDICES 0x0644 // Redefined, since the above #define i
a range of 2-256 s misspelled
// Hints // Hints
#define IL_FASTEST 0x06 #define IL_FASTEST 0x0660
60 #define IL_LESS_MEM 0x0661
#define IL_LESS_MEM 0x06 #define IL_DONT_CARE 0x0662
61 #define IL_MEM_SPEED_HINT 0x0665
#define IL_DONT_CARE 0x0662 #define IL_USE_COMPRESSION 0x0666
#define IL_MEM_SPEED_HINT 0x0665 #define IL_NO_COMPRESSION 0x0667
#define IL_USE_COMPRESSION 0x0666 #define IL_COMPRESSION_HINT 0x0668
#define IL_NO_COMPRESSION 0x0667
#define IL_COMPRESSION_HINT 0x0668 // Compression
#define IL_NVIDIA_COMPRESS 0x0670
#define IL_SQUISH_COMPRESS 0x0671
// Subimage types // Subimage types
#define IL_SUB_NEXT 0x06 #define IL_SUB_NEXT 0x0680
80 #define IL_SUB_MIPMAP 0x0681
#define IL_SUB_MIPMAP 0x0681 #define IL_SUB_LAYER 0x0682
#define IL_SUB_LAYER 0x0682
// Compression definitions // Compression definitions
#define IL_COMPRESS_MODE 0x0700 #define IL_COMPRESS_MODE 0x0700
#define IL_COMPRESS_NONE 0x0701 #define IL_COMPRESS_NONE 0x0701
#define IL_COMPRESS_RLE 0x07 #define IL_COMPRESS_RLE 0x0702
02 #define IL_COMPRESS_LZO 0x0703
#define IL_COMPRESS_LZO 0x07 #define IL_COMPRESS_ZLIB 0x0704
03
#define IL_COMPRESS_ZLIB 0x0704
// File format-specific values // File format-specific values
#define IL_TGA_CREATE_STAMP 0x0710 #define IL_TGA_CREATE_STAMP 0x0710
#define IL_JPG_QUALITY 0x0711 #define IL_JPG_QUALITY 0x0711
#define IL_PNG_INTERLACE 0x0712 #define IL_PNG_INTERLACE 0x0712
#define IL_TGA_RLE 0x07 #define IL_TGA_RLE 0x0713
13 #define IL_BMP_RLE 0x0714
#define IL_BMP_RLE 0x07 #define IL_SGI_RLE 0x0715
14 #define IL_TGA_ID_STRING 0x0717
#define IL_SGI_RLE 0x07 #define IL_TGA_AUTHNAME_STRING 0x0718
15 #define IL_TGA_AUTHCOMMENT_STRING 0x0719
#define IL_TGA_ID_STRING 0x0717 #define IL_PNG_AUTHNAME_STRING 0x071A
#define IL_TGA_AUTHNAME_STRING 0x0718 #define IL_PNG_TITLE_STRING 0x071B
#define IL_TGA_AUTHCOMMENT_STRING 0x0719 #define IL_PNG_DESCRIPTION_STRING 0x071C
#define IL_PNG_AUTHNAME_STRING 0x071A #define IL_TIF_DESCRIPTION_STRING 0x071D
#define IL_PNG_TITLE_STRING 0x071B #define IL_TIF_HOSTCOMPUTER_STRING 0x071E
#define IL_PNG_DESCRIPTION_STRING 0x071C #define IL_TIF_DOCUMENTNAME_STRING 0x071F
#define IL_TIF_DESCRIPTION_STRING 0x071D #define IL_TIF_AUTHNAME_STRING 0x0720
#define IL_TIF_HOSTCOMPUTER_STRING 0x071E #define IL_JPG_SAVE_FORMAT 0x0721
#define IL_TIF_DOCUMENTNAME_STRING 0x071F #define IL_CHEAD_HEADER_STRING 0x0722
#define IL_TIF_AUTHNAME_STRING 0x0720 #define IL_PCD_PICNUM 0x0723
#define IL_JPG_SAVE_FORMAT 0x0721 #define IL_PNG_ALPHA_INDEX 0x0724 //XIX : ILint : the color in the palette
#define IL_CHEAD_HEADER_STRING 0x0722 at this index value (0-255) is considered transparent, -1 for no trasparent
#define IL_PCD_PICNUM 0x0723 color
#define IL_JPG_PROGRESSIVE 0x0725
#define IL_PNG_ALPHA_INDEX 0x0724 //XI #define IL_VTF_COMP 0x0726
X : ILint : the color in the pallete at this index value (0-255) is conside
red transparent, -1 for no trasparent color
// DXTC definitions // DXTC definitions
#define IL_DXTC_FORMAT 0x0705 #define IL_DXTC_FORMAT 0x0705
#define IL_DXT1 #define IL_DXT1 0x0706
0x0706 #define IL_DXT2 0x0707
#define IL_DXT2 #define IL_DXT3 0x0708
0x0707 #define IL_DXT4 0x0709
#define IL_DXT3 #define IL_DXT5 0x070A
0x0708 #define IL_DXT_NO_COMP 0x070B
#define IL_DXT4 #define IL_KEEP_DXTC_DATA 0x070C
0x0709 #define IL_DXTC_DATA_FORMAT 0x070D
#define IL_DXT5 #define IL_3DC 0x070E
0x070A #define IL_RXGB 0x070F
#define IL_DXT_NO_COMP 0x070B #define IL_ATI1N 0x0710
#define IL_KEEP_DXTC_DATA 0x070C #define IL_DXT1A 0x0711 // Normally the same as IL_DXT1, except
#define IL_DXTC_DATA_FORMAT 0x070D for nVidia Texture Tools.
#define IL_3DC 0x07
0E
// Cube map definitions // Environment map definitions
#define IL_CUBEMAP_POSITIVEX 0x00000400 #define IL_CUBEMAP_POSITIVEX 0x00000400
#define IL_CUBEMAP_NEGATIVEX 0x00000800 #define IL_CUBEMAP_NEGATIVEX 0x00000800
#define IL_CUBEMAP_POSITIVEY 0x00001000 #define IL_CUBEMAP_POSITIVEY 0x00001000
#define IL_CUBEMAP_NEGATIVEY 0x00002000 #define IL_CUBEMAP_NEGATIVEY 0x00002000
#define IL_CUBEMAP_POSITIVEZ 0x00004000 #define IL_CUBEMAP_POSITIVEZ 0x00004000
#define IL_CUBEMAP_NEGATIVEZ 0x00008000 #define IL_CUBEMAP_NEGATIVEZ 0x00008000
#define IL_SPHEREMAP 0x00010000
// Values // Values
#define IL_VERSION_NUM 0x0DE2 #define IL_VERSION_NUM 0x0DE2
#define IL_IMAGE_WIDTH 0x0DE4 #define IL_IMAGE_WIDTH 0x0DE4
#define IL_IMAGE_HEIGHT 0x0D #define IL_IMAGE_HEIGHT 0x0DE5
E5 #define IL_IMAGE_DEPTH 0x0DE6
#define IL_IMAGE_DEPTH 0x0DE6 #define IL_IMAGE_SIZE_OF_DATA 0x0DE7
#define IL_IMAGE_SIZE_OF_DATA 0x0DE7 #define IL_IMAGE_BPP 0x0DE8
#define IL_IMAGE_BPP 0x0DE8 #define IL_IMAGE_BYTES_PER_PIXEL 0x0DE8
#define IL_IMAGE_BYTES_PER_PIXEL 0x0DE8 #define IL_IMAGE_BPP 0x0DE8
#define IL_IMAGE_BPP 0x0DE8 #define IL_IMAGE_BITS_PER_PIXEL 0x0DE9
#define IL_IMAGE_BITS_PER_PIXEL 0x0DE9 #define IL_IMAGE_FORMAT 0x0DEA
#define IL_IMAGE_FORMAT 0x0D #define IL_IMAGE_TYPE 0x0DEB
EA #define IL_PALETTE_TYPE 0x0DEC
#define IL_IMAGE_TYPE 0x0DEB #define IL_PALETTE_SIZE 0x0DED
#define IL_PALETTE_TYPE 0x0D #define IL_PALETTE_BPP 0x0DEE
EC #define IL_PALETTE_NUM_COLS 0x0DEF
#define IL_PALETTE_SIZE 0x0D #define IL_PALETTE_BASE_TYPE 0x0DF0
ED #define IL_NUM_FACES 0x0DE1
#define IL_PALETTE_BPP 0x0DEE #define IL_NUM_IMAGES 0x0DF1
#define IL_PALETTE_NUM_COLS 0x0DEF #define IL_NUM_MIPMAPS 0x0DF2
#define IL_PALETTE_BASE_TYPE 0x0DF0 #define IL_NUM_LAYERS 0x0DF3
#define IL_NUM_IMAGES 0x0DF1 #define IL_ACTIVE_IMAGE 0x0DF4
#define IL_NUM_MIPMAPS 0x0DF2 #define IL_ACTIVE_MIPMAP 0x0DF5
#define IL_NUM_LAYERS 0x0DF3 #define IL_ACTIVE_LAYER 0x0DF6
#define IL_ACTIVE_IMAGE 0x0D #define IL_ACTIVE_FACE 0x0E00
F4 #define IL_CUR_IMAGE 0x0DF7
#define IL_ACTIVE_MIPMAP 0x0DF5 #define IL_IMAGE_DURATION 0x0DF8
#define IL_ACTIVE_LAYER 0x0D #define IL_IMAGE_PLANESIZE 0x0DF9
F6 #define IL_IMAGE_BPC 0x0DFA
#define IL_CUR_IMAGE 0x0DF7 #define IL_IMAGE_OFFX 0x0DFB
#define IL_IMAGE_DURATION 0x0DF8 #define IL_IMAGE_OFFY 0x0DFC
#define IL_IMAGE_PLANESIZE 0x0DF9 #define IL_IMAGE_CUBEFLAGS 0x0DFD
#define IL_IMAGE_BPC 0x0DFA #define IL_IMAGE_ORIGIN 0x0DFE
#define IL_IMAGE_OFFX 0x0DFB #define IL_IMAGE_CHANNELS 0x0DFF
#define IL_IMAGE_OFFY 0x0DFC
#define IL_IMAGE_CUBEFLAGS 0x0DFD # if defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__
#define IL_IMAGE_ORIGIN 0x0D > 0))
FE // __attribute__((deprecated)) is supported by GCC 3.1 and later.
#define IL_IMAGE_CHANNELS 0x0DFF # define DEPRECATED(D) D __attribute__((deprecated))
# elif defined _MSC_VER && _MSC_VER >= 1300
// __declspec(deprecated) is supported by MSVC 7.0 and later.
# define DEPRECATED(D) __declspec(deprecated) D
# else
# define DEPRECATED (D) D
# endif
// //
// Section shamelessly modified from the glut header. // Section shamelessly modified from the glut header.
// //
// This is from Win32's <windef.h> // This is from Win32's <windef.h>
#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC_ _) || defined(__LCC__) #if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC_ _) || defined(__LCC__)
#define ILAPIENTRY __stdcall #define ILAPIENTRY __stdcall
#define IL_PACKSTRUCT #define IL_PACKSTRUCT
//#elif defined(linux) || defined(MACOSX) || defined(__CYGWIN__) //fix bug 840364 //#elif defined(linux) || defined(MACOSX) || defined(__CYGWIN__) //fix bug 840364
#elif defined( __GNUC__ ) #elif defined( __GNUC__ )
// this should work for any of the above commented platforms // this should work for any of the above commented platforms
// plus any platform using GCC // plus any platform using GCC
#define ILAPIENTRY #ifdef __MINGW32__
#define ILAPIENTRY __stdcall
#else
#define ILAPIENTRY
#endif
#define IL_PACKSTRUCT __attribute__ ((packed)) #define IL_PACKSTRUCT __attribute__ ((packed))
#else #else
#define ILAPIENTRY #define ILAPIENTRY
#define IL_PACKSTRUCT #define IL_PACKSTRUCT
#endif #endif
// This is from Win32's <wingdi.h> and <winnt.h> // This is from Win32's <wingdi.h> and <winnt.h>
#if defined(__LCC__) #if defined(__LCC__)
#define ILAPI __stdcall #define ILAPI __stdcall
#elif defined(_WIN32) //changed 20031221 to fix bug 840421 #elif defined(_WIN32) //changed 20031221 to fix bug 840421
skipping to change at line 439 skipping to change at line 478
#define ILAPI #define ILAPI
#endif #endif
#define IL_SEEK_SET 0 #define IL_SEEK_SET 0
#define IL_SEEK_CUR 1 #define IL_SEEK_CUR 1
#define IL_SEEK_END 2 #define IL_SEEK_END 2
#define IL_EOF -1 #define IL_EOF -1
// Callback functions for file reading // Callback functions for file reading
typedef void* ILHANDLE; typedef void* ILHANDLE;
typedef ILvoid (ILAPIENTRY *fCloseRProc)(ILHANDLE); typedef void (ILAPIENTRY *fCloseRProc)(ILHANDLE);
typedef ILboolean (ILAPIENTRY *fEofProc) (ILHANDLE); typedef ILboolean (ILAPIENTRY *fEofProc) (ILHANDLE);
typedef ILint (ILAPIENTRY *fGetcProc) (ILHANDLE); typedef ILint (ILAPIENTRY *fGetcProc) (ILHANDLE);
typedef ILHANDLE (ILAPIENTRY *fOpenRProc) (const ILstring); typedef ILHANDLE (ILAPIENTRY *fOpenRProc) (ILconst_string);
typedef ILint (ILAPIENTRY *fReadProc) (void*, ILuint, ILuint, ILH typedef ILint (ILAPIENTRY *fReadProc) (void*, ILuint, ILuint, ILHANDLE
ANDLE); );
typedef ILint (ILAPIENTRY *fSeekRProc) (ILHANDLE, ILint, ILint); typedef ILint (ILAPIENTRY *fSeekRProc) (ILHANDLE, ILint, ILint);
typedef ILint (ILAPIENTRY *fTellRProc) (ILHANDLE); typedef ILint (ILAPIENTRY *fTellRProc) (ILHANDLE);
// Callback functions for file writing // Callback functions for file writing
typedef ILvoid (ILAPIENTRY *fCloseWProc)(ILHANDLE); typedef void (ILAPIENTRY *fCloseWProc)(ILHANDLE);
typedef ILHANDLE (ILAPIENTRY *fOpenWProc) (const ILstring); typedef ILHANDLE (ILAPIENTRY *fOpenWProc) (ILconst_string);
typedef ILint (ILAPIENTRY *fPutcProc) (ILubyte, ILHANDLE); typedef ILint (ILAPIENTRY *fPutcProc) (ILubyte, ILHANDLE);
typedef ILint (ILAPIENTRY *fSeekWProc) (ILHANDLE, ILint, ILint); typedef ILint (ILAPIENTRY *fSeekWProc) (ILHANDLE, ILint, ILint);
typedef ILint (ILAPIENTRY *fTellWProc) (ILHANDLE); typedef ILint (ILAPIENTRY *fTellWProc) (ILHANDLE);
typedef ILint (ILAPIENTRY *fWriteProc) (const void*, ILuint, ILuin typedef ILint (ILAPIENTRY *fWriteProc) (const void*, ILuint, ILuint, ILH
t, ILHANDLE); ANDLE);
// Callback functions for allocation and deallocation // Callback functions for allocation and deallocation
typedef ILvoid* (ILAPIENTRY *mAlloc)(ILuint); typedef void* (ILAPIENTRY *mAlloc)(const ILsizei);
typedef ILvoid (ILAPIENTRY *mFree) (ILvoid*); typedef void (ILAPIENTRY *mFree) (const void* CONST_RESTRICT);
// Registered format procedures // Registered format procedures
typedef ILenum (ILAPIENTRY *IL_LOADPROC)(const ILstring); typedef ILenum (ILAPIENTRY *IL_LOADPROC)(ILconst_string);
typedef ILenum (ILAPIENTRY *IL_SAVEPROC)(const ILstring); typedef ILenum (ILAPIENTRY *IL_SAVEPROC)(ILconst_string);
// ImageLib Functions // ImageLib Functions
ILAPI ILboolean ILAPIENTRY ilActiveImage(ILuint Number); ILAPI ILboolean ILAPIENTRY ilActiveFace(ILuint Number);
ILAPI ILboolean ILAPIENTRY ilActiveLayer(ILuint Number); ILAPI ILboolean ILAPIENTRY ilActiveImage(ILuint Number);
ILAPI ILboolean ILAPIENTRY ilActiveMipmap(ILuint Number); ILAPI ILboolean ILAPIENTRY ilActiveLayer(ILuint Number);
ILAPI ILboolean ILAPIENTRY ilApplyPal(const ILstring FileNam ILAPI ILboolean ILAPIENTRY ilActiveMipmap(ILuint Number);
e); ILAPI ILboolean ILAPIENTRY ilApplyPal(ILconst_string FileName);
ILAPI ILboolean ILAPIENTRY ilApplyProfile(const ILstring InP ILAPI ILboolean ILAPIENTRY ilApplyProfile(ILstring InProfile, ILstring OutP
rofile, const ILstring OutProfile); rofile);
ILAPI ILvoid ILAPIENTRY ilBindImage(ILuint Image); ILAPI void ILAPIENTRY ilBindImage(ILuint Image);
ILAPI ILboolean ILAPIENTRY ilBlit(ILuint Source, ILint DestX ILAPI ILboolean ILAPIENTRY ilBlit(ILuint Source, ILint DestX, ILint DestY,
, ILint DestY, ILint DestZ, ILuint SrcX, ILuint SrcY, ILuint SrcZ, ILuint W ILint DestZ, ILuint SrcX, ILuint SrcY, ILuint SrcZ, ILuint Width, ILuint He
idth, ILuint Height, ILuint Depth); ight, ILuint Depth);
ILAPI ILvoid ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Gree ILAPI ILboolean ILAPIENTRY ilClampNTSC(void);
n, ILclampf Blue, ILclampf Alpha); ILAPI void ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Gree
ILAPI ILboolean ILAPIENTRY ilClearImage(void); n, ILclampf Blue, ILclampf Alpha);
ILAPI ILuint ILAPIENTRY ilCloneCurImage(void); ILAPI ILboolean ILAPIENTRY ilClearImage(void);
ILAPI ILboolean ILAPIENTRY ilCompressFunc(ILenum Mode); ILAPI ILuint ILAPIENTRY ilCloneCurImage(void);
ILAPI ILboolean ILAPIENTRY ilConvertImage(ILenum DestFormat, ILAPI ILubyte* ILAPIENTRY ilCompressDXT(ILubyte *Data, ILuint Width, ILuint
ILenum DestType); Height, ILuint Depth, ILenum DXTCFormat, ILuint *DXTCSize);
ILAPI ILboolean ILAPIENTRY ilConvertPal(ILenum DestFormat); ILAPI ILboolean ILAPIENTRY ilCompressFunc(ILenum Mode);
ILAPI ILboolean ILAPIENTRY ilCopyImage(ILuint Src); ILAPI ILboolean ILAPIENTRY ilConvertImage(ILenum DestFormat, ILenum DestTyp
ILAPI ILuint ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, IL e);
uint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum ILAPI ILboolean ILAPIENTRY ilConvertPal(ILenum DestFormat);
Type, ILvoid *Data); ILAPI ILboolean ILAPIENTRY ilCopyImage(ILuint Src);
ILAPI ILuint ILAPIENTRY ilCreateSubImage(ILenum Type, ILuint Num) ILAPI ILuint ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, ILuint ZO
; ff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type,
ILAPI ILboolean ILAPIENTRY ilDefaultImage(void); void *Data);
ILAPI ILvoid ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint ILAPI ILuint ILAPIENTRY ilCreateSubImage(ILenum Type, ILuint Num);
*Images); ILAPI ILboolean ILAPIENTRY ilDefaultImage(void);
ILAPI ILboolean ILAPIENTRY ilDisable(ILenum Mode); ILAPI void ILAPIENTRY ilDeleteImage(const ILuint Num);
ILAPI ILboolean ILAPIENTRY ilEnable(ILenum Mode); ILAPI void ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint *Images
ILAPI ILboolean ILAPIENTRY ilFormatFunc(ILenum Mode); );
ILAPI ILvoid ILAPIENTRY ilGenImages(ILsizei Num, ILuint *Images); ILAPI ILenum ILAPIENTRY ilDetermineType(ILconst_string FileName);
ILAPI ILubyte* ILAPIENTRY ilGetAlpha(ILenum Type); ILAPI ILenum ILAPIENTRY ilDetermineTypeF(ILHANDLE File);
ILAPI ILvoid ILAPIENTRY ilModAlpha( ILdouble AlphaValue ); ILAPI ILenum ILAPIENTRY ilDetermineTypeL(const void *Lump, ILuint Size);
ILAPI ILvoid ILAPIENTRY ilSetAlpha( ILdouble AlphaValue ); ILAPI ILboolean ILAPIENTRY ilDisable(ILenum Mode);
ILAPI ILboolean ILAPIENTRY ilGetBoolean(ILenum Mode); ILAPI ILboolean ILAPIENTRY ilDxtcDataToImage(void);
ILAPI ILvoid ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Par ILAPI ILboolean ILAPIENTRY ilDxtcDataToSurface(void);
am); ILAPI ILboolean ILAPIENTRY ilEnable(ILenum Mode);
ILAPI ILubyte* ILAPIENTRY ilGetData(void); ILAPI void ILAPIENTRY ilFlipSurfaceDxtcData(void);
ILAPI ILuint ILAPIENTRY ilGetDXTCData(ILvoid *Buffer, ILuint Buff ILAPI ILboolean ILAPIENTRY ilFormatFunc(ILenum Mode);
erSize, ILenum DXTCFormat); ILAPI void ILAPIENTRY ilGenImages(ILsizei Num, ILuint *Images);
ILAPI ILenum ILAPIENTRY ilGetError(void); ILAPI ILuint ILAPIENTRY ilGenImage(void);
ILAPI ILint ILAPIENTRY ilGetInteger(ILenum Mode); ILAPI ILubyte* ILAPIENTRY ilGetAlpha(ILenum Type);
ILAPI ILvoid ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param); ILAPI ILboolean ILAPIENTRY ilGetBoolean(ILenum Mode);
ILAPI ILuint ILAPIENTRY ilGetLumpPos(void); ILAPI void ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Param);
ILAPI ILubyte* ILAPIENTRY ilGetPalette(void); ILAPI ILubyte* ILAPIENTRY ilGetData(void);
ILAPI ILcstring ILAPIENTRY ilGetString(ILenum StringName); ILAPI ILuint ILAPIENTRY ilGetDXTCData(void *Buffer, ILuint BufferSize, I
ILAPI ILvoid ILAPIENTRY ilHint(ILenum Target, ILenum Mode); Lenum DXTCFormat);
ILAPI ILvoid ILAPIENTRY ilInit(void); ILAPI ILenum ILAPIENTRY ilGetError(void);
ILAPI ILboolean ILAPIENTRY ilIsDisabled(ILenum Mode); ILAPI ILint ILAPIENTRY ilGetInteger(ILenum Mode);
ILAPI ILboolean ILAPIENTRY ilIsEnabled(ILenum Mode); ILAPI void ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param);
ILAPI ILboolean ILAPIENTRY ilIsImage(ILuint Image); ILAPI ILuint ILAPIENTRY ilGetLumpPos(void);
ILAPI ILboolean ILAPIENTRY ilIsValid(ILenum Type, const ILst ILAPI ILubyte* ILAPIENTRY ilGetPalette(void);
ring FileName); ILAPI ILconst_string ILAPIENTRY ilGetString(ILenum StringName);
ILAPI ILboolean ILAPIENTRY ilIsValidF(ILenum Type, ILHANDLE ILAPI void ILAPIENTRY ilHint(ILenum Target, ILenum Mode);
File); ILAPI ILboolean ILAPIENTRY ilInvertSurfaceDxtcDataAlpha(void);
ILAPI ILboolean ILAPIENTRY ilIsValidL(ILenum Type, ILvoid *L ILAPI void ILAPIENTRY ilInit(void);
ump, ILuint Size); ILAPI ILboolean ILAPIENTRY ilImageToDxtcData(ILenum Format);
ILAPI ILvoid ILAPIENTRY ilKeyColour(ILclampf Red, ILclampf Green, ILAPI ILboolean ILAPIENTRY ilIsDisabled(ILenum Mode);
ILclampf Blue, ILclampf Alpha); ILAPI ILboolean ILAPIENTRY ilIsEnabled(ILenum Mode);
ILAPI ILboolean ILAPIENTRY ilLoad(ILenum Type, const ILstrin ILAPI ILboolean ILAPIENTRY ilIsImage(ILuint Image);
g FileName); ILAPI ILboolean ILAPIENTRY ilIsValid(ILenum Type, ILconst_string FileName);
ILAPI ILboolean ILAPIENTRY ilLoadF(ILenum Type, ILHANDLE Fil ILAPI ILboolean ILAPIENTRY ilIsValidF(ILenum Type, ILHANDLE File);
e); ILAPI ILboolean ILAPIENTRY ilIsValidL(ILenum Type, void *Lump, ILuint Size)
ILAPI ILboolean ILAPIENTRY ilLoadImage(const ILstring FileNa ;
me); ILAPI void ILAPIENTRY ilKeyColour(ILclampf Red, ILclampf Green, ILclam
ILAPI ILboolean ILAPIENTRY ilLoadL(ILenum Type, ILvoid *Lump pf Blue, ILclampf Alpha);
, ILuint Size); ILAPI ILboolean ILAPIENTRY ilLoad(ILenum Type, ILconst_string FileName);
ILAPI ILboolean ILAPIENTRY ilLoadPal(const ILstring FileName ILAPI ILboolean ILAPIENTRY ilLoadF(ILenum Type, ILHANDLE File);
); ILAPI ILboolean ILAPIENTRY ilLoadImage(ILconst_string FileName);
ILAPI ILboolean ILAPIENTRY ilOriginFunc(ILenum Mode); ILAPI ILboolean ILAPIENTRY ilLoadL(ILenum Type, const void *Lump, ILuint Si
ILAPI ILboolean ILAPIENTRY ilOverlayImage(ILuint Source, ILi ze);
nt XCoord, ILint YCoord, ILint ZCoord); ILAPI ILboolean ILAPIENTRY ilLoadPal(ILconst_string FileName);
ILAPI ILvoid ILAPIENTRY ilPopAttrib(void); ILAPI void ILAPIENTRY ilModAlpha(ILdouble AlphaValue);
ILAPI ILvoid ILAPIENTRY ilPushAttrib(ILuint Bits); ILAPI ILboolean ILAPIENTRY ilOriginFunc(ILenum Mode);
ILAPI ILvoid ILAPIENTRY ilRegisterFormat(ILenum Format); ILAPI ILboolean ILAPIENTRY ilOverlayImage(ILuint Source, ILint XCoord, ILin
ILAPI ILboolean ILAPIENTRY ilRegisterLoad(const ILstring Ext t YCoord, ILint ZCoord);
, IL_LOADPROC Load); ILAPI void ILAPIENTRY ilPopAttrib(void);
ILAPI ILboolean ILAPIENTRY ilRegisterMipNum(ILuint Num); ILAPI void ILAPIENTRY ilPushAttrib(ILuint Bits);
ILAPI ILboolean ILAPIENTRY ilRegisterNumImages(ILuint Num); ILAPI void ILAPIENTRY ilRegisterFormat(ILenum Format);
ILAPI ILvoid ILAPIENTRY ilRegisterOrigin(ILenum Origin); ILAPI ILboolean ILAPIENTRY ilRegisterLoad(ILconst_string Ext, IL_LOADPROC L
ILAPI ILvoid ILAPIENTRY ilRegisterPal(ILvoid *Pal, ILuint Size, I oad);
Lenum Type); ILAPI ILboolean ILAPIENTRY ilRegisterMipNum(ILuint Num);
ILAPI ILboolean ILAPIENTRY ilRegisterSave(const ILstring Ext ILAPI ILboolean ILAPIENTRY ilRegisterNumFaces(ILuint Num);
, IL_SAVEPROC Save); ILAPI ILboolean ILAPIENTRY ilRegisterNumImages(ILuint Num);
ILAPI ILvoid ILAPIENTRY ilRegisterType(ILenum Type); ILAPI void ILAPIENTRY ilRegisterOrigin(ILenum Origin);
ILAPI ILboolean ILAPIENTRY ilRemoveLoad(const ILstring Ext); ILAPI void ILAPIENTRY ilRegisterPal(void *Pal, ILuint Size, ILenum Typ
ILAPI ILboolean ILAPIENTRY ilRemoveSave(const ILstring Ext); e);
ILAPI ILvoid ILAPIENTRY ilResetMemory(void); ILAPI ILboolean ILAPIENTRY ilRegisterSave(ILconst_string Ext, IL_SAVEPROC S
ILAPI ILvoid ILAPIENTRY ilResetRead(void); ave);
ILAPI ILvoid ILAPIENTRY ilResetWrite(void); ILAPI void ILAPIENTRY ilRegisterType(ILenum Type);
ILAPI ILboolean ILAPIENTRY ilSave(ILenum Type, const ILstrin ILAPI ILboolean ILAPIENTRY ilRemoveLoad(ILconst_string Ext);
g FileName); ILAPI ILboolean ILAPIENTRY ilRemoveSave(ILconst_string Ext);
ILAPI ILuint ILAPIENTRY ilSaveF(ILenum Type, ILHANDLE File); ILAPI void ILAPIENTRY ilResetMemory(void); // Deprecated
ILAPI ILboolean ILAPIENTRY ilSaveImage(const ILstring FileNa ILAPI void ILAPIENTRY ilResetRead(void);
me); ILAPI void ILAPIENTRY ilResetWrite(void);
ILAPI ILuint ILAPIENTRY ilSaveL(ILenum Type, ILvoid *Lump, ILuint ILAPI ILboolean ILAPIENTRY ilSave(ILenum Type, ILconst_string FileName);
Size); ILAPI ILuint ILAPIENTRY ilSaveF(ILenum Type, ILHANDLE File);
ILAPI ILboolean ILAPIENTRY ilSavePal(const ILstring FileName ILAPI ILboolean ILAPIENTRY ilSaveImage(ILconst_string FileName);
); ILAPI ILuint ILAPIENTRY ilSaveL(ILenum Type, void *Lump, ILuint Size);
ILAPI ILboolean ILAPIENTRY ilSetData(ILvoid *Data); ILAPI ILboolean ILAPIENTRY ilSavePal(ILconst_string FileName);
ILAPI ILboolean ILAPIENTRY ilSetDuration(ILuint Duration); ILAPI ILboolean ILAPIENTRY ilSetAlpha(ILdouble AlphaValue);
ILAPI ILvoid ILAPIENTRY ilSetInteger(ILenum Mode, ILint Param); ILAPI ILboolean ILAPIENTRY ilSetData(void *Data);
ILAPI ILvoid ILAPIENTRY ilSetMemory(mAlloc, mFree); ILAPI ILboolean ILAPIENTRY ilSetDuration(ILuint Duration);
ILAPI ILvoid ILAPIENTRY ilSetPixels(ILint XOff, ILint YOff, ILint ILAPI void ILAPIENTRY ilSetInteger(ILenum Mode, ILint Param);
ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Typ ILAPI void ILAPIENTRY ilSetMemory(mAlloc, mFree);
e, ILvoid *Data); ILAPI void ILAPIENTRY ilSetPixels(ILint XOff, ILint YOff, ILint ZOff,
ILAPI ILvoid ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofPr ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void
oc, fGetcProc, fReadProc, fSeekRProc, fTellRProc); *Data);
ILAPI ILvoid ILAPIENTRY ilSetString(ILenum Mode, const char *Stri ILAPI void ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofProc, fGe
ng); tcProc, fReadProc, fSeekRProc, fTellRProc);
ILAPI ILvoid ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutc ILAPI void ILAPIENTRY ilSetString(ILenum Mode, const char *String);
Proc, fSeekWProc, fTellWProc, fWriteProc); ILAPI void ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutcProc, f
ILAPI ILvoid ILAPIENTRY ilShutDown(void); SeekWProc, fTellWProc, fWriteProc);
ILAPI ILboolean ILAPIENTRY ilTexImage(ILuint Width, ILuint H ILAPI void ILAPIENTRY ilShutDown(void);
eight, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, ILvoid *Data) ILAPI ILboolean ILAPIENTRY ilSurfaceToDxtcData(ILenum Format);
; ILAPI ILboolean ILAPIENTRY ilTexImage(ILuint Width, ILuint Height, ILuint D
ILAPI ILboolean ILAPIENTRY ilTypeFunc(ILenum Mode); epth, ILubyte NumChannels, ILenum Format, ILenum Type, void *Data);
ILAPI ILboolean ILAPIENTRY ilTexImageDxtc(ILint w, ILint h, ILint d, ILenum
ILAPI ILboolean ILAPIENTRY ilLoadData(const ILstring FileNam DxtFormat, const ILubyte* data);
e, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp); ILAPI ILenum ILAPIENTRY ilTypeFromExt(ILconst_string FileName);
ILAPI ILboolean ILAPIENTRY ilLoadDataF(ILHANDLE File, ILuint ILAPI ILboolean ILAPIENTRY ilTypeFunc(ILenum Mode);
Width, ILuint Height, ILuint Depth, ILubyte Bpp); ILAPI ILboolean ILAPIENTRY ilLoadData(ILconst_string FileName, ILuint Width
ILAPI ILboolean ILAPIENTRY ilLoadDataL(ILvoid *Lump, ILuint , ILuint Height, ILuint Depth, ILubyte Bpp);
Size, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp); ILAPI ILboolean ILAPIENTRY ilLoadDataF(ILHANDLE File, ILuint Width, ILuint
ILAPI ILboolean ILAPIENTRY ilSaveData(const ILstring FileNam Height, ILuint Depth, ILubyte Bpp);
e); ILAPI ILboolean ILAPIENTRY ilLoadDataL(void *Lump, ILuint Size, ILuint Widt
h, ILuint Height, ILuint Depth, ILubyte Bpp);
ILAPI ILboolean ILAPIENTRY ilLoadFromJpegStruct(ILvoid* Jpeg ILAPI ILboolean ILAPIENTRY ilSaveData(ILconst_string FileName);
DecompressorPtr);
ILAPI ILboolean ILAPIENTRY ilSaveFromJpegStruct(ILvoid* Jpeg
CompressorPtr);
// For all those weirdos that spell "colour" without the 'u'. // For all those weirdos that spell "colour" without the 'u'.
#define ilClearColor ilClearColour #define ilClearColor ilClearColour
#define ilKeyColor ilKeyColour #define ilKeyColor ilKeyColour
#define imemclear(x,y) memset(x,0,y);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif // __IL_H__ #endif // __IL_H__
#endif // __il_h__ #endif // __il_h__
#define imemclear(x,y) memset(x,0,y);
 End of changes. 50 change blocks. 
534 lines changed or deleted 522 lines changed or added


 ilu.h   ilu.h 
//------------------------------------------------------------------------- ---- //------------------------------------------------------------------------- ----
// //
// ImageLib Utility Sources // ImageLib Utility Sources
// Copyright (C) 2000-2002 by Denton Woods // Copyright (C) 2000-2009 by Denton Woods
// Last modified: 06/23/2002 <--Y2K Compliant! =] // Last modified: 03/07/2009
// //
// Filename: IL/ilu.h // Filename: IL/ilu.h
// //
// Description: The main include file for ILU // Description: The main include file for ILU
// //
//------------------------------------------------------------------------- ---- //------------------------------------------------------------------------- ----
// Doxygen comment
/*! \file ilu.h
The main include file for ILU
*/
#ifndef __ilu_h_ #ifndef __ilu_h_
#ifndef __ILU_H__ #ifndef __ILU_H__
#define __ilu_h_ #define __ilu_h_
#define __ILU_H__ #define __ILU_H__
#include <IL/il.h> #include <IL/il.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/*
#ifdef _WIN32 #ifdef _WIN32
#if defined(_MSC_VER) || defined(__BORLANDC__) #if (defined(IL_USE_PRAGMA_LIBS)) && (!defined(_IL_BUILD_LIBRARY))
#ifndef IL_STATIC_LIB #if defined(_MSC_VER) || defined(__BORLANDC__)
pragma comment(lib, "DevIL_DLL.lib") #pragma comment(lib, "ILU.lib")
#ifndef _IL_BUILD_LIBRARY
pragma comment(lib, "DevILU_DLL.lib")
#endif
#else
#ifndef _IL_BUILD_LIBRARY
#ifdef IL_DEBUG
pragma comment(lib, "DevILU_DBG.lib"
)
#else
pragma comment(lib, "DevILU.lib")
#endif//IL_DEBUG
#endif
#endif #endif
#endif #endif
#endif #endif
*/
#define ILU_VERSION_1_6_7 1 #define ILU_VERSION_1_7_8 1
#define ILU_VERSION 167 #define ILU_VERSION 178
#define ILU_FILTER 0x26 #define ILU_FILTER 0x2600
00 #define ILU_NEAREST 0x2601
#define ILU_NEAREST 0x26 #define ILU_LINEAR 0x2602
01 #define ILU_BILINEAR 0x2603
#define ILU_LINEAR 0x26 #define ILU_SCALE_BOX 0x2604
02 #define ILU_SCALE_TRIANGLE 0x2605
#define ILU_BILINEAR 0x2603 #define ILU_SCALE_BELL 0x2606
#define ILU_SCALE_BOX 0x2604 #define ILU_SCALE_BSPLINE 0x2607
#define ILU_SCALE_TRIANGLE 0x2605 #define ILU_SCALE_LANCZOS3 0x2608
#define ILU_SCALE_BELL 0x2606 #define ILU_SCALE_MITCHELL 0x2609
#define ILU_SCALE_BSPLINE 0x2607
#define ILU_SCALE_LANCZOS3 0x2608
#define ILU_SCALE_MITCHELL 0x2609
// Error types // Error types
#define ILU_INVALID_ENUM 0x0501 #define ILU_INVALID_ENUM 0x0501
#define ILU_OUT_OF_MEMORY 0x0502 #define ILU_OUT_OF_MEMORY 0x0502
#define ILU_INTERNAL_ERROR 0x0504 #define ILU_INTERNAL_ERROR 0x0504
#define ILU_INVALID_VALUE 0x0505 #define ILU_INVALID_VALUE 0x0505
#define ILU_ILLEGAL_OPERATION 0x0506 #define ILU_ILLEGAL_OPERATION 0x0506
#define ILU_INVALID_PARAM 0x0509 #define ILU_INVALID_PARAM 0x0509
// Values // Values
#define ILU_PLACEMENT 0x0700 #define ILU_PLACEMENT 0x0700
#define ILU_LOWER_LEFT 0x0701 #define ILU_LOWER_LEFT 0x0701
#define ILU_LOWER_RIGHT 0x07 #define ILU_LOWER_RIGHT 0x0702
02 #define ILU_UPPER_LEFT 0x0703
#define ILU_UPPER_LEFT 0x0703 #define ILU_UPPER_RIGHT 0x0704
#define ILU_UPPER_RIGHT 0x07 #define ILU_CENTER 0x0705
04 #define ILU_CONVOLUTION_MATRIX 0x0710
#define ILU_CENTER 0x07
05 #define ILU_VERSION_NUM IL_VERSION_NUM
#define ILU_CONVOLUTION_MATRIX 0x0710 #define ILU_VENDOR IL_VENDOR
#define ILU_VERSION_NUM IL_V
ERSION_NUM // Languages
#define ILU_VENDOR IL_V #define ILU_ENGLISH 0x0800
ENDOR #define ILU_ARABIC 0x0801
#define ILU_DUTCH 0x0802
#define ILU_JAPANESE 0x0803
#define ILU_SPANISH 0x0804
#define ILU_GERMAN 0x0805
#define ILU_FRENCH 0x0806
// Filters // Filters
/* /*
#define ILU_FILTER_BLUR 0x08 #define ILU_FILTER_BLUR 0x0803
03 #define ILU_FILTER_GAUSSIAN_3x3 0x0804
#define ILU_FILTER_GAUSSIAN_3x3 0x0804 #define ILU_FILTER_GAUSSIAN_5X5 0x0805
#define ILU_FILTER_GAUSSIAN_5X5 0x0805 #define ILU_FILTER_EMBOSS1 0x0807
#define ILU_FILTER_EMBOSS1 0x0807 #define ILU_FILTER_EMBOSS2 0x0808
#define ILU_FILTER_EMBOSS2 0x0808 #define ILU_FILTER_LAPLACIAN1 0x080A
#define ILU_FILTER_LAPLACIAN1 0x080A #define ILU_FILTER_LAPLACIAN2 0x080B
#define ILU_FILTER_LAPLACIAN2 0x080B #define ILU_FILTER_LAPLACIAN3 0x080C
#define ILU_FILTER_LAPLACIAN3 0x080C #define ILU_FILTER_LAPLACIAN4 0x080D
#define ILU_FILTER_LAPLACIAN4 0x080D #define ILU_FILTER_SHARPEN1 0x080E
#define ILU_FILTER_SHARPEN1 0x080E #define ILU_FILTER_SHARPEN2 0x080F
#define ILU_FILTER_SHARPEN2 0x080F #define ILU_FILTER_SHARPEN3 0x0810
#define ILU_FILTER_SHARPEN3 0x0810
*/ */
typedef struct ILinfo typedef struct ILinfo
{ {
ILuint Id; // the image's id ILuint Id; // the image's id
ILubyte *Data; // the image's data ILubyte *Data; // the image's data
ILuint Width; // the image's width ILuint Width; // the image's width
ILuint Height; // the image's height ILuint Height; // the image's height
ILuint Depth; // the image's depth ILuint Depth; // the image's depth
ILubyte Bpp; // bytes per pixel (not bits ILubyte Bpp; // bytes per pixel (not bits) of the image
) of the image ILuint SizeOfData; // the total size of the data (in bytes)
ILuint SizeOfData; // the total size of the dat ILenum Format; // image format (in IL enum style)
a (in bytes) ILenum Type; // image type (in IL enum style)
ILenum Format; // image format (in IL enum ILenum Origin; // origin of the image
style) ILubyte *Palette; // the image's palette
ILenum Type; // image type (in IL enum st ILenum PalType; // palette type
yle) ILuint PalSize; // palette size
ILenum Origin; // origin of the image ILenum CubeFlags; // flags for what cube map sides are present
ILubyte *Palette; // the image's palette ILuint NumNext; // number of images following
ILenum PalType; // palette type ILuint NumMips; // number of mipmaps
ILuint PalSize; // palette size ILuint NumLayers; // number of layers
ILenum CubeFlags; // flags for what cube map s
ides are present
ILuint NumNext; // number of images followin
g
ILuint NumMips; // number of mipmaps
ILuint NumLayers; // number of layers
} ILinfo; } ILinfo;
typedef struct ILpointf typedef struct ILpointf {
{ ILfloat x;
ILfloat x, y; ILfloat y;
} ILpointf; } ILpointf;
typedef struct ILpointi typedef struct ILpointi {
{ ILint x;
ILint x, y; ILint y;
} ILpointi; } ILpointi;
// ImageLib Utility Functions ILAPI ILboolean ILAPIENTRY iluAlienify(void);
ILAPI ILboolean ILAPIENTRY iluAlienify(ILvoid); ILAPI ILboolean ILAPIENTRY iluBlurAvg(ILuint Iter);
ILAPI ILboolean ILAPIENTRY iluBlurAvg(ILuint Iter); ILAPI ILboolean ILAPIENTRY iluBlurGaussian(ILuint Iter);
ILAPI ILboolean ILAPIENTRY iluBlurGaussian(ILuint It ILAPI ILboolean ILAPIENTRY iluBuildMipmaps(void);
er); ILAPI ILuint ILAPIENTRY iluColoursUsed(void);
ILAPI ILboolean ILAPIENTRY iluBuildMipmaps(ILvoid); ILAPI ILboolean ILAPIENTRY iluCompareImage(ILuint Comp);
ILAPI ILuint ILAPIENTRY iluColoursUsed(ILvoid); ILAPI ILboolean ILAPIENTRY iluContrast(ILfloat Contrast);
ILAPI ILboolean ILAPIENTRY iluCompareImage(ILuint Co ILAPI ILboolean ILAPIENTRY iluCrop(ILuint XOff, ILuint YOff, ILuint ZO
mp); ff, ILuint Width, ILuint Height, ILuint Depth);
ILAPI ILboolean ILAPIENTRY iluContrast(ILfloat Contr ILAPI void ILAPIENTRY iluDeleteImage(ILuint Id); // Deprecated
ast); ILAPI ILboolean ILAPIENTRY iluEdgeDetectE(void);
ILAPI ILboolean ILAPIENTRY iluCrop(ILuint XOff, ILui ILAPI ILboolean ILAPIENTRY iluEdgeDetectP(void);
nt YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth); ILAPI ILboolean ILAPIENTRY iluEdgeDetectS(void);
ILAPI ILvoid ILAPIENTRY iluDeleteImage(ILuint Id); ILAPI ILboolean ILAPIENTRY iluEmboss(void);
ILAPI ILboolean ILAPIENTRY iluEdgeDetectE(ILvoid); ILAPI ILboolean ILAPIENTRY iluEnlargeCanvas(ILuint Width, ILuint Heigh
ILAPI ILboolean ILAPIENTRY iluEdgeDetectP(ILvoid); t, ILuint Depth);
ILAPI ILboolean ILAPIENTRY iluEdgeDetectS(ILvoid); ILAPI ILboolean ILAPIENTRY iluEnlargeImage(ILfloat XDim, ILfloat YDim,
ILAPI ILboolean ILAPIENTRY iluEmboss(ILvoid); ILfloat ZDim);
ILAPI ILboolean ILAPIENTRY iluEnlargeCanvas(ILuint W ILAPI ILboolean ILAPIENTRY iluEqualize(void);
idth, ILuint Height, ILuint Depth); ILAPI ILconst_string ILAPIENTRY iluErrorString(ILenum Error);
ILAPI ILboolean ILAPIENTRY iluEnlargeImage(ILfloat X ILAPI ILboolean ILAPIENTRY iluConvolution(ILint *matrix, ILint scale,
Dim, ILfloat YDim, ILfloat ZDim); ILint bias);
ILAPI ILboolean ILAPIENTRY iluEqualize(ILvoid); ILAPI ILboolean ILAPIENTRY iluFlipImage(void);
ILAPI const ILstring ILAPIENTRY iluErrorString(ILenum Error); ILAPI ILboolean ILAPIENTRY iluGammaCorrect(ILfloat Gamma);
ILAPI ILboolean ILAPIENTRY iluFlipImage(ILvoid); ILAPI ILuint ILAPIENTRY iluGenImage(void); // Deprecated
ILAPI ILboolean ILAPIENTRY iluGammaCorrect(ILfloat G ILAPI void ILAPIENTRY iluGetImageInfo(ILinfo *Info);
amma); ILAPI ILint ILAPIENTRY iluGetInteger(ILenum Mode);
ILAPI ILuint ILAPIENTRY iluGenImage(ILvoid); ILAPI void ILAPIENTRY iluGetIntegerv(ILenum Mode, ILint *Param);
ILAPI ILvoid ILAPIENTRY iluGetImageInfo(ILinfo *Info); ILAPI ILstring ILAPIENTRY iluGetString(ILenum StringName);
ILAPI ILint ILAPIENTRY iluGetInteger(ILenum Mode ILAPI void ILAPIENTRY iluImageParameter(ILenum PName, ILenum Para
); m);
ILAPI ILvoid ILAPIENTRY iluGetIntegerv(ILenum Mode, ILint ILAPI void ILAPIENTRY iluInit(void);
*Param); ILAPI ILboolean ILAPIENTRY iluInvertAlpha(void);
ILAPI const ILstring ILAPIENTRY iluGetString(ILenum StringName); ILAPI ILuint ILAPIENTRY iluLoadImage(ILconst_string FileName);
ILAPI ILvoid ILAPIENTRY iluImageParameter(ILenum PName, I ILAPI ILboolean ILAPIENTRY iluMirror(void);
Lenum Param); ILAPI ILboolean ILAPIENTRY iluNegative(void);
ILAPI ILvoid ILAPIENTRY iluInit(ILvoid); ILAPI ILboolean ILAPIENTRY iluNoisify(ILclampf Tolerance);
ILAPI ILboolean ILAPIENTRY iluInvertAlpha(ILvoid); ILAPI ILboolean ILAPIENTRY iluPixelize(ILuint PixSize);
ILAPI ILuint ILAPIENTRY iluLoadImage(const ILstring FileN ILAPI void ILAPIENTRY iluRegionfv(ILpointf *Points, ILuint n);
ame); ILAPI void ILAPIENTRY iluRegioniv(ILpointi *Points, ILuint n);
ILAPI ILboolean ILAPIENTRY iluMirror(ILvoid); ILAPI ILboolean ILAPIENTRY iluReplaceColour(ILubyte Red, ILubyte Green
ILAPI ILboolean ILAPIENTRY iluNegative(ILvoid); , ILubyte Blue, ILfloat Tolerance);
ILAPI ILboolean ILAPIENTRY iluNoisify(ILclampf Toler ILAPI ILboolean ILAPIENTRY iluRotate(ILfloat Angle);
ance); ILAPI ILboolean ILAPIENTRY iluRotate3D(ILfloat x, ILfloat y, ILfloat z
ILAPI ILboolean ILAPIENTRY iluPixelize(ILuint PixSiz , ILfloat Angle);
e); ILAPI ILboolean ILAPIENTRY iluSaturate1f(ILfloat Saturation);
ILAPI ILvoid ILAPIENTRY iluRegionfv(ILpointf *Points, ILu ILAPI ILboolean ILAPIENTRY iluSaturate4f(ILfloat r, ILfloat g, ILfloat
int n); b, ILfloat Saturation);
ILAPI ILvoid ILAPIENTRY iluRegioniv(ILpointi *Points, ILu ILAPI ILboolean ILAPIENTRY iluScale(ILuint Width, ILuint Height, ILuin
int n); t Depth);
ILAPI ILboolean ILAPIENTRY iluReplaceColour(ILubyte ILAPI ILboolean ILAPIENTRY iluScaleAlpha(ILfloat scale);
Red, ILubyte Green, ILubyte Blue, ILfloat Tolerance); ILAPI ILboolean ILAPIENTRY iluScaleColours(ILfloat r, ILfloat g, ILflo
ILAPI ILboolean ILAPIENTRY iluRotate(ILfloat Angle); at b);
ILAPI ILboolean ILAPIENTRY iluRotate3D(ILfloat x, IL ILAPI ILboolean ILAPIENTRY iluSetLanguage(ILenum Language);
float y, ILfloat z, ILfloat Angle); ILAPI ILboolean ILAPIENTRY iluSharpen(ILfloat Factor, ILuint Iter);
ILAPI ILboolean ILAPIENTRY iluSaturate1f(ILfloat Sat ILAPI ILboolean ILAPIENTRY iluSwapColours(void);
uration); ILAPI ILboolean ILAPIENTRY iluWave(ILfloat Angle);
ILAPI ILboolean ILAPIENTRY iluSaturate4f(ILfloat r,
ILfloat g, ILfloat b, ILfloat Saturation);
ILAPI ILboolean ILAPIENTRY iluScale(ILuint Width, IL
uint Height, ILuint Depth);
ILAPI ILboolean ILAPIENTRY iluScaleColours(ILfloat r
, ILfloat g, ILfloat b);
ILAPI ILboolean ILAPIENTRY iluSharpen(ILfloat Factor
, ILuint Iter);
ILAPI ILboolean ILAPIENTRY iluSwapColours(ILvoid);
ILAPI ILboolean ILAPIENTRY iluWave(ILfloat Angle);
#define iluColorsUsed iluColoursUsed #define iluColorsUsed iluColoursUsed
#define iluSwapColors iluSwapColours #define iluSwapColors iluSwapColours
#define iluReplaceColor iluReplaceColour #define iluReplaceColor iluReplaceColour
#define iluScaleColor iluScaleColour #define iluScaleColor iluScaleColour
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif // __ILU_H__ #endif // __ILU_H__
#endif // __ilu_h_ #endif // __ilu_h_
 End of changes. 15 change blocks. 
167 lines changed or deleted 144 lines changed or added


 ilu_region.h   ilu_region.h 
skipping to change at line 16 skipping to change at line 16
// //
// Filename: src-ILU/src/ilu_region.h // Filename: src-ILU/src/ilu_region.h
// //
// Description: Creates an image region. // Description: Creates an image region.
// //
//------------------------------------------------------------------------- ---- //------------------------------------------------------------------------- ----
#ifndef ILU_REGION_H #ifndef ILU_REGION_H
#define ILU_REGION_H #define ILU_REGION_H
#include "ilu_internal.h"
typedef struct Edge typedef struct Edge
{ {
ILint yUpper; ILint yUpper;
ILfloat xIntersect, dxPerScan; ILfloat xIntersect, dxPerScan;
struct Edge *next; struct Edge *next;
} Edge; } Edge;
#endif//ILU_REGION_H #endif//ILU_REGION_H
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added


 optix_declarations.h   optix_declarations.h 
skipping to change at line 36 skipping to change at line 36
#ifndef __optix_optix_declarations_h__ #ifndef __optix_optix_declarations_h__
#define __optix_optix_declarations_h__ #define __optix_optix_declarations_h__
/************************************ /************************************
** **
** Preprocessor macros ** Preprocessor macros
** **
***********************************/ ***********************************/
#define RT_HOSTDEVICE __host__ __device__ #if defined(__CUDACC__) || defined(__CUDABE__)
# include <host_defines.h> /* For __host__ and __device__ */
# define RT_HOSTDEVICE __host__ __device__
#else
# define RT_HOSTDEVICE
#endif
/************************************ /************************************
** **
** Enumerated values ** Enumerated values
** **
***********************************/ ***********************************/
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
skipping to change at line 140 skipping to change at line 145
} RTfiltermode; } RTfiltermode;
typedef enum typedef enum
{ {
RT_TEXTURE_READ_ELEMENT_TYPE, RT_TEXTURE_READ_ELEMENT_TYPE,
RT_TEXTURE_READ_NORMALIZED_FLOAT RT_TEXTURE_READ_NORMALIZED_FLOAT
} RTtexturereadmode; } RTtexturereadmode;
typedef enum typedef enum
{ {
RT_TARGET_GL_TEXTURE_2D,
RT_TARGET_GL_TEXTURE_RECTANGLE,
RT_TARGET_GL_TEXTURE_3D,
RT_TARGET_GL_RENDER_BUFFER
} RTgltarget;
typedef enum
{
RT_TEXTURE_INDEX_NORMALIZED_COORDINATES, RT_TEXTURE_INDEX_NORMALIZED_COORDINATES,
RT_TEXTURE_INDEX_ARRAY_INDEX RT_TEXTURE_INDEX_ARRAY_INDEX
} RTtextureindexmode; } RTtextureindexmode;
typedef enum typedef enum
{ {
RT_BUFFER_INPUT = 0x1, RT_BUFFER_INPUT = 0x1,
RT_BUFFER_OUTPUT = 0x2, RT_BUFFER_OUTPUT = 0x2,
RT_BUFFER_INPUT_OUTPUT = RT_BUFFER_INPUT | RT_BUFFER_OUTPUT RT_BUFFER_INPUT_OUTPUT = RT_BUFFER_INPUT | RT_BUFFER_OUTPUT,
RT_BUFFER_GPU_LOCAL = 0x4
} RTbuffertype; } RTbuffertype;
typedef enum typedef enum
{ {
RT_EXCEPTION_STACK_OVERFLOW = 0x3FC, RT_EXCEPTION_STACK_OVERFLOW = 0x3FC,
RT_EXCEPTION_BUFFER_INDEX_OUT_OF_BOUNDS = 0x3FD, RT_EXCEPTION_BUFFER_INDEX_OUT_OF_BOUNDS = 0x3FD,
RT_EXCEPTION_INVALID_RAY = 0x3FE, RT_EXCEPTION_INVALID_RAY = 0x3FE,
RT_EXCEPTION_INTERNAL_ERROR = 0x3FF, RT_EXCEPTION_INTERNAL_ERROR = 0x3FF,
RT_EXCEPTION_USER = 0x400, RT_EXCEPTION_USER = 0x400,
skipping to change at line 183 skipping to change at line 197
RT_ERROR_INVALID_SOURCE = 0x507, RT_ERROR_INVALID_SOURCE = 0x507,
RT_ERROR_VERSION_MISMATCH = 0x508, RT_ERROR_VERSION_MISMATCH = 0x508,
RT_ERROR_OBJECT_CREATION_FAILED = 0x600, RT_ERROR_OBJECT_CREATION_FAILED = 0x600,
RT_ERROR_NO_DEVICE = 0x601, RT_ERROR_NO_DEVICE = 0x601,
RT_ERROR_INVALID_DEVICE = 0x602, RT_ERROR_INVALID_DEVICE = 0x602,
RT_ERROR_INVALID_IMAGE = 0x603, RT_ERROR_INVALID_IMAGE = 0x603,
RT_ERROR_FILE_NOT_FOUND = 0x604, RT_ERROR_FILE_NOT_FOUND = 0x604,
RT_ERROR_ALREADY_MAPPED = 0x605, RT_ERROR_ALREADY_MAPPED = 0x605,
RT_ERROR_INVALID_DRIVER_VERSION = 0x606, RT_ERROR_INVALID_DRIVER_VERSION = 0x606,
RT_ERROR_CONTEXT_CREATION_FAILED = 0x607,
RT_ERROR_RESOURCE_NOT_REGISTERED = 0x608,
RT_ERROR_RESOURCE_ALREADY_REGISTERED = 0x609,
RT_ERROR_LAUNCH_FAILED = 0x900, RT_ERROR_LAUNCH_FAILED = 0x900,
RT_ERROR_UNKNOWN = ~0 RT_ERROR_UNKNOWN = ~0
} RTresult; } RTresult;
typedef enum typedef enum
{ {
RT_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK, RT_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK,
RT_DEVICE_ATTRIBUTE_CLOCK_RATE, RT_DEVICE_ATTRIBUTE_CLOCK_RATE,
RT_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT RT_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT,
RT_DEVICE_ATTRIBUTE_EXECUTION_TIMEOUT_ENABLED,
RT_DEVICE_ATTRIBUTE_MAX_HARDWARE_TEXTURE_COUNT,
RT_DEVICE_ATTRIBUTE_NAME,
RT_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY,
RT_DEVICE_ATTRIBUTE_TOTAL_MEMORY
} RTdeviceattribute; } RTdeviceattribute;
typedef enum
{
RT_CONTEXT_ATTRIBUTE_MAX_TEXTURE_COUNT,
RT_CONTEXT_ATTRIBUTE_AVAILABLE_DEVICE_MEMORY = 0x10000000
} RTcontextattribute;
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */
#endif #endif
#endif /* __optix_optix_declarations_h__ */ #endif /* __optix_optix_declarations_h__ */
 End of changes. 6 change blocks. 
3 lines changed or deleted 32 lines changed or added


 optix_gl_interop.h   optix_gl_interop.h 
/* /*
* Copyright (c) 2008 - 2009 NVIDIA Corporation. All rights reserved. * Copyright (c) 2008 - 2010 NVIDIA Corporation. All rights reserved.
* *
* NVIDIA Corporation and its licensors retain all intellectual property an d proprietary * NVIDIA Corporation and its licensors retain all intellectual property an d proprietary
* rights in and to this software, related documentation and any modificati ons thereto. * rights in and to this software, related documentation and any modificati ons thereto.
* Any use, reproduction, disclosure or distribution of this software and r elated * Any use, reproduction, disclosure or distribution of this software and r elated
* documentation without an express license agreement from NVIDIA Corporati on is strictly * documentation without an express license agreement from NVIDIA Corporati on is strictly
* prohibited. * prohibited.
* *
* TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROV IDED *AS IS* * TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROV IDED *AS IS*
* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, * AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED,
* INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
skipping to change at line 47 skipping to change at line 47
#ifdef _WIN32 #ifdef _WIN32
# ifndef WIN32_LEAN_AND_MEAN # ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
# endif # endif
# include<windows.h> # include<windows.h>
#endif #endif
#include <optix_gl_interop.h> #include <optix_gl_interop.h>
*/ */
#ifdef __APPLE__
# include <OpenGL/gl.h>
#else
# include <GL/gl.h>
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
RTresult RTAPI rtBufferCreateFromGLBO (RTcontext context, RTbuffertype ty RTresult RTAPI rtBufferCreateFromGLBO ( RTcontext context, unsi
pe, unsigned int gl_id, RTbuffer* buffer); gned int type, unsigned int glId, RTbuffer* buffer );
RTresult RTAPI rtBufferGetGLBOId(RTbuffer buffer, unsigned int *gl_id); RTresult RTAPI rtTextureSamplerCreateFromGLImage( RTcontext context, unsi
gned int glId, RTgltarget target, RTtexturesampler* textureSampler );
RTresult RTAPI rtBufferGetGLBOId ( RTbuffer buffer, unsign
ed int* glId );
RTresult RTAPI rtTextureSamplerGetGLImageId ( RTtexturesampler textur
eSampler, unsigned int* glId );
RTresult RTAPI rtBufferGLRegister ( RTbuffer buffer );
RTresult RTAPI rtBufferGLUnregister ( RTbuffer buffer );
RTresult RTAPI rtTextureSamplerGLRegister ( RTtexturesampler textur
eSampler );
RTresult RTAPI rtTextureSamplerGLUnregister ( RTtexturesampler textur
eSampler );
#if defined(_WIN32) #if defined(_WIN32)
#if !defined(WGL_NV_gpu_affinity) #if !defined(WGL_NV_gpu_affinity)
typedef void* HGPUNV; typedef void* HGPUNV;
#endif #endif
RTresult RTAPI rtDeviceGetWGLDevice(int* device, HGPUNV hGpu); RTresult RTAPI rtDeviceGetWGLDevice(int* device, HGPUNV gpu);
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __optix_optix_gl_interop_h__ */ #endif /* __optix_optix_gl_interop_h__ */
 End of changes. 4 change blocks. 
11 lines changed or deleted 16 lines changed or added


 optix_host.h   optix_host.h 
skipping to change at line 116 skipping to change at line 116
#endif #endif
/************************************ /************************************
** **
** Context-free functions ** Context-free functions
** **
***********************************/ ***********************************/
RTresult RTAPI rtGetVersion(unsigned int* version); RTresult RTAPI rtGetVersion(unsigned int* version);
RTresult RTAPI rtDeviceGetDeviceCount(unsigned int* count); RTresult RTAPI rtDeviceGetDeviceCount(unsigned int* count);
RTresult RTAPI rtDeviceGetName(int ordinal, const char** return_string); RTresult RTAPI rtDeviceGetAttribute(int ordinal, RTdeviceattribute attrib
RTresult RTAPI rtDeviceGetAttribute(int ordinal, RTdeviceattribute attrib , RTsize size, void* p);
, int* p);
RTresult RTAPI rtDeviceGetComputeCapability(int ordinal, int* major, int*
minor);
RTresult RTAPI rtDeviceGetTotalMemory(int ordinal, RTsize* bytes);
/************************************ /************************************
** **
** Object Variable Accessors ** Object Variable Accessors
** **
***********************************/ ***********************************/
/* Sets */ /* Sets */
RTresult RTAPI rtVariableSet1f (RTvariable v, float f1); RTresult RTAPI rtVariableSet1f (RTvariable v, float f1);
RTresult RTAPI rtVariableSet2f (RTvariable v, float f1, float f2); RTresult RTAPI rtVariableSet2f (RTvariable v, float f1, float f2);
skipping to change at line 214 skipping to change at line 211
RTresult RTAPI rtVariableGetMatrix4x4fv(RTvariable v, int transpose, floa t* m); RTresult RTAPI rtVariableGetMatrix4x4fv(RTvariable v, int transpose, floa t* m);
RTresult RTAPI rtVariableGetObject (RTvariable v, RTobject* object); RTresult RTAPI rtVariableGetObject (RTvariable v, RTobject* object);
RTresult RTAPI rtVariableGetUserData(RTvariable v, RTsize size, void* ptr ); RTresult RTAPI rtVariableGetUserData(RTvariable v, RTsize size, void* ptr );
/* Other */ /* Other */
RTresult RTAPI rtVariableGetName(RTvariable v, const char** name_return); RTresult RTAPI rtVariableGetName(RTvariable v, const char** name_return);
RTresult RTAPI rtVariableGetAnnotation(RTvariable v, const char** annotat ion_return); RTresult RTAPI rtVariableGetAnnotation(RTvariable v, const char** annotat ion_return);
RTresult RTAPI rtVariableGetType(RTvariable v, RTobjecttype* type_return) ; RTresult RTAPI rtVariableGetType(RTvariable v, RTobjecttype* type_return) ;
RTresult RTAPI rtVariableGetContext(RTvariable v, RTcontext* context); RTresult RTAPI rtVariableGetContext(RTvariable v, RTcontext* context);
RTresult RTAPI rtVariableGetSize(RTvariable v, RTsize* size);
/************************************ /************************************
** **
** Context object ** Context object
** **
***********************************/ ***********************************/
RTresult RTAPI rtContextCreate (RTcontext* context); RTresult RTAPI rtContextCreate (RTcontext* context);
RTresult RTAPI rtContextDestroy (RTcontext context); RTresult RTAPI rtContextDestroy (RTcontext context);
RTresult RTAPI rtContextValidate(RTcontext context); RTresult RTAPI rtContextValidate(RTcontext context);
void RTAPI rtContextGetErrorString(RTcontext context, RTresult code, cons t char** return_string); void RTAPI rtContextGetErrorString(RTcontext context, RTresult code, cons t char** return_string);
RTresult RTAPI rtContextGetAttribute(RTcontext context, RTcontextattribut
e attrib, RTsize size, void* p);
RTresult RTAPI rtContextSetDevices (RTcontext context, unsigned int coun t, const int* devices); RTresult RTAPI rtContextSetDevices (RTcontext context, unsigned int coun t, const int* devices);
RTresult RTAPI rtContextGetDevices (RTcontext context, int* devices);
RTresult RTAPI rtContextGetDeviceCount (RTcontext context, unsigned int*
count);
RTresult RTAPI rtContextSetStackSize(RTcontext context, RTsize stack_siz e_bytes); RTresult RTAPI rtContextSetStackSize(RTcontext context, RTsize stack_siz e_bytes);
RTresult RTAPI rtContextGetStackSize(RTcontext context, RTsize* stack_siz e_bytes); RTresult RTAPI rtContextGetStackSize(RTcontext context, RTsize* stack_siz e_bytes);
RTresult RTAPI rtContextSetEntryPointCount(RTcontext context, unsigned in t num_entry_points); RTresult RTAPI rtContextSetEntryPointCount(RTcontext context, unsigned in t num_entry_points);
RTresult RTAPI rtContextGetEntryPointCount(RTcontext context, unsigned in t* num_entry_points); RTresult RTAPI rtContextGetEntryPointCount(RTcontext context, unsigned in t* num_entry_points);
RTresult RTAPI rtContextSetRayGenerationProgram(RTcontext context, unsign ed int entry_point_index, RTprogram program); RTresult RTAPI rtContextSetRayGenerationProgram(RTcontext context, unsign ed int entry_point_index, RTprogram program);
RTresult RTAPI rtContextGetRayGenerationProgram(RTcontext context, unsign ed int entry_point_index, RTprogram* program); RTresult RTAPI rtContextGetRayGenerationProgram(RTcontext context, unsign ed int entry_point_index, RTprogram* program);
skipping to change at line 516 skipping to change at line 518
RTresult RTAPI rtTextureSamplerSetBuffer(RTtexturesampler texturesampler, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer buffer); RTresult RTAPI rtTextureSamplerSetBuffer(RTtexturesampler texturesampler, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer buffer);
RTresult RTAPI rtTextureSamplerGetBuffer(RTtexturesampler texturesampler, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer* buffer); RTresult RTAPI rtTextureSamplerGetBuffer(RTtexturesampler texturesampler, unsigned int texture_array_idx, unsigned int mip_level, RTbuffer* buffer);
/************************************ /************************************
** **
** Buffer object ** Buffer object
** **
***********************************/ ***********************************/
RTresult RTAPI rtBufferCreate (RTcontext context, RTbuffertype ty pe, RTbuffer* buffer); RTresult RTAPI rtBufferCreate (RTcontext context, unsigned int ty pe, RTbuffer* buffer);
RTresult RTAPI rtBufferDestroy (RTbuffer buffer); RTresult RTAPI rtBufferDestroy (RTbuffer buffer);
RTresult RTAPI rtBufferValidate (RTbuffer buffer); RTresult RTAPI rtBufferValidate (RTbuffer buffer);
RTresult RTAPI rtBufferGetContext (RTbuffer buffer, RTcontext* contex t); RTresult RTAPI rtBufferGetContext (RTbuffer buffer, RTcontext* contex t);
RTresult RTAPI rtBufferSetFormat (RTbuffer buffer, RTformat format); RTresult RTAPI rtBufferSetFormat (RTbuffer buffer, RTformat format);
RTresult RTAPI rtBufferGetFormat (RTbuffer buffer, RTformat* format); RTresult RTAPI rtBufferGetFormat (RTbuffer buffer, RTformat* format);
RTresult RTAPI rtBufferSetElementSize(RTbuffer buffer, RTsize size_of_el ement); RTresult RTAPI rtBufferSetElementSize(RTbuffer buffer, RTsize size_of_el ement);
RTresult RTAPI rtBufferGetElementSize(RTbuffer buffer, RTsize* size_of_el ement); RTresult RTAPI rtBufferGetElementSize(RTbuffer buffer, RTsize* size_of_el ement);
RTresult RTAPI rtBufferSetSize1D(RTbuffer buffer, RTsize width); RTresult RTAPI rtBufferSetSize1D(RTbuffer buffer, RTsize width);
 End of changes. 5 change blocks. 
7 lines changed or deleted 10 lines changed or added


 optix_math.h   optix_math.h 
skipping to change at line 50 skipping to change at line 50
The syntax is modelled on the Cg standard library. The syntax is modelled on the Cg standard library.
This file has also been modified from the original cutil_math.h file. This file has also been modified from the original cutil_math.h file.
cutil_math.h is a subset of this file, and you should use this file in place cutil_math.h is a subset of this file, and you should use this file in place
of any cutil_math.h file you wish to use. of any cutil_math.h file you wish to use.
*/ */
#ifndef CUTIL_MATH_H #ifndef CUTIL_MATH_H
#define CUTIL_MATH_H #define CUTIL_MATH_H
#include "cuda_runtime.h"
#include "internal/optix_declarations.h" // For RT_HOSTDEVICE #include "internal/optix_declarations.h" // For RT_HOSTDEVICE
#include <vector_functions.h> // from cuda toolkit
// #define these constants such that we are sure // #define these constants such that we are sure
// 32b floats are emitted in ptx // 32b floats are emitted in ptx
#ifndef M_Ef #ifndef M_Ef
#define M_Ef 2.71828182845904523536f #define M_Ef 2.71828182845904523536f
#endif #endif
#ifndef M_LOG2Ef #ifndef M_LOG2Ef
#define M_LOG2Ef 1.44269504088896340736f #define M_LOG2Ef 1.44269504088896340736f
#endif #endif
#ifndef M_LOG10Ef #ifndef M_LOG10Ef
skipping to change at line 100 skipping to change at line 100
#endif #endif
#ifndef M_SQRT1_2f #ifndef M_SQRT1_2f
#define M_SQRT1_2f 0.707106781186547524401f #define M_SQRT1_2f 0.707106781186547524401f
#endif #endif
/************************************************************************** ****/ /************************************************************************** ****/
typedef unsigned int uint; typedef unsigned int uint;
typedef unsigned short ushort; typedef unsigned short ushort;
#ifndef __CUDACC__ #ifndef __CUDACC__
/* Functions that CUDA provides for device code but are lacking on some hos
t platform */
#include <math.h> #include <math.h>
inline float fminf(float a, float b) inline float fminf(float a, float b)
{ {
return a < b ? a : b; return a < b ? a : b;
} }
inline float fmaxf(float a, float b) inline float fmaxf(float a, float b)
{ {
return a > b ? a : b; return a > b ? a : b;
skipping to change at line 121 skipping to change at line 123
inline int max(int a, int b) inline int max(int a, int b)
{ {
return a > b ? a : b; return a > b ? a : b;
} }
inline int min(int a, int b) inline int min(int a, int b)
{ {
return a < b ? a : b; return a < b ? a : b;
} }
#endif
/* float functions */
/**************************************************************************
****/
/* copy sign-bit from src value to dst value */ /* copy sign-bit from src value to dst value */
static __inline__ RT_HOSTDEVICE float copy_sign(float dst, float src) inline float copysignf(float dst, float src)
{ {
union { union {
float f; float f;
unsigned int i; unsigned int i;
} v1, v2, v3; } v1, v2, v3;
v1.f = src; v1.f = src;
v2.f = dst; v2.f = dst;
v3.i = (v2.i & 0x7fffffff) | (v1.i & 0x80000000); v3.i = (v2.i & 0x7fffffff) | (v1.i & 0x80000000);
return v3.f; return v3.f;
} }
#endif
/* float functions */
/**************************************************************************
****/
/* lerp */ /* lerp */
inline RT_HOSTDEVICE float lerp(float a, float b, float t) inline RT_HOSTDEVICE float lerp(float a, float b, float t)
{ {
return a + t*(b-a); return a + t*(b-a);
} }
/* clamp */ /* clamp */
inline RT_HOSTDEVICE float clamp(float f, float a, float b) inline RT_HOSTDEVICE float clamp(float f, float a, float b)
{ {
skipping to change at line 351 skipping to change at line 353
/* reflect */ /* reflect */
inline RT_HOSTDEVICE float2 reflect(float2 i, float2 n) inline RT_HOSTDEVICE float2 reflect(float2 i, float2 n)
{ {
return i - 2.0f * n * dot(n,i); return i - 2.0f * n * dot(n,i);
} }
/* faceforward */ /* faceforward */
inline RT_HOSTDEVICE float2 faceforward(float2 n, float2 i, float2 nref) inline RT_HOSTDEVICE float2 faceforward(float2 n, float2 i, float2 nref)
{ {
return n * copy_sign( 1.0f, dot(i, nref) ); return n * copysignf( 1.0f, dot(i, nref) );
} }
/* exp */ /* exp */
inline RT_HOSTDEVICE float2 expf(float2 v) inline RT_HOSTDEVICE float2 expf(float2 v)
{ {
return make_float2(expf(v.x), expf(v.y)); return make_float2(expf(v.x), expf(v.y));
} }
/* float3 functions */ /* float3 functions */
/************************************************************************** ****/ /************************************************************************** ****/
skipping to change at line 538 skipping to change at line 540
/* reflect */ /* reflect */
inline RT_HOSTDEVICE float3 reflect(float3 i, float3 n) inline RT_HOSTDEVICE float3 reflect(float3 i, float3 n)
{ {
return i - 2.0f * n * dot(n,i); return i - 2.0f * n * dot(n,i);
} }
/* faceforward */ /* faceforward */
inline RT_HOSTDEVICE float3 faceforward(float3 n, float3 i, float3 nref) inline RT_HOSTDEVICE float3 faceforward(float3 n, float3 i, float3 nref)
{ {
return n * copy_sign( 1.0f, dot(i, nref) ); return n * copysignf( 1.0f, dot(i, nref) );
} }
/* exp */ /* exp */
inline RT_HOSTDEVICE float3 expf(float3 v) inline RT_HOSTDEVICE float3 expf(float3 v)
{ {
return make_float3(expf(v.x), expf(v.y), expf(v.z)); return make_float3(expf(v.x), expf(v.y), expf(v.z));
} }
/* float4 functions */ /* float4 functions */
/************************************************************************** ****/ /************************************************************************** ****/
skipping to change at line 715 skipping to change at line 717
/* reflect */ /* reflect */
inline RT_HOSTDEVICE float4 reflect(float4 i, float4 n) inline RT_HOSTDEVICE float4 reflect(float4 i, float4 n)
{ {
return i - 2.0f * n * dot(n,i); return i - 2.0f * n * dot(n,i);
} }
/* faceforward */ /* faceforward */
inline RT_HOSTDEVICE float4 faceforward(float4 n, float4 i, float4 nref) inline RT_HOSTDEVICE float4 faceforward(float4 n, float4 i, float4 nref)
{ {
return n * copy_sign( 1.0f, dot(i, nref) ); return n * copysignf( 1.0f, dot(i, nref) );
} }
/* exp */ /* exp */
inline RT_HOSTDEVICE float4 expf(float4 v) inline RT_HOSTDEVICE float4 expf(float4 v)
{ {
return make_float4(expf(v.x), expf(v.y), expf(v.z), expf(v.w)); return make_float4(expf(v.x), expf(v.y), expf(v.z), expf(v.w));
} }
/* int3 functions */ /* int3 functions */
/************************************************************************** ****/ /************************************************************************** ****/
skipping to change at line 926 skipping to change at line 928
inline RT_HOSTDEVICE uint3 clamp(uint3 v, uint a, uint b) inline RT_HOSTDEVICE uint3 clamp(uint3 v, uint a, uint b)
{ {
return make_uint3(clamp(v.x, a, b), clamp(v.y, a, b), clamp(v.z, a, b)) ; return make_uint3(clamp(v.x, a, b), clamp(v.y, a, b), clamp(v.z, a, b)) ;
} }
inline RT_HOSTDEVICE uint3 clamp(uint3 v, uint3 a, uint3 b) inline RT_HOSTDEVICE uint3 clamp(uint3 v, uint3 a, uint3 b)
{ {
return make_uint3(clamp(v.x, a.x, b.x), clamp(v.y, a.y, b.y), clamp(v.z , a.z, b.z)); return make_uint3(clamp(v.x, a.x, b.x), clamp(v.y, a.y, b.y), clamp(v.z , a.z, b.z));
} }
/* int4 functions */
/**************************************************************************
****/
/* additional constructors */
inline RT_HOSTDEVICE int4 make_int4(int s)
{
return make_int4(s, s, s, s);
}
/* equality */
inline RT_HOSTDEVICE bool operator==(int4 a, int4 b)
{
return a.x == b.x && a.y == b.y && a.z == b.z && a.w == b.w;
}
/* uint4 functions */
/**************************************************************************
****/
/* additional constructors */
inline RT_HOSTDEVICE uint4 make_uint4(uint s)
{
return make_uint4(s, s, s, s);
}
/* Narrowing */ /* Narrowing */
inline RT_HOSTDEVICE int2 make_int2(int3 v0) { return make_int2( v0.x, v0.y ); } inline RT_HOSTDEVICE int2 make_int2(int3 v0) { return make_int2( v0.x, v0.y ); }
inline RT_HOSTDEVICE int2 make_int2(int4 v0) { return make_int2( v0.x, v0.y ); } inline RT_HOSTDEVICE int2 make_int2(int4 v0) { return make_int2( v0.x, v0.y ); }
inline RT_HOSTDEVICE int3 make_int3(int4 v0) { return make_int3( v0.x, v0.y , v0.z ); } inline RT_HOSTDEVICE int3 make_int3(int4 v0) { return make_int3( v0.x, v0.y , v0.z ); }
inline RT_HOSTDEVICE uint2 make_uint2(uint3 v0) { return make_uint2( v0.x, v0.y ); } inline RT_HOSTDEVICE uint2 make_uint2(uint3 v0) { return make_uint2( v0.x, v0.y ); }
inline RT_HOSTDEVICE uint2 make_uint2(uint4 v0) { return make_uint2( v0.x, v0.y ); } inline RT_HOSTDEVICE uint2 make_uint2(uint4 v0) { return make_uint2( v0.x, v0.y ); }
inline RT_HOSTDEVICE uint3 make_uint3(uint4 v0) { return make_uint3( v0.x, v0.y, v0.z ); } inline RT_HOSTDEVICE uint3 make_uint3(uint4 v0) { return make_uint3( v0.x, v0.y, v0.z ); }
inline RT_HOSTDEVICE float2 make_float2(float3 v0) { return make_float2( v0 .x, v0.y ); } inline RT_HOSTDEVICE float2 make_float2(float3 v0) { return make_float2( v0 .x, v0.y ); }
inline RT_HOSTDEVICE float2 make_float2(float4 v0) { return make_float2( v0 .x, v0.y ); } inline RT_HOSTDEVICE float2 make_float2(float4 v0) { return make_float2( v0 .x, v0.y ); }
skipping to change at line 1054 skipping to change at line 1080
negNdotV = -negNdotV; negNdotV = -negNdotV;
} }
else else
{ {
eta = 1.f / ior; eta = 1.f / ior;
} }
const float k = 1.f - eta*eta * (1.f - negNdotV * negNdotV); const float k = 1.f - eta*eta * (1.f - negNdotV * negNdotV);
if (k < 0.0f) { if (k < 0.0f) {
r = make_float3(0);
return false; return false;
} else { } else {
r = normalize(eta*i - (eta*negNdotV + sqrtf(k)) * nn); r = normalize(eta*i - (eta*negNdotV + sqrtf(k)) * nn);
return true; return true;
} }
} }
/* Schlick approximation of Fresnel reflectance */ /* Schlick approximation of Fresnel reflectance */
inline RT_HOSTDEVICE float fresnel_schlick(float cos_theta, float exponent = 5.0f, inline RT_HOSTDEVICE float fresnel_schlick(float cos_theta, float exponent = 5.0f,
float minimum = 0.0f, float minimum = 0.0f,
skipping to change at line 1094 skipping to change at line 1119
{ {
return make_float3(fresnel_schlick(cos_theta, exponent, minimum.x, maximu m.x), return make_float3(fresnel_schlick(cos_theta, exponent, minimum.x, maximu m.x),
fresnel_schlick(cos_theta, exponent, minimum.y, maximu m.y), fresnel_schlick(cos_theta, exponent, minimum.y, maximu m.y),
fresnel_schlick(cos_theta, exponent, minimum.z, maximu m.z)); fresnel_schlick(cos_theta, exponent, minimum.z, maximu m.z));
} }
/* orthonormal basis */ /* orthonormal basis */
namespace optix { namespace optix {
struct Onb struct Onb
{ {
__device__ __inline__ Onb( const float3& normal ) inline RT_HOSTDEVICE Onb( const float3& normal )
{ {
m_normal = normal; m_normal = normal;
if( fabs(m_normal.x) > fabs(m_normal.z) ) if( fabs(m_normal.x) > fabs(m_normal.z) )
{ {
m_binormal.x = -m_normal.y; m_binormal.x = -m_normal.y;
m_binormal.y = m_normal.x; m_binormal.y = m_normal.x;
m_binormal.z = 0; m_binormal.z = 0;
} }
else else
{ {
m_binormal.x = 0; m_binormal.x = 0;
m_binormal.y = -m_normal.z; m_binormal.y = -m_normal.z;
m_binormal.z = m_normal.y; m_binormal.z = m_normal.y;
} }
m_binormal = normalize(m_binormal); m_binormal = normalize(m_binormal);
m_tangent = cross( m_binormal, m_normal ); m_tangent = cross( m_binormal, m_normal );
} }
__device__ __inline__ void inverse_transform( float3& p ) inline RT_HOSTDEVICE void inverse_transform( float3& p )
{ {
p = p.x*m_tangent + p.y*m_binormal + p.z*m_normal; p = p.x*m_tangent + p.y*m_binormal + p.z*m_normal;
} }
float3 m_tangent; float3 m_tangent;
float3 m_binormal; float3 m_binormal;
float3 m_normal; float3 m_normal;
}; };
} }
 End of changes. 13 change blocks. 
13 lines changed or deleted 41 lines changed or added


 optixu.h   optixu.h 
skipping to change at line 25 skipping to change at line 25
* SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCL UDING, WITHOUT * SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCL UDING, WITHOUT
* LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF * LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF
* BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE US E OF OR * BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE US E OF OR
* INABILITY TO USE THIS SOFTWARE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE P OSSIBILITY OF * INABILITY TO USE THIS SOFTWARE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE P OSSIBILITY OF
* SUCH DAMAGES * SUCH DAMAGES
*/ */
#ifndef __optix_optixu_h__ #ifndef __optix_optixu_h__
#define __optix_optixu_h__ #define __optix_optixu_h__
#include <stddef.h>
#include <optix.h> #include <optix.h>
#ifdef __cplusplus #ifdef __cplusplus
# define RTU_INLINE inline # define RTU_INLINE inline
#else #else
# ifdef _MSC_VER # ifdef _MSC_VER
# define RTU_INLINE __inline # define RTU_INLINE __inline
# else # else
# define RTU_INLINE inline # define RTU_INLINE inline
# endif # endif
skipping to change at line 47 skipping to change at line 48
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* /*
* Get the name string of a given type. * Get the name string of a given type.
*/ */
RTresult RTAPI rtuNameForType( RTobjecttype type, char* buffer, RTsize bu fferSize ); RTresult RTAPI rtuNameForType( RTobjecttype type, char* buffer, RTsize bu fferSize );
/* /*
* Return the size of a given RTformat. RT_FORMAT_USER and RT_FORMAT_UNKN
OWN return 0.
* Returns RT_ERROR_INVALID_VALUE if the format isn't recognized, RT_SUCCE
SS otherwise.
*/
RTresult RTAPI rtuGetSizeForRTformat( RTformat format, size_t* size);
/*
* Compile a cuda source string. * Compile a cuda source string.
* ARGS: * ARGS:
* *
* source source code string * source source code string
* preprocessorArguments list of preprocessor arguments * preprocessorArguments list of preprocessor arguments
* numPreprocessorArguments number of preprocessor arguments * numPreprocessorArguments number of preprocessor arguments
* resultSize [out] size required to hold compiled resul t string * resultSize [out] size required to hold compiled resul t string
* errorSize [out] size required to hold error string * errorSize [out] size required to hold error string
*/ */
RTresult RTAPI rtuCUDACompileString( const char* source, const char** pre processorArguments, unsigned int numPreprocessorArguments, RTsize* resultSi ze, RTsize* errorSize ); RTresult RTAPI rtuCUDACompileString( const char* source, const char** pre processorArguments, unsigned int numPreprocessorArguments, RTsize* resultSi ze, RTsize* errorSize );
 End of changes. 2 change blocks. 
0 lines changed or deleted 9 lines changed or added


 optixu_matrix.h   optixu_matrix.h 
skipping to change at line 113 skipping to change at line 113
// Assign the specified column 0..N. Takes a float, float2, float3 or float4 depending on the matrix size. // Assign the specified column 0..N. Takes a float, float2, float3 or float4 depending on the matrix size.
RT_HOSTDEVICE void setCol( unsigned int n, const floatM &c ); RT_HOSTDEVICE void setCol( unsigned int n, const floatM &c );
// Returns the transpose of the matrix. // Returns the transpose of the matrix.
RT_HOSTDEVICE Matrix<N,M> transpose() const; RT_HOSTDEVICE Matrix<N,M> transpose() const;
// Returns the inverse of the matrix. // Returns the inverse of the matrix.
RT_HOSTDEVICE Matrix<4,4> inverse() const; RT_HOSTDEVICE Matrix<4,4> inverse() const;
// Returns the determinant of the matrix.
RT_HOSTDEVICE float det() const;
// Returns a rotation matrix. // Returns a rotation matrix.
RT_HOSTDEVICE static Matrix<4,4> rotate(const float radians, const flo at3& axis); RT_HOSTDEVICE static Matrix<4,4> rotate(const float radians, const flo at3& axis);
// Returns a translation matrix. // Returns a translation matrix.
RT_HOSTDEVICE static Matrix<4,4> translate(const float3& vec); RT_HOSTDEVICE static Matrix<4,4> translate(const float3& vec);
// Returns a scale matrix. // Returns a scale matrix.
RT_HOSTDEVICE static Matrix<4,4> scale(const float3& vec); RT_HOSTDEVICE static Matrix<4,4> scale(const float3& vec);
// Returns the identity matrix. // Returns the identity matrix.
RT_HOSTDEVICE static Matrix<N,N> identity(); RT_HOSTDEVICE static Matrix<N,N> identity();
// Ordered comparison operator so that the matrix can be used in an STL container. // Ordered comparison operator so that the matrix can be used in an STL container.
RT_HOSTDEVICE bool operator<( const Matrix<M, N>& rhs ) const; RT_HOSTDEVICE bool operator<( const Matrix<M, N>& rhs ) const;
private: private:
float _data[M*N]; float _data[M*N]; // The data array is stored in row-major order.
}; };
template<unsigned int M, unsigned int N> template<unsigned int M, unsigned int N>
RT_HOSTDEVICE Matrix<M,N>::Matrix() RT_HOSTDEVICE Matrix<M,N>::Matrix()
{ {
} }
template<unsigned int M, unsigned int N> template<unsigned int M, unsigned int N>
RT_HOSTDEVICE Matrix<M,N>::Matrix( const Matrix<M,N>& m ) RT_HOSTDEVICE Matrix<M,N>::Matrix( const Matrix<M,N>& m )
{ {
skipping to change at line 465 skipping to change at line 468
template<unsigned int M, unsigned int N> template<unsigned int M, unsigned int N>
RT_HOSTDEVICE inline Matrix<N,M> Matrix<M,N>::transpose() const RT_HOSTDEVICE inline Matrix<N,M> Matrix<M,N>::transpose() const
{ {
Matrix<N,M> ret; Matrix<N,M> ret;
for( unsigned int row = 0; row < M; ++row ) for( unsigned int row = 0; row < M; ++row )
for( unsigned int col = 0; col < N; ++col ) for( unsigned int col = 0; col < N; ++col )
ret._data[col*M+row] = _data[row*N+col]; ret._data[col*M+row] = _data[row*N+col];
return ret; return ret;
} }
// Returns the inverse of the matrix. // Returns the determinant of the matrix.
template<> template<>
RT_HOSTDEVICE inline Matrix<4,4> Matrix<4,4>::inverse() const RT_HOSTDEVICE inline float Matrix<3,3>::det() const
{ {
Matrix<4,4> dst;
const float* m = _data; const float* m = _data;
const float det = float d = m[0]*m[4]*m[8] + m[1]*m[5]*m[6] + m[2]*m[3]*m[7]
- m[0]*m[5]*m[7] - m[1]*m[3]*m[8] - m[2]*m[4]*m[6];
return d;
}
// Returns the determinant of the matrix.
template<>
RT_HOSTDEVICE inline float Matrix<4,4>::det() const
{
const float* m = _data;
float d =
m[0]*m[5]*m[10]*m[15]- m[0]*m[5]*m[10]*m[15]-
m[0]*m[5]*m[11]*m[14]+m[0]*m[9]*m[14]*m[7]- m[0]*m[5]*m[11]*m[14]+m[0]*m[9]*m[14]*m[7]-
m[0]*m[9]*m[6]*m[15]+m[0]*m[13]*m[6]*m[11]- m[0]*m[9]*m[6]*m[15]+m[0]*m[13]*m[6]*m[11]-
m[0]*m[13]*m[10]*m[7]-m[4]*m[1]*m[10]*m[15]+m[4]*m[1]*m[11]*m[14]- m[0]*m[13]*m[10]*m[7]-m[4]*m[1]*m[10]*m[15]+m[4]*m[1]*m[11]*m[14]-
m[4]*m[9]*m[14]*m[3]+m[4]*m[9]*m[2]*m[15]- m[4]*m[9]*m[14]*m[3]+m[4]*m[9]*m[2]*m[15]-
m[4]*m[13]*m[2]*m[11]+m[4]*m[13]*m[10]*m[3]+m[8]*m[1]*m[6]*m[15]- m[4]*m[13]*m[2]*m[11]+m[4]*m[13]*m[10]*m[3]+m[8]*m[1]*m[6]*m[15]-
m[8]*m[1]*m[14]*m[7]+m[8]*m[5]*m[14]*m[3]- m[8]*m[1]*m[14]*m[7]+m[8]*m[5]*m[14]*m[3]-
m[8]*m[5]*m[2]*m[15]+m[8]*m[13]*m[2]*m[7]- m[8]*m[5]*m[2]*m[15]+m[8]*m[13]*m[2]*m[7]-
m[8]*m[13]*m[6]*m[3]- m[8]*m[13]*m[6]*m[3]-
m[12]*m[1]*m[6]*m[11]+m[12]*m[1]*m[10]*m[7]- m[12]*m[1]*m[6]*m[11]+m[12]*m[1]*m[10]*m[7]-
m[12]*m[5]*m[10]*m[3]+m[12]*m[5]*m[2]*m[11]- m[12]*m[5]*m[10]*m[3]+m[12]*m[5]*m[2]*m[11]-
m[12]*m[9]*m[2]*m[7]+m[12]*m[9]*m[6]*m[3]; m[12]*m[9]*m[2]*m[7]+m[12]*m[9]*m[6]*m[3];
return d;
}
const float d = 1.0f / det; // Returns the inverse of the matrix.
template<>
RT_HOSTDEVICE inline Matrix<4,4> Matrix<4,4>::inverse() const
{
Matrix<4,4> dst;
const float* m = _data;
const float d = 1.0f / det();
dst[0] = d * (m[5] * (m[10] * m[15] - m[14] * m[11]) + m[9] * (m[14] * m[7] - m[6] * m[15]) + m[13] * (m[6] * m[11] - m[10] * m[7])); dst[0] = d * (m[5] * (m[10] * m[15] - m[14] * m[11]) + m[9] * (m[14] * m[7] - m[6] * m[15]) + m[13] * (m[6] * m[11] - m[10] * m[7]));
dst[4] = d * (m[6] * (m[8] * m[15] - m[12] * m[11]) + m[10] * (m[12] * m[7] - m[4] * m[15]) + m[14] * (m[4] * m[11] - m[8] * m[7])); dst[4] = d * (m[6] * (m[8] * m[15] - m[12] * m[11]) + m[10] * (m[12] * m[7] - m[4] * m[15]) + m[14] * (m[4] * m[11] - m[8] * m[7]));
dst[8] = d * (m[7] * (m[8] * m[13] - m[12] * m[9]) + m[11] * (m[12] * m[5] - m[4] * m[13]) + m[15] * (m[4] * m[9] - m[8] * m[5])); dst[8] = d * (m[7] * (m[8] * m[13] - m[12] * m[9]) + m[11] * (m[12] * m[5] - m[4] * m[13]) + m[15] * (m[4] * m[9] - m[8] * m[5]));
dst[12] = d * (m[4] * (m[13] * m[10] - m[9] * m[14]) + m[8] * (m[5] * m [14] - m[13] * m[6]) + m[12] * (m[9] * m[6] - m[5] * m[10])); dst[12] = d * (m[4] * (m[13] * m[10] - m[9] * m[14]) + m[8] * (m[5] * m [14] - m[13] * m[6]) + m[12] * (m[9] * m[6] - m[5] * m[10]));
dst[1] = d * (m[9] * (m[2] * m[15] - m[14] * m[3]) + m[13] * (m[10] * m[3] - m[2] * m[11]) + m[1] * (m[14] * m[11] - m[10] * m[15])); dst[1] = d * (m[9] * (m[2] * m[15] - m[14] * m[3]) + m[13] * (m[10] * m[3] - m[2] * m[11]) + m[1] * (m[14] * m[11] - m[10] * m[15]));
dst[5] = d * (m[10] * (m[0] * m[15] - m[12] * m[3]) + m[14] * (m[8] * m[3] - m[0] * m[11]) + m[2] * (m[12] * m[11] - m[8] * m[15])); dst[5] = d * (m[10] * (m[0] * m[15] - m[12] * m[3]) + m[14] * (m[8] * m[3] - m[0] * m[11]) + m[2] * (m[12] * m[11] - m[8] * m[15]));
dst[9] = d * (m[11] * (m[0] * m[13] - m[12] * m[1]) + m[15] * (m[8] * m[1] - m[0] * m[9]) + m[3] * (m[12] * m[9] - m[8] * m[13])); dst[9] = d * (m[11] * (m[0] * m[13] - m[12] * m[1]) + m[15] * (m[8] * m[1] - m[0] * m[9]) + m[3] * (m[12] * m[9] - m[8] * m[13]));
dst[13] = d * (m[8] * (m[13] * m[2] - m[1] * m[14]) + m[12] * (m[1] * m [10] - m[9] * m[2]) + m[0] * (m[9] * m[14] - m[13] * m[10])); dst[13] = d * (m[8] * (m[13] * m[2] - m[1] * m[14]) + m[12] * (m[1] * m [10] - m[9] * m[2]) + m[0] * (m[9] * m[14] - m[13] * m[10]));
dst[2] = d * (m[13] * (m[2] * m[7] - m[6] * m[3]) + m[1] * (m[6] * m[1 5] - m[14] * m[7]) + m[5] * (m[14] * m[3] - m[2] * m[15])); dst[2] = d * (m[13] * (m[2] * m[7] - m[6] * m[3]) + m[1] * (m[6] * m[1 5] - m[14] * m[7]) + m[5] * (m[14] * m[3] - m[2] * m[15]));
skipping to change at line 574 skipping to change at line 594
float *m = Mat.getData(); float *m = Mat.getData();
m[0] = vec.x; m[0] = vec.x;
m[5] = vec.y; m[5] = vec.y;
m[10]= vec.z; m[10]= vec.z;
return Matrix<4,4>( m ); return Matrix<4,4>( m );
} }
// Returns the identity matrix. // Returns the identity matrix.
// This is a static member.
template<unsigned int M, unsigned int N> template<unsigned int M, unsigned int N>
RT_HOSTDEVICE Matrix<N,N> Matrix<M,N>::identity() RT_HOSTDEVICE Matrix<N,N> Matrix<M,N>::identity()
{ {
float temp[N*N]; float temp[N*N];
for(unsigned int i = 0; i < N*N; ++i) for(unsigned int i = 0; i < N*N; ++i)
temp[i] = 0; temp[i] = 0;
for( unsigned int i = 0; i < N; ++i ) for( unsigned int i = 0; i < N; ++i )
MATRIX_ACCESS( temp,i,i ) = 1.0f; MATRIX_ACCESS( temp,i,i ) = 1.0f;
return Matrix<N,N>( temp ); return Matrix<N,N>( temp );
} }
 End of changes. 9 change blocks. 
6 lines changed or deleted 27 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/