diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-29 12:39:50 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-29 12:39:50 +0000 |
commit | 13ae06cf36f9d04c0a04cdc19196f400d7a8c642 (patch) | |
tree | ccd2bc240d06f74bd4d9776eb51ed72a1e5bca82 /src/mesa/drivers/dri/unichrome/via_tex.c | |
parent | 7b05b70c2af9f76222a40941b393b5f04ce83048 (diff) |
Large update
- Remove via duplicates of shared template files
- Update driver to work with current versions of the above
- Rework dma accounting
- Rework emitting to dma to use a consistent set of macros
The handling of cliprects in the driver is still pretty questionable.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_tex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.c b/src/mesa/drivers/dri/unichrome/via_tex.c index 48b5f1b1fc..d4c3d302ef 100644 --- a/src/mesa/drivers/dri/unichrome/via_tex.c +++ b/src/mesa/drivers/dri/unichrome/via_tex.c @@ -237,10 +237,8 @@ static void viaDeleteTexture(GLcontext *ctx, struct gl_texture_object *texObj) if (t) { viaContextPtr vmesa = VIA_CONTEXT(ctx); if (vmesa) { - /*=* John Sheng [2003.7.18] viewperf frames/sec *=*/ - /*VIA_FIREVERTICES(vmesa);*/ if (vmesa->dma) { /* imply vmesa is not under destroying */ - VIA_FIREVERTICES(vmesa); + VIA_FLUSH_DMA(vmesa); } viaDestroyTexObj(vmesa, t); } |