diff options
author | Eric Anholt <[email protected]> | 2011-08-30 10:33:23 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-30 14:58:47 -0700 |
commit | b26a08402f645aebadfabc91e08eac568e1a40c3 (patch) | |
tree | f4142bde65e63179c84b352d1b84c42a4998e9f0 /src/mesa | |
parent | 81a0b2166991a3015f8336e184c34cf6a92adfe0 (diff) |
intel: Remove the passthrough TexSubImage[13]D functions.
All we need for these is _mesa_store_texsubimage[13]d(), since we
don't do the blit path.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Tested-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_subimage.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_subimage.c b/src/mesa/drivers/dri/intel/intel_tex_subimage.c index 49c8ae9c347..851b09e6454 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_subimage.c +++ b/src/mesa/drivers/dri/intel/intel_tex_subimage.c @@ -148,27 +148,6 @@ intelTexSubimage(struct gl_context * ctx, packing, texObj, texImage); } - -static void -intelTexSubImage3D(struct gl_context * ctx, - GLenum target, - GLint level, - GLint xoffset, GLint yoffset, GLint zoffset, - GLsizei width, GLsizei height, GLsizei depth, - GLenum format, GLenum type, - const GLvoid * pixels, - const struct gl_pixelstore_attrib *packing, - struct gl_texture_object *texObj, - struct gl_texture_image *texImage) -{ - intelTexSubimage(ctx, 3, - target, level, - xoffset, yoffset, zoffset, - width, height, depth, 0, - format, type, pixels, packing, texObj, texImage); -} - - static void intelTexSubImage2D(struct gl_context * ctx, GLenum target, @@ -189,29 +168,8 @@ intelTexSubImage2D(struct gl_context * ctx, } -static void -intelTexSubImage1D(struct gl_context * ctx, - GLenum target, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, GLenum type, - const GLvoid * pixels, - const struct gl_pixelstore_attrib *packing, - struct gl_texture_object *texObj, - struct gl_texture_image *texImage) -{ - intelTexSubimage(ctx, 1, - target, level, - xoffset, 0, 0, - width, 1, 1, 0, - format, type, pixels, packing, texObj, texImage); -} - void intelInitTextureSubImageFuncs(struct dd_function_table *functions) { - functions->TexSubImage1D = intelTexSubImage1D; functions->TexSubImage2D = intelTexSubImage2D; - functions->TexSubImage3D = intelTexSubImage3D; } |