diff options
Diffstat (limited to 'lib/mesa/src/gallium/include/frontend/sw_winsys.h')
-rw-r--r-- | lib/mesa/src/gallium/include/frontend/sw_winsys.h | 5 |
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, |