mesa/objectlabel: don't do memcpy if bufSize is 0 (v2)
[mesa.git] / src / mesa / main / dd.h
index 2f151c2965492eff0381e6ff77587bc28acb7d70..d62fee690f46d6617d90bc5f7cfe45c920a2c0b8 100644 (file)
@@ -183,24 +183,6 @@ struct dd_function_table {
                                       GLenum target, GLint internalFormat,
                                       GLenum srcFormat, GLenum srcType );
 
-   /**
-    * Determine sample counts support for a particular target and format
-    *
-    * \param ctx            GL context
-    * \param target         GL target enum
-    * \param internalFormat GL format enum
-    * \param samples        Buffer to hold the returned sample counts.
-    *                       Drivers \b must \b not return more than 16 counts.
-    *
-    * \returns
-    * The number of sample counts actually written to \c samples.  If
-    * \c internaFormat is not renderable, zero is returned.
-    */
-   size_t (*QuerySamplesForFormat)(struct gl_context *ctx,
-                                   GLenum target,
-                                   GLenum internalFormat,
-                                   int samples[16]);
-
    /**
     * Queries different driver parameters for a particular target and format.
     * Since ARB_internalformat_query2 introduced several new query parameters
@@ -494,6 +476,11 @@ struct dd_function_table {
                                      GLuint id);
    /** Delete a program */
    void (*DeleteProgram)(struct gl_context *ctx, struct gl_program *prog);   
+   /**
+    * Allocate a program to associate with the new ATI fragment shader (optional)
+    */
+   struct gl_program * (*NewATIfs)(struct gl_context *ctx,
+                                   struct ati_fragment_shader *curProg);
    /**
     * Notify driver that a program string (and GPU code) has been specified
     * or modified.  Return GL_TRUE or GL_FALSE to indicate if the program is