diff options
author | Luc Verhaegen <libv@skynet.be> | 2010-03-13 04:46:12 +0100 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2010-03-13 04:46:12 +0100 |
commit | 87a6ef144f9b38898ec236450a92421f4891ad22 (patch) | |
tree | 0c1510cd43366a11db6a67c686cc98dfe294e890 /GL | |
parent | de814ae57b9649f29e34a9414513e11a665a4f00 (diff) |
DRI SDK headers from mesa 7.4.4.
Diffstat (limited to 'GL')
-rw-r--r-- | GL/internal/dri_interface.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/GL/internal/dri_interface.h b/GL/internal/dri_interface.h index 27cc1be..09ae940 100644 --- a/GL/internal/dri_interface.h +++ b/GL/internal/dri_interface.h @@ -636,7 +636,7 @@ struct __DRIbufferRec { }; #define __DRI_DRI2_LOADER "DRI_DRI2Loader" -#define __DRI_DRI2_LOADER_VERSION 1 +#define __DRI_DRI2_LOADER_VERSION 2 struct __DRIdri2LoaderExtensionRec { __DRIextension base; @@ -644,6 +644,19 @@ struct __DRIdri2LoaderExtensionRec { int *width, int *height, unsigned int *attachments, int count, int *out_count, void *loaderPrivate); + + /** + * Flush pending front-buffer rendering + * + * Any rendering that has been performed to the + * \c __DRI_BUFFER_FAKE_FRONT_LEFT will be flushed to the + * \c __DRI_BUFFER_FRONT_LEFT. + * + * \param driDrawable Drawable whose front-buffer is to be flushed + * \param loaderPrivate Loader's private data that was previously passed + * into __DRIdri2ExtensionRec::createNewDrawable + */ + void (*flushFrontBuffer)(__DRIdrawable *driDrawable, void *loaderPrivate); }; /** |