mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-06 01:40:26 +01:00
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:
parent
1caf698191
commit
9403cc3aba
4 changed files with 183 additions and 1187 deletions
|
|
@ -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
|
|
@ -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
Loading…
Add table
Reference in a new issue