Overhaul of texture image handling.

1. gl_texture_image struct's Data pointer points to images in driver's format.
2. Added FetchTexel() function pointer to struct gl_texture_image.
3. Changed Driver Tex[Sub]Image functions, return void now.
4. Texture storage/fetch code in new texstore.c file.
5. Removed texture.[ch] - functions moved to state.c

Note: FX driver updates not finished yet.
This commit is contained in:
Brian Paul
2001-02-06 21:42:48 +00:00
parent 16461f7c53
commit 8e39ad2cd6
23 changed files with 2404 additions and 2591 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: texstate.c,v 1.29 2001/01/29 20:47:39 keithw Exp $ */
/* $Id: texstate.c,v 1.30 2001/02/06 21:42:48 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -37,7 +37,6 @@
#include "texobj.h"
#include "teximage.h"
#include "texstate.h"
#include "texture.h"
#include "mtypes.h"
#include "math/m_xform.h"
#include "math/m_matrix.h"