#include "state_tracker/st_public.h"
-
-#include "intel_screen.h"
#include "intel_context.h"
-#include "intel_batchbuffer.h"
-#include "intel_swapbuffers.h"
-
#include "i830_dri.h"
void LOCK_HARDWARE( struct intel_context *intel )
{
char __ret=0;
- int curbuf;
_glthread_LOCK_MUTEX(lockMutex);
assert(!intel->locked);
- curbuf = 0; /* current draw buf: 0 = front, 1 = back */
-
DRM_CAS(intel->driHwLock, intel->hHWContext,
(DRM_LOCK_HELD|intel->hHWContext), __ret);
DRI_CONF_FORCE_S3TC_ENABLE(false)
DRI_CONF_ALLOW_LARGE_TEXTURES(1)
DRI_CONF_SECTION_END DRI_CONF_END;
- const GLuint __driNConfigOptions = 4;
+
+const GLuint __driNConfigOptions = 4;
#ifdef USE_NEW_INTERFACE
- static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
+static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
#endif /*USE_NEW_INTERFACE */
- extern const struct dri_extension card_extensions[];
-
+extern const struct dri_extension card_extensions[];
{
struct intel_screen *intelScreen = intel_screen(sPriv);
-// intelUnmapScreenRegions(intelScreen);
+ /* intelUnmapScreenRegions(intelScreen); */
if (intelScreen->havePools) {
driPoolTakeDown(intelScreen->regionPool);