summaryrefslogtreecommitdiff
path: root/src/mesa/main/texstore.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-02-25 09:12:40 +1000
committerDave Airlie <airlied@redhat.com>2011-02-28 13:34:25 +1000
commite792e79f5ae6be008d9521eccf1c647492cd682a (patch)
treef3de343d5789c8b2e30b5f463776f6364a34f43d /src/mesa/main/texstore.h
parente3709c26a643604053561729ba26cb03e3a772e3 (diff)
mesa: make_float_temp_image non-static
We need this to do signed stuff for RGTC.
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r--src/mesa/main/texstore.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h
index 177ede423f..2f3c4e821f 100644
--- a/src/mesa/main/texstore.h
+++ b/src/mesa/main/texstore.h
@@ -81,6 +81,15 @@ _mesa_make_temp_chan_image(struct gl_context *ctx, GLuint dims,
const GLvoid *srcAddr,
const struct gl_pixelstore_attrib *srcPacking);
+GLfloat *
+_mesa_make_temp_float_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,
+ GLbitfield transferOps);
extern void
_mesa_store_teximage1d(struct gl_context *ctx, GLenum target, GLint level,