drisw: hook up EXT_buffer_age
drisw only has a single drawable, which means the buffer age is always 1 Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27554>
This commit is contained in:

committed by
Marge Bot

parent
9eb4b86e76
commit
81ecb21d50
@@ -913,7 +913,7 @@ struct __DRIframebufferRec {
|
||||
* extension. Version 1 is required by the X server, and version 3 is used.
|
||||
*/
|
||||
#define __DRI_SWRAST "DRI_SWRast"
|
||||
#define __DRI_SWRAST_VERSION 4
|
||||
#define __DRI_SWRAST_VERSION 5
|
||||
|
||||
struct __DRIswrastExtensionRec {
|
||||
__DRIextension base;
|
||||
@@ -960,6 +960,10 @@ struct __DRIswrastExtensionRec {
|
||||
const __DRIextension **driver_extensions,
|
||||
const __DRIconfig ***driver_configs,
|
||||
void *loaderPrivate);
|
||||
/**
|
||||
* \since version 5
|
||||
*/
|
||||
int (*queryBufferAge)(__DRIdrawable *drawable);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user