@ -1199,3 +1199,8 @@ unsigned int CAIRO_GAL::getNewGroupNumber()
return groupCounter++;
}
void CAIRO_GAL::EnableDepthTest( bool aEnabled )
{
@ -2065,3 +2065,13 @@ static void InitTesselatorCallbacks( GLUtesselator* aTesselator )
gluTessCallback( aTesselator, GLU_TESS_EDGE_FLAG, ( void (CALLBACK*)() )EdgeCallback );
gluTessCallback( aTesselator, GLU_TESS_ERROR, ( void (CALLBACK*)() )ErrorCallback );
void OPENGL_GAL::EnableDepthTest( bool aEnabled )
if( aEnabled )
glEnable( GL_DEPTH_TEST );
else
glDisable( GL_DEPTH_TEST );
@ -278,6 +278,8 @@ public:
paintListener = aPaintListener;
virtual void EnableDepthTest( bool aEnabled = false ) override;
protected:
virtual void drawGridLine( const VECTOR2D& aStartPoint, const VECTOR2D& aEndPoint ) override;
@ -988,6 +988,8 @@ public:
depthStack.pop();
virtual void EnableDepthTest( bool aEnabled = false ) {};
static const double METRIC_UNIT_LENGTH;
@ -276,6 +276,8 @@ public:
///< Parameters passed to the GLU tesselator
typedef struct