init secondary color to (0,0,0,1). remove some redundant initializations.
[mesa.git] / src / mesa / main / dd.h
index 55383773744af12830468d42bf7f2eb2f5643e15..f9fdd3b92b65228fcc4de039c6fd71629fba7796 100644 (file)
@@ -563,6 +563,19 @@ struct dd_function_table {
    /*@}*/
 
 
+   /**
+    * \name Vertex/fragment program functions
+    */
+   /*@{*/
+   /** Bind a vertex/fragment program */
+   void (*BindProgram)(GLcontext *ctx, GLenum target, struct program *prog);
+   /** Allocate a new program */
+   struct program * (*NewProgram)(GLcontext *ctx, GLenum target, GLuint id);
+   /** Delete a program */
+   void (*DeleteProgram)(GLcontext *ctx, struct program *prog);
+   /*@}*/
+
+
    /**
     * \name State-changing functions.
     *
@@ -578,7 +591,7 @@ struct dd_function_table {
    /** Set the blend color */
    void (*BlendColor)(GLcontext *ctx, const GLfloat color[4]);
    /** Set the blend equation */
-   void (*BlendEquation)(GLcontext *ctx, GLenum mode);
+   void (*BlendEquationSeparate)(GLcontext *ctx, GLenum modeRGB, GLenum modeA);
    /** Specify pixel arithmetic */
    void (*BlendFuncSeparate)(GLcontext *ctx,
                              GLenum sfactorRGB, GLenum dfactorRGB,