#include "pipe/p_defines.h"
#include "pipe/p_context.h"
-/*#include "drirenderbuffer.h"*/
-#include "vblank.h"
#include "utils.h"
#include "xmlpool.h" /* for symbolic values of enum-type options */
}
}
+
GLboolean
intelUnbindContext(__DRIcontextPrivate * driContextPriv)
{
__DRIdrawablePrivate * driDrawPriv,
__DRIdrawablePrivate * driReadPriv)
{
-
-#if 0
- if (driDrawPriv) {
- fprintf(stderr, "x %d, y %d, width %d, height %d\n",
- driDrawPriv->x, driDrawPriv->y, driDrawPriv->w, driDrawPriv->h);
- }
-#endif
-
if (driContextPriv) {
struct intel_context *intel =
(struct intel_context *) driContextPriv->driverPrivate;
intelWindowMoved(intel);
intel->lastStamp = driDrawPriv->lastStamp;
}
-
}
else {
_mesa_make_current(NULL, NULL, NULL);
GET_CURRENT_CONTEXT(ctx);
if (ctx == NULL) {
-/* _mesa_problem(NULL, "No current context in intelScreenContext\n");
- return NULL; */
/* need a context for the first time makecurrent is called (for hw lock
when allocating priv buffers) */
if (intelScreen->dummyctxptr == NULL) {
#include "glheader.h"
#include "context.h"
-#include "extensions.h"
+#include "state_tracker/st_public.h"
#include "intel_screen.h"
#include "intel_context.h"
#include "i830_dri.h"
-#include "state_tracker/st_public.h"
-#include "state_tracker/st_context.h"
-
-#include "drirenderbuffer.h"
-#include "vblank.h"
-#include "utils.h"
-#include "xmlpool.h" /* for symbolic values of enum-type options */
-
-
_glthread_DECLARE_STATIC_MUTEX( lockMutex );