swrast: remove unused StoreTexel code

No longer needed since we do all rendering to texture with the buffer
mapping and pixel packing functions.
This commit is contained in:
Brian Paul 2012-01-18 17:39:33 -07:00
parent 1caf698191
commit 9403cc3aba
4 changed files with 183 additions and 1187 deletions

View file

@ -120,14 +120,10 @@ typedef void (*FetchTexelFunc)(const struct swrast_texture_image *texImage,
GLfloat *texelOut);
typedef void (*StoreTexelFunc)(struct swrast_texture_image *texImage,
GLint col, GLint row, GLint img,
const void *texel);
/**
* Subclass of gl_texture_image.
* We need extra fields/info to keep tracking of mapped texture buffers,
* strides and Fetch/Store functions.
* strides and Fetch functions.
*/
struct swrast_texture_image
{
@ -148,7 +144,6 @@ struct swrast_texture_image
GLubyte *Buffer;
FetchTexelFunc FetchTexel;
StoreTexelFunc Store;
};

File diff suppressed because it is too large Load diff

View file

@ -29,9 +29,6 @@
#include "swrast/s_context.h"
extern StoreTexelFunc
_mesa_get_texel_store_func(gl_format format);
extern FetchTexelFunc
_mesa_get_texel_fetch_func(gl_format format, GLuint dims);

File diff suppressed because it is too large Load diff