diff options
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2024-02-13 14:43:20 -0500 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-02-29 01:15:23 +0000 |
commit | ad8794884cc6af7fc1fc3da1a5e940c7272c4dc0 (patch) | |
tree | e81dc0b04ccab8abeb4c27fd81cfc67fe4123cbb /include | |
parent | 0c82a67ea65deece5767b3d68ac63da194300bbc (diff) |
egl/kopper: plumb through SwapBuffersWithDamage
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27703>
Diffstat (limited to 'include')
-rw-r--r-- | include/kopper_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/kopper_interface.h b/include/kopper_interface.h index 2088098f6cf..fa1f001a728 100644 --- a/include/kopper_interface.h +++ b/include/kopper_interface.h @@ -47,7 +47,7 @@ typedef struct __DRIkopperDrawableInfoRec __DRIkopperDrawableInfo; * relying on a particular window system or DRI protocol. */ #define __DRI_KOPPER "DRI_Kopper" -#define __DRI_KOPPER_VERSION 1 +#define __DRI_KOPPER_VERSION 2 struct __DRIkopperDrawableInfoRec { bool multiplanes_available; @@ -71,6 +71,7 @@ struct __DRIkopperExtensionRec { int64_t (*swapBuffers)(__DRIdrawable *draw, uint32_t flush_flags); void (*setSwapInterval)(__DRIdrawable *drawable, int interval); int (*queryBufferAge)(__DRIdrawable *drawable); + int64_t (*swapBuffersWithDamage)(__DRIdrawable *draw, uint32_t flush_flags, int nrects, const int *rects); }; /** |