Rename some driver FreeTextureImageData functions to FreeTextureImageBuffer.
authorEric Anholt <eric@anholt.net>
Wed, 27 Jul 2011 19:56:07 +0000 (12:56 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 29 Aug 2011 17:10:03 +0000 (10:10 -0700)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/intel/intel_tex.c
src/mesa/state_tracker/st_cb_texture.c

index 8744540f1ba2e3cca952be0e647788304f8f69cd..1c607246cd6716b912f868fa292dcb98f81e6c7e 100644 (file)
@@ -45,7 +45,8 @@ intelDeleteTextureObject(struct gl_context *ctx,
 
 
 static void
-intelFreeTextureImageData(struct gl_context * ctx, struct gl_texture_image *texImage)
+intel_free_texture_image_buffer(struct gl_context * ctx,
+                               struct gl_texture_image *texImage)
 {
    struct intel_context *intel = intel_context(ctx);
    struct intel_texture_image *intelImage = intel_texture_image(texImage);
@@ -123,5 +124,5 @@ intelInitTextureFuncs(struct dd_function_table *functions)
    functions->NewTextureObject = intelNewTextureObject;
    functions->NewTextureImage = intelNewTextureImage;
    functions->DeleteTexture = intelDeleteTextureObject;
-   functions->FreeTextureImageBuffer = intelFreeTextureImageData;
+   functions->FreeTextureImageBuffer = intel_free_texture_image_buffer;
 }
index 4053f22c32e8d9b9602ca2d139d0b6ed6db5f2a6..098a4d6caa943dc3c46ba6c77a8102d1a275b416 100644 (file)
@@ -144,7 +144,7 @@ st_DeleteTextureObject(struct gl_context *ctx,
 
 /** called via ctx->Driver.FreeTextureImageBuffer() */
 static void
-st_FreeTextureImageData(struct gl_context * ctx, struct gl_texture_image *texImage)
+st_FreeTextureImageBuffer(struct gl_context * ctx, struct gl_texture_image *texImage)
 {
    struct st_texture_image *stImage = st_texture_image(texImage);
 
@@ -1880,7 +1880,7 @@ st_init_texture_functions(struct dd_function_table *functions)
    functions->NewTextureObject = st_NewTextureObject;
    functions->NewTextureImage = st_NewTextureImage;
    functions->DeleteTexture = st_DeleteTextureObject;
-   functions->FreeTextureImageBuffer = st_FreeTextureImageData;
+   functions->FreeTextureImageBuffer = st_FreeTextureImageBuffer;
 
    functions->TextureMemCpy = do_memcpy;