summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/include/frontend/sw_winsys.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-11-02 04:34:57 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-11-02 04:34:57 +0000
commit32aeb3c41fedbbd7b11aacfec48e8f699d16bff0 (patch)
treefc5893a490729ebf6b87b83eebf5d4ebfdfccf27 /lib/mesa/src/gallium/include/frontend/sw_winsys.h
parent286ec9d289bada8abb84753c461cfa3432866e98 (diff)
Import Mesa 23.1.9
Diffstat (limited to 'lib/mesa/src/gallium/include/frontend/sw_winsys.h')
-rw-r--r--lib/mesa/src/gallium/include/frontend/sw_winsys.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/include/frontend/sw_winsys.h b/lib/mesa/src/gallium/include/frontend/sw_winsys.h
index d412cc8d4..1982ac5fd 100644
--- a/lib/mesa/src/gallium/include/frontend/sw_winsys.h
+++ b/lib/mesa/src/gallium/include/frontend/sw_winsys.h
@@ -35,7 +35,7 @@
#define SW_WINSYS_H
-#include "pipe/p_format.h"
+#include "util/format/u_formats.h"
#include "frontend/winsys_handle.h"
#ifdef __cplusplus
@@ -66,6 +66,9 @@ struct sw_winsys
void
(*destroy)( struct sw_winsys *ws );
+ int
+ (*get_fd)( struct sw_winsys *ws );
+
bool
(*is_displaytarget_format_supported)( struct sw_winsys *ws,
unsigned tex_usage,