projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965/vs: Allocate register set once at context creation.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
common
/
dri_util.h
diff --git
a/src/mesa/drivers/dri/common/dri_util.h
b/src/mesa/drivers/dri/common/dri_util.h
index f71b7be47e3f777597ad11f2e37a75f615ef532a..900f04853a73498d6a388572429ad9ae95b86094 100644
(file)
--- a/
src/mesa/drivers/dri/common/dri_util.h
+++ b/
src/mesa/drivers/dri/common/dri_util.h
@@
-44,6
+44,12
@@
* \author Brian Paul <brian@precisioninsight.com>
*/
* \author Brian Paul <brian@precisioninsight.com>
*/
+/**
+ * The following structs are shared between DRISW and DRI2, the DRISW structs
+ * are essentially base classes of the DRI2 structs. DRISW needs to compile on
+ * platforms without DRM, so keep the structs opaque to DRM.
+ */
+
#ifndef _DRI_UTIL_H_
#define _DRI_UTIL_H_
#ifndef _DRI_UTIL_H_
#define _DRI_UTIL_H_
@@
-52,11
+58,11
@@
#include "main/mtypes.h"
#include "xmlconfig.h"
#include "main/mtypes.h"
#include "xmlconfig.h"
-
/**
* Extensions.
*/
extern const __DRIcoreExtension driCoreExtension;
/**
* Extensions.
*/
extern const __DRIcoreExtension driCoreExtension;
+extern const __DRIswrastExtension driSWRastExtension;
extern const __DRIdri2Extension driDRI2Extension;
extern const __DRI2configQueryExtension dri2ConfigQueryExtension;
extern const __DRIdri2Extension driDRI2Extension;
extern const __DRI2configQueryExtension dri2ConfigQueryExtension;
@@
-78,6
+84,10
@@
struct __DriverAPIRec {
GLboolean (*CreateContext)(gl_api api,
const struct gl_config *glVis,
__DRIcontext *driContextPriv,
GLboolean (*CreateContext)(gl_api api,
const struct gl_config *glVis,
__DRIcontext *driContextPriv,
+ unsigned major_version,
+ unsigned minor_version,
+ uint32_t flags,
+ unsigned *error,
void *sharedContextPrivate);
void (*DestroyContext)(__DRIcontext *driContextPriv);
void *sharedContextPrivate);
void (*DestroyContext)(__DRIcontext *driContextPriv);