diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-23 18:16:22 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-23 18:16:22 +0000 |
commit | 9876730f7ac0497dcb6342997006be752536b0e3 (patch) | |
tree | 6861b2869d15b90f6821bce90f41b012a93bc768 /src/mesa/drivers/dri/unichrome/via_ioctl.h | |
parent | 15da29b5e74a92437b9dc95590a9289e33e0a9a6 (diff) |
Chop out more dead code.
Get the drawXoff adjustment working a bit better.
Seems to pass the glean orthoPos tests.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_ioctl.h')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_ioctl.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_ioctl.h b/src/mesa/drivers/dri/unichrome/via_ioctl.h index fec13c9362..627d8ad8f2 100644 --- a/src/mesa/drivers/dri/unichrome/via_ioctl.h +++ b/src/mesa/drivers/dri/unichrome/via_ioctl.h @@ -32,8 +32,6 @@ void viaEmitPrim(viaContextPtr vmesa); void viaFlushPrims(viaContextPtr vmesa); void viaFlushPrimsLocked(viaContextPtr vmesa); -void viaDmaFinish(viaContextPtr vmesa); -void viaRegetLockQuiescent(viaContextPtr vmesa); void viaInitIoctlFuncs(GLcontext *ctx); void viaCopyBuffer(const __DRIdrawablePrivate *dpriv); void viaPageFlip(const __DRIdrawablePrivate *dpriv); @@ -48,17 +46,9 @@ void viaDoSwapPBuffers(viaContextPtr vmesa); int flush_agp(viaContextPtr vmesa, drm_via_flush_agp_t* agpCmd); int flush_sys(viaContextPtr vmesa, drm_via_flush_sys_t* buf); -#define VIA_STATECHANGE(vmesa, flag) \ - do { \ - if (vmesa->dmaLow != vmesa->dmaLastPrim) \ - viaFlushPrims(vmesa); \ - vmesa->dirty |= flag; \ - } while (0) \ - - #define VIA_FIREVERTICES(vmesa) \ do { \ - if (vmesa->dmaLow) { \ + if (vmesa->dmaLow != DMA_OFFSET) { \ viaFlushPrims(vmesa); \ } \ } while (0) |