mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
dri: drop drmLock remnants
This commit is contained in:
parent
721669d078
commit
fc9e80fab9
4 changed files with 1 additions and 10 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue