#ifndef __RADEON_SCREEN_H__
#define __RADEON_SCREEN_H__
-#ifdef GLX_DIRECT_RENDERING
-
/*
* IMPORTS: these headers contain all the DRI, X and kernel-related
* definitions that we need.
drmBufMapPtr buffers;
- __volatile__ uint32_t *scratch;
+ __volatile__ u_int32_t *scratch;
__DRIscreenPrivate *driScreen;
unsigned int sarea_priv_offset;
unsigned int gart_buffer_offset; /* offset in card memory space */
unsigned int gart_texture_offset; /* offset in card memory space */
+ GLboolean depthHasSurface;
+
/* Configuration cache with default values for all contexts */
driOptionCache optionCache;
} radeonScreenRec, *radeonScreenPtr;
-extern radeonScreenPtr radeonCreateScreen( __DRIscreenPrivate *sPriv );
-extern void radeonDestroyScreen( __DRIscreenPrivate *sPriv );
-
-#endif
#endif /* __RADEON_SCREEN_H__ */