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;
ctx->cPriv = cPriv;
ctx->sPriv = sPriv;
ctx->lock = screen->drmLock;
driParseConfigFiles(&ctx->optionCache,
&screen->optionCache, sPriv->myNum, "dri");

View File

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

View File

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

View File

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