switch to using driFillInModes fix depthbuffer = 0
[mesa.git] / src / mesa / swrast / s_context.h
index 081d2557ad5a05af4b8e0fc137f8249472b5deb2..9d14c89bd601fcd270a94f3a768e0748d35c9bb5 100644 (file)
@@ -281,6 +281,7 @@ typedef struct
    GLboolean _IntegerAccumMode;        /**< Storing unscaled integers? */
    GLfloat _IntegerAccumScaler;        /**< Implicit scale factor */
 
+   GLchan *CurAuxBuffer;
 
    /* Working values:
     */
@@ -288,7 +289,7 @@ typedef struct
    GLuint NewState;
    GLuint StateChanges;
    GLenum Primitive;    /* current primitive being drawn (ala glBegin) */
-   GLuint CurrentBuffer; /* exactly one of FRONT_LEFT_BIT, BACK_LEFT_BIT, etc*/
+   GLbitfield CurrentBufferBit; /* exactly one the of DD_*_BIT buffer bits */
 
    /** Mechanism to allow driver (like X11) to register further
     * software rasterization routines.
@@ -383,4 +384,18 @@ _swrast_validate_derived( GLcontext *ctx );
 #define FixedToChan(X)  FixedToInt(X)
 #endif
 
+
+
+extern void 
+_swrast_translate_program( GLcontext *ctx );
+
+extern GLboolean 
+_swrast_execute_codegen_program(GLcontext *ctx,
+                               const struct fragment_program *program, 
+                               GLuint maxInst,
+                               struct fp_machine *machine, 
+                               const struct sw_span *span,
+                               GLuint column );
+
+
 #endif