Removed the old teximage code.
[mesa.git] / src / mesa / main / dd.h
index b2b0bbd2377692627500fea6896f59de1238376d..c29c27efe6abdd3dc8001d1bbf512413ffd436e2 100644 (file)
@@ -186,9 +186,8 @@ struct dd_function_table {
     * functions.  The driver should examine \p internalFormat and return a
     * pointer to an appropriate gl_texture_format.
     */
-   const struct gl_texture_format *
-   (*ChooseTextureFormat)( GLcontext *ctx, GLint internalFormat,
-                           GLenum srcFormat, GLenum srcType );
+   const struct gl_texture_format *(*ChooseTextureFormat)( GLcontext *ctx,
+                      GLint internalFormat, GLenum srcFormat, GLenum srcType );
 
    /**
     * Called by glTexImage1D().
@@ -454,16 +453,13 @@ struct dd_function_table {
                                    GLsizei imageSize, const GLvoid *data,
                                    struct gl_texture_object *texObj,
                                    struct gl_texture_image *texImage);
+
    /**
-    * Called to validate a certain compressed format.
-    */
-   GLboolean (*IsCompressedFormat)( GLcontext *ctx, GLenum internalFormat );
-   /**
-    * Called to get bytes of storage needed for the given texture size and
-    * compressed format.
+    * Called to query number of bytes of storage needed to store the
+    * specified compressed texture.
     */
-   GLuint (*CompressedTextureSize)( GLcontext *ctx,
-                                    GLsizei width, GLsizei height, GLsizei depth,
+   GLuint (*CompressedTextureSize)( GLcontext *ctx, GLsizei width,
+                                    GLsizei height, GLsizei depth,
                                     GLenum format );
    /*@}*/