summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/mach64/mach64_texmem.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2004-06-02 22:45:00 +0000
committerJon Smirl <jonsmirl@gmail.com>2004-06-02 22:45:00 +0000
commitffb36d57a5f6359b5b91b73af60482a0016dd431 (patch)
tree5b9ba0f257974b5a28a220a57d8d49c2dfe2d8f7 /src/mesa/drivers/dri/mach64/mach64_texmem.c
parent1960182ece3f1eca06d2e439f64dd61be8a03ff5 (diff)
Removed need for sarea.h, various touch ups to get rid of type mismatches.
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_texmem.c')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_texmem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_texmem.c b/src/mesa/drivers/dri/mach64/mach64_texmem.c
index 2951fa706f..f771818c89 100644
--- a/src/mesa/drivers/dri/mach64/mach64_texmem.c
+++ b/src/mesa/drivers/dri/mach64/mach64_texmem.c
@@ -28,7 +28,7 @@
* Authors:
* Gareth Hughes <gareth@valinux.com>
* Leif Delgass <ldelgass@retinalburn.net>
- * José Fonseca <j_r_fonseca@yahoo.co.uk>
+ * Jose Fonseca <j_r_fonseca@yahoo.co.uk>
*/
#include "mach64_context.h"
@@ -174,7 +174,7 @@ void mach64PrintLocalLRU( mach64ContextPtr mmesa, int heap )
void mach64PrintGlobalLRU( mach64ContextPtr mmesa, int heap )
{
- drmTextureRegion *list = mmesa->sarea->tex_list[heap];
+ drm_tex_region_t *list = mmesa->sarea->tex_list[heap];
int i, j;
fprintf( stderr, "\nGlobal LRU, heap %d list %p:\n", heap, list );
@@ -202,7 +202,7 @@ void mach64PrintGlobalLRU( mach64ContextPtr mmesa, int heap )
/* NOTE: This function is only called while holding the hardware lock */
static void mach64ResetGlobalLRU( mach64ContextPtr mmesa, int heap )
{
- drmTextureRegion *list = mmesa->sarea->tex_list[heap];
+ drm_tex_region_t *list = mmesa->sarea->tex_list[heap];
int sz = 1 << mmesa->mach64Screen->logTexGranularity[heap];
int i;
@@ -234,7 +234,7 @@ void mach64UpdateTexLRU( mach64ContextPtr mmesa,
mach64TexObjPtr t )
{
int heap = t->heap;
- drmTextureRegion *list = mmesa->sarea->tex_list[heap];
+ drm_tex_region_t *list = mmesa->sarea->tex_list[heap];
int log2sz = mmesa->mach64Screen->logTexGranularity[heap];
int start = t->memBlock->ofs >> log2sz;
int end = (t->memBlock->ofs + t->memBlock->size - 1) >> log2sz;