summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.h
diff options
context:
space:
mode:
authorIago Toral Quiroga <itoral@igalia.com>2014-11-07 11:17:29 +0100
committerIago Toral Quiroga <itoral@igalia.com>2015-01-12 11:20:29 +0100
commit4468386a3c8126cf94691c5f0ee12b0b157f314c (patch)
tree2abd536a7053c563353f2935ab0d88682061a309 /src/mesa/main/texstore.h
parent43a76a9e4416a2ff0b09bb0bc2a39bd4c61148b4 (diff)
downloadexternal_mesa3d-4468386a3c8126cf94691c5f0ee12b0b157f314c.zip
external_mesa3d-4468386a3c8126cf94691c5f0ee12b0b157f314c.tar.gz
external_mesa3d-4468386a3c8126cf94691c5f0ee12b0b157f314c.tar.bz2
mesa: Remove _mesa_make_temp_ubyte_image
Now that we have _mesa_format_convert we don't need this. texstore_rgba will use the GL_COLOR_INDEX to RGBA conversion helpers instead and compressed formats that used _mesa_make_temp_ubyte_image to create an ubyte RGBA temporary image can call _mesa_texstore with a RGBA/ubyte dst to achieve the same goal. Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r--src/mesa/main/texstore.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h
index 4c41d1f..6fb2cb7 100644
--- a/src/mesa/main/texstore.h
+++ b/src/mesa/main/texstore.h
@@ -81,15 +81,6 @@ _mesa_texstore_can_use_memcpy(struct gl_context *ctx,
const struct gl_pixelstore_attrib *srcPacking);
-extern GLubyte *
-_mesa_make_temp_ubyte_image(struct gl_context *ctx, GLuint dims,
- GLenum logicalBaseFormat,
- GLenum textureBaseFormat,
- GLint srcWidth, GLint srcHeight, GLint srcDepth,
- GLenum srcFormat, GLenum srcType,
- const GLvoid *srcAddr,
- const struct gl_pixelstore_attrib *srcPacking);
-
GLfloat *
_mesa_make_temp_float_image(struct gl_context *ctx, GLuint dims,
GLenum logicalBaseFormat,