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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
+95
-274
File diff suppressed because it is too large
Load Diff
@@ -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
Reference in New Issue
Block a user