drisw: plumb through a swapBuffersWithDamage interface
currently the same as regular swap Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27703>
This commit is contained in:

committed by
Marge Bot

parent
3aea0e31a4
commit
fd6f7e3f16
@@ -799,7 +799,7 @@ struct __DRIuseInvalidateExtensionRec {
|
||||
* returns a reliable value. The X server requires v1 and uses v2.
|
||||
*/
|
||||
#define __DRI_CORE "DRI_Core"
|
||||
#define __DRI_CORE_VERSION 2
|
||||
#define __DRI_CORE_VERSION 3
|
||||
|
||||
struct __DRIcoreExtensionRec {
|
||||
__DRIextension base;
|
||||
@@ -858,6 +858,8 @@ struct __DRIcoreExtensionRec {
|
||||
|
||||
/* Used by the X server. */
|
||||
int (*unbindContext)(__DRIcontext *ctx);
|
||||
|
||||
void (*swapBuffersWithDamage)(__DRIdrawable *drawable, int nrects, const int *rects);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user