dri: drop drmLock remnants

This commit is contained in:
George Sapountzis 2011-11-03 11:59:57 +02:00
parent 721669d078
commit fc9e80fab9
4 changed files with 1 additions and 10 deletions

View file

@ -83,7 +83,6 @@ dri_create_context(gl_api api, const struct gl_config * visual,
cPriv->driverPrivate = ctx; cPriv->driverPrivate = ctx;
ctx->cPriv = cPriv; ctx->cPriv = cPriv;
ctx->sPriv = sPriv; ctx->sPriv = sPriv;
ctx->lock = screen->drmLock;
driParseConfigFiles(&ctx->optionCache, driParseConfigFiles(&ctx->optionCache,
&screen->optionCache, sPriv->myNum, "dri"); &screen->optionCache, sPriv->myNum, "dri");

View file

@ -52,11 +52,6 @@ struct dri_context
driOptionCache optionCache; driOptionCache optionCache;
drmLock *lock;
boolean isLocked;
boolean stLostLock;
boolean wsLostLock;
unsigned int bind_count; unsigned int bind_count;
/* gallium */ /* gallium */

View file

@ -63,7 +63,6 @@ struct dri_screen
/* drm */ /* drm */
int fd; int fd;
drmLock *drmLock;
/* gallium */ /* gallium */
boolean d_depth_bits_last; boolean d_depth_bits_last;

View file

@ -36,11 +36,9 @@
#ifndef _DRISW_UTIL_H #ifndef _DRISW_UTIL_H
#define _DRISW_UTIL_H #define _DRISW_UTIL_H
#include "main/mtypes.h"
#include <GL/gl.h> #include <GL/gl.h>
#include <GL/internal/dri_interface.h> #include <GL/internal/dri_interface.h>
typedef struct _drmLock drmLock; #include "main/mtypes.h"
/** /**