diff options
author | Alan Hourihane <[email protected]> | 2004-04-14 08:25:57 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2004-04-14 08:25:57 +0000 |
commit | 3a590805d17579dc4a4744aa448208a1bb77ba0f (patch) | |
tree | b23e7926d3ef248adb417290fe36a29e8128540b /src/mesa/drivers/dri/r200 | |
parent | edf4f53c15254ac53ab80ed127f3ff88f35dff8d (diff) |
disable under _SOLO build
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_ioctl.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_ioctl.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.c b/src/mesa/drivers/dri/r200/r200_ioctl.c index edb6079d7e6..838a1dd5182 100644 --- a/src/mesa/drivers/dri/r200/r200_ioctl.c +++ b/src/mesa/drivers/dri/r200/r200_ioctl.c @@ -782,6 +782,7 @@ void r200Finish( GLcontext *ctx ) * the kernel data structures, and the current context to get the * device fd. */ +#ifndef _SOLO void *r200AllocateMemoryMESA(Display *dpy, int scrn, GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority) @@ -888,7 +889,7 @@ GLuint r200GetMemoryOffsetMESA(Display *dpy, int scrn, const GLvoid *pointer) return card_offset - rmesa->r200Screen->gart_base; } - +#endif GLboolean r200IsGartMemory( r200ContextPtr rmesa, const GLvoid *pointer, GLint size ) diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.h b/src/mesa/drivers/dri/r200/r200_ioctl.h index 9684d9682c6..cb86aff7e60 100644 --- a/src/mesa/drivers/dri/r200/r200_ioctl.h +++ b/src/mesa/drivers/dri/r200/r200_ioctl.h @@ -106,10 +106,12 @@ extern void r200WaitForIdleLocked( r200ContextPtr rmesa ); extern void r200WaitForVBlank( r200ContextPtr rmesa ); extern void r200InitIoctlFuncs( struct dd_function_table *functions ); +#ifndef _SOLO extern void *r200AllocateMemoryMESA( Display *dpy, int scrn, GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority ); extern void r200FreeMemoryMESA( Display *dpy, int scrn, GLvoid *pointer ); extern GLuint r200GetMemoryOffsetMESA( Display *dpy, int scrn, const GLvoid *pointer ); +#endif extern GLboolean r200IsGartMemory( r200ContextPtr rmesa, const GLvoid *pointer, GLint size ); |