diff options
author | Ian Romanick <[email protected]> | 2011-08-24 15:21:58 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-08-26 23:31:22 -0700 |
commit | e4344161bde2e24fcfba65d30d58f087bd8bf94d (patch) | |
tree | 0909a7ecd6418db9249572b5d3b55a6b35549123 /src/mesa/drivers/dri/i810/i810ioctl.h | |
parent | 117042b46fc174107a6e28babb9353f9f1e5b981 (diff) |
dri: Remove all DRI1 drivers
Acked-by: Kristian Høgsberg <[email protected]>
Acked-by: Marek Olšák <[email protected]>
Acked-by: Alan Coopersmith <[email protected]>
Acked-by: Jakob Bornecrantz <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Build-Tested-by: Jakob Bornecrantz <[email protected]>
Tested-by: Eugeni Dodonov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810ioctl.h')
-rw-r--r-- | src/mesa/drivers/dri/i810/i810ioctl.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/mesa/drivers/dri/i810/i810ioctl.h b/src/mesa/drivers/dri/i810/i810ioctl.h deleted file mode 100644 index 926e38ce51c..00000000000 --- a/src/mesa/drivers/dri/i810/i810ioctl.h +++ /dev/null @@ -1,48 +0,0 @@ - -#ifndef I810_IOCTL_H -#define I810_IOCTL_H - -#include "i810context.h" - -void i810EmitPrim( i810ContextPtr imesa ); -void i810FlushPrims( i810ContextPtr mmesa ); -void i810FlushPrimsLocked( i810ContextPtr mmesa ); -void i810FlushPrimsGetBuffer( i810ContextPtr imesa ); - -void i810WaitAgeLocked( i810ContextPtr imesa, int age ); -void i810WaitAge( i810ContextPtr imesa, int age ); -void i810DmaFinish( i810ContextPtr imesa ); -void i810RegetLockQuiescent( i810ContextPtr imesa ); -void i810InitIoctlFuncs( struct dd_function_table *functions ); -void i810CopyBuffer( const __DRIdrawable *dpriv ); -void i810PageFlip( const __DRIdrawable *dpriv ); -int i810_check_copy(int fd); - -#define I810_STATECHANGE(imesa, flag) \ -do { \ - if (imesa->vertex_low != imesa->vertex_last_prim) \ - i810FlushPrims(imesa); \ - imesa->dirty |= flag; \ -} while (0) \ - - -#define I810_FIREVERTICES(imesa) \ -do { \ - if (imesa->vertex_buffer) { \ - i810FlushPrims(imesa); \ - } \ -} while (0) - -static INLINE GLuint *i810AllocDmaLow( i810ContextPtr imesa, int bytes ) -{ - if (imesa->vertex_low + bytes > imesa->vertex_high) - i810FlushPrimsGetBuffer( imesa ); - - { - GLuint *start = (GLuint *)(imesa->vertex_addr + imesa->vertex_low); - imesa->vertex_low += bytes; - return start; - } -} - -#endif |