summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2011-11-03 11:59:57 +0200
committerGeorge Sapountzis <[email protected]>2011-11-04 23:33:03 +0200
commitfc9e80fab9dc529cbe67cc718b89b17e18fa41d8 (patch)
tree8e57d3747ce3a119eca659a039a95c307f68a624 /src/gallium/state_trackers/dri
parent721669d078afcf8f73e14bf2cf77889ad617e71e (diff)
dri: drop drmLock remnants
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r--src/gallium/state_trackers/dri/common/dri_context.c1
-rw-r--r--src/gallium/state_trackers/dri/common/dri_context.h5
-rw-r--r--src/gallium/state_trackers/dri/common/dri_screen.h1
3 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_context.c b/src/gallium/state_trackers/dri/common/dri_context.c
index 2dc8119eb6e..e9e00490d21 100644
--- a/src/gallium/state_trackers/dri/common/dri_context.c
+++ b/src/gallium/state_trackers/dri/common/dri_context.c
@@ -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");
diff --git a/src/gallium/state_trackers/dri/common/dri_context.h b/src/gallium/state_trackers/dri/common/dri_context.h
index cfc8e3345e5..58bc6139691 100644
--- a/src/gallium/state_trackers/dri/common/dri_context.h
+++ b/src/gallium/state_trackers/dri/common/dri_context.h
@@ -52,11 +52,6 @@ struct dri_context
driOptionCache optionCache;
- drmLock *lock;
- boolean isLocked;
- boolean stLostLock;
- boolean wsLostLock;
-
unsigned int bind_count;
/* gallium */
diff --git a/src/gallium/state_trackers/dri/common/dri_screen.h b/src/gallium/state_trackers/dri/common/dri_screen.h
index 4e865b9c551..66f7400a30a 100644
--- a/src/gallium/state_trackers/dri/common/dri_screen.h
+++ b/src/gallium/state_trackers/dri/common/dri_screen.h
@@ -63,7 +63,6 @@ struct dri_screen
/* drm */
int fd;
- drmLock *drmLock;
/* gallium */
boolean d_depth_bits_last;