swrast: remove MAX_WIDTH arrays in s_drawpix.c
[mesa.git] / src / mesa / swrast / swrast.h
index dd40551592fab6d2085d16ee554b087a537ccdad..ad19eeeccd8858a0eaf19da2fb0855225d12d5e0 100644 (file)
@@ -110,6 +110,11 @@ _swrast_CopyPixels( struct gl_context *ctx,
                    GLsizei width, GLsizei height,
                    GLenum type );
 
+extern GLboolean
+swrast_fast_copy_pixels(struct gl_context *ctx,
+                       GLint srcX, GLint srcY, GLsizei width, GLsizei height,
+                       GLint dstX, GLint dstY, GLenum type);
+
 extern void
 _swrast_DrawPixels( struct gl_context *ctx,
                    GLint x, GLint y,
@@ -186,6 +191,10 @@ _swrast_alloc_texture_image_buffer(struct gl_context *ctx,
                                    gl_format format, GLsizei width,
                                    GLsizei height, GLsizei depth);
 
+extern void
+_swrast_init_texture_image(struct gl_texture_image *texImage, GLsizei width,
+                           GLsizei height, GLsizei depth);
+
 extern void
 _swrast_free_texture_image_buffer(struct gl_context *ctx,
                                   struct gl_texture_image *texImage);