st/dri: add dri_wrapper.h

This commit is contained in:
George Sapountzis 2010-03-25 17:01:53 +02:00
parent 4ce16e13ce
commit 1bed0eb98e
6 changed files with 14 additions and 6 deletions

View File

@ -36,7 +36,7 @@
#include "dri_drawable.h"
#include "state_tracker/st_api.h"
#include "dri_util.h"
#include "dri_wrapper.h"
extern struct dri1_api *__dri1_api_hooks;

View File

@ -29,7 +29,7 @@
#define DRI2_H
#include "dri_drawable.h"
#include "dri_util.h"
#include "dri_wrapper.h"
const __DRIconfig **
dri_init_screen2(__DRIscreen * sPriv);

View File

@ -33,7 +33,6 @@
#include "dri_drawable.h"
#include "dri_context.h"
#include "dri_st_api.h"
#include "dri1.h"
#include "pipe/p_context.h"
#include "util/u_memory.h"

View File

@ -33,8 +33,7 @@
#define DRI_CONTEXT_H
#include "pipe/p_compiler.h"
#include "drm.h"
#include "dri_util.h"
#include "dri_wrapper.h"
struct pipe_context;
struct pipe_fence;

View File

@ -32,7 +32,7 @@
#ifndef DRI_SCREEN_H
#define DRI_SCREEN_H
#include "dri_util.h"
#include "dri_wrapper.h"
#include "xmlconfig.h"
#include "pipe/p_compiler.h"

View File

@ -0,0 +1,10 @@
#ifndef DRI_WRAPPER_H
#define DRI_WRAPPER_H
#ifndef __NOT_HAVE_DRM_H
#include "dri_util.h"
#else
#include "drisw_util.h"
#endif
#endif