};
-GLboolean tridentCreateContext( const __GLcontextModes *glVisual,
- __DRIcontextPrivate *driContextPriv,
- void *sharedContextPrivate)
+static GLboolean
+tridentCreateContext( const __GLcontextModes *glVisual,
+ __DRIcontextPrivate *driContextPriv,
+ void *sharedContextPrivate)
{
GLcontext *ctx, *shareCtx;
__DRIscreenPrivate *sPriv = driContextPriv->driScreenPriv;
}
-tridentScreenPtr tridentCreateScreen( __DRIscreenPrivate *sPriv )
+static tridentScreenPtr
+tridentCreateScreen( __DRIscreenPrivate *sPriv )
{
TRIDENTDRIPtr tDRIPriv = (TRIDENTDRIPtr)sPriv->pDevPriv;
tridentScreenPtr tridentScreen;
/* Destroy the device specific screen private data struct.
*/
-void tridentDestroyScreen( __DRIscreenPrivate *sPriv )
+static void
+tridentDestroyScreen( __DRIscreenPrivate *sPriv )
{
tridentScreenPtr tridentScreen = (tridentScreenPtr)sPriv->private;
FREE(tridentScreen);
}
+
static GLboolean
tridentInitDriver(__DRIscreenPrivate *sPriv)
{
}
}
-void tridentCalcViewport( GLcontext *ctx )
+static void
+tridentCalcViewport( GLcontext *ctx )
{
tridentContextPtr tmesa = TRIDENT_CONTEXT(ctx);
const GLfloat *v = ctx->Viewport._WindowMap.m;
tridentCalcViewport( ctx );
}
-void tridentSetCliprects( tridentContextPtr tmesa, GLenum mode )
+static void
+tridentSetCliprects( tridentContextPtr tmesa, GLenum mode )
{
__DRIdrawablePrivate *dPriv = tmesa->driDrawable;
}
#endif
-void tridentDDUpdateState( GLcontext *ctx, GLuint new_state )
+static void
+tridentDDUpdateState( GLcontext *ctx, GLuint new_state )
{
_swrast_InvalidateState( ctx, new_state );
_swsetup_InvalidateState( ctx, new_state );