diff options
author | Eric Anholt <[email protected]> | 2011-07-27 12:29:48 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-29 10:09:41 -0700 |
commit | 0bb29949ba8a9e5a15dc0640dbb0a4e7990a1d57 (patch) | |
tree | 7bcd0b32d5903c73a722aefc8a822ac205327d1a /src/mesa/main/teximage.c | |
parent | beca3316fbf317c1032e73c9296c7777d35deb9d (diff) |
mesa: Rename FreeTexImageData to FreeTextureImageBuffer.
This was produced by sed, except for one hunk in driverfuncs.c where
trailing whitespace was dropped.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index a005d2935fa..8fdebad1940 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -595,7 +595,7 @@ _mesa_new_texture_image( struct gl_context *ctx ) /** * Free texture image data. - * This function is a fallback called via ctx->Driver.FreeTexImageData(). + * This function is a fallback called via ctx->Driver.FreeTextureImageBuffer(). * * \param texImage texture image. * @@ -630,8 +630,8 @@ _mesa_delete_texture_image(struct gl_context *ctx, /* Free texImage->Data and/or any other driver-specific texture * image storage. */ - ASSERT(ctx->Driver.FreeTexImageData); - ctx->Driver.FreeTexImageData( ctx, texImage ); + ASSERT(ctx->Driver.FreeTextureImageBuffer); + ctx->Driver.FreeTextureImageBuffer( ctx, texImage ); ASSERT(texImage->Data == NULL); if (texImage->ImageOffsets) @@ -1211,7 +1211,7 @@ void _mesa_clear_texture_image(struct gl_context *ctx, struct gl_texture_image *texImage) { - ctx->Driver.FreeTexImageData(ctx, texImage); + ctx->Driver.FreeTextureImageBuffer(ctx, texImage); clear_teximage_fields(texImage); } @@ -2457,7 +2457,7 @@ teximage(struct gl_context *ctx, GLuint dims, gl_format texFormat; if (texImage->Data) { - ctx->Driver.FreeTexImageData( ctx, texImage ); + ctx->Driver.FreeTextureImageBuffer( ctx, texImage ); } ASSERT(texImage->Data == NULL); @@ -2598,7 +2598,7 @@ _mesa_EGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image) _mesa_error(ctx, GL_OUT_OF_MEMORY, "glEGLImageTargetTexture2D"); } else { if (texImage->Data) - ctx->Driver.FreeTexImageData( ctx, texImage ); + ctx->Driver.FreeTextureImageBuffer( ctx, texImage ); ASSERT(texImage->Data == NULL); ctx->Driver.EGLImageTargetTexture2D(ctx, target, @@ -2804,7 +2804,7 @@ copyteximage(struct gl_context *ctx, GLuint dims, GLint srcX = x, srcY = y, dstX = 0, dstY = 0; /* Free old texture image */ - ctx->Driver.FreeTexImageData(ctx, texImage); + ctx->Driver.FreeTextureImageBuffer(ctx, texImage); _mesa_init_teximage_fields(ctx, target, texImage, width, height, 1, border, internalFormat, texFormat); @@ -3363,7 +3363,7 @@ compressedteximage(struct gl_context *ctx, GLuint dims, gl_format texFormat; if (texImage->Data) { - ctx->Driver.FreeTexImageData( ctx, texImage ); + ctx->Driver.FreeTextureImageBuffer( ctx, texImage ); } ASSERT(texImage->Data == NULL); |