mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
asst clean-ups
This commit is contained in:
parent
e4bad27099
commit
f4d51d8923
5 changed files with 9 additions and 18 deletions
|
|
@ -40,7 +40,6 @@
|
|||
#include "pipe/p_context.h"
|
||||
|
||||
#include "utils.h"
|
||||
#include "xmlpool.h" /* for symbolic values of enum-type options */
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
*
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef INTELCONTEXT_INC
|
||||
#define INTELCONTEXT_INC
|
||||
#ifndef INTEL_CONTEXT_H
|
||||
#define INTEL_CONTEXT_H
|
||||
|
||||
|
||||
#include "drm.h"
|
||||
|
|
|
|||
|
|
@ -27,12 +27,7 @@
|
|||
|
||||
|
||||
#include "state_tracker/st_public.h"
|
||||
|
||||
#include "intel_screen.h"
|
||||
#include "intel_context.h"
|
||||
#include "intel_batchbuffer.h"
|
||||
#include "intel_swapbuffers.h"
|
||||
|
||||
#include "i830_dri.h"
|
||||
|
||||
|
||||
|
|
@ -73,13 +68,10 @@ intelContendedLock(struct intel_context *intel, uint flags)
|
|||
void LOCK_HARDWARE( struct intel_context *intel )
|
||||
{
|
||||
char __ret=0;
|
||||
int curbuf;
|
||||
|
||||
_glthread_LOCK_MUTEX(lockMutex);
|
||||
assert(!intel->locked);
|
||||
|
||||
curbuf = 0; /* current draw buf: 0 = front, 1 = back */
|
||||
|
||||
DRM_CAS(intel->driHwLock, intel->hHWContext,
|
||||
(DRM_LOCK_HELD|intel->hHWContext), __ret);
|
||||
|
||||
|
|
|
|||
|
|
@ -52,14 +52,14 @@ PUBLIC const char __driConfigOptions[] =
|
|||
DRI_CONF_FORCE_S3TC_ENABLE(false)
|
||||
DRI_CONF_ALLOW_LARGE_TEXTURES(1)
|
||||
DRI_CONF_SECTION_END DRI_CONF_END;
|
||||
const GLuint __driNConfigOptions = 4;
|
||||
|
||||
const GLuint __driNConfigOptions = 4;
|
||||
|
||||
#ifdef USE_NEW_INTERFACE
|
||||
static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
|
||||
static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
|
||||
#endif /*USE_NEW_INTERFACE */
|
||||
|
||||
extern const struct dri_extension card_extensions[];
|
||||
|
||||
extern const struct dri_extension card_extensions[];
|
||||
|
||||
|
||||
|
||||
|
|
@ -255,7 +255,7 @@ intelDestroyScreen(__DRIscreenPrivate * sPriv)
|
|||
{
|
||||
struct intel_screen *intelScreen = intel_screen(sPriv);
|
||||
|
||||
// intelUnmapScreenRegions(intelScreen);
|
||||
/* intelUnmapScreenRegions(intelScreen); */
|
||||
|
||||
if (intelScreen->havePools) {
|
||||
driPoolTakeDown(intelScreen->regionPool);
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
*
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef INTEL_PIPE_H
|
||||
#define INTEL_PIPE_H
|
||||
#ifndef INTEL_WINSYS_H
|
||||
#define INTEL_WINSYS_H
|
||||
|
||||
struct intel_context;
|
||||
struct pipe_context;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue