disable under _SOLO build

This commit is contained in:
Alan Hourihane 2004-04-14 08:25:57 +00:00
parent edf4f53c15
commit 3a590805d1
2 changed files with 4 additions and 1 deletions

View File

@ -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 )

View File

@ -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 );