diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-11-02 04:34:57 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-11-02 04:34:57 +0000 |
commit | 32aeb3c41fedbbd7b11aacfec48e8f699d16bff0 (patch) | |
tree | fc5893a490729ebf6b87b83eebf5d4ebfdfccf27 /lib/mesa/src/gallium/include/frontend/sw_driver.h | |
parent | 286ec9d289bada8abb84753c461cfa3432866e98 (diff) |
Import Mesa 23.1.9
Diffstat (limited to 'lib/mesa/src/gallium/include/frontend/sw_driver.h')
-rw-r--r-- | lib/mesa/src/gallium/include/frontend/sw_driver.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/include/frontend/sw_driver.h b/lib/mesa/src/gallium/include/frontend/sw_driver.h index d2cb33845..6223ff9f0 100644 --- a/lib/mesa/src/gallium/include/frontend/sw_driver.h +++ b/lib/mesa/src/gallium/include/frontend/sw_driver.h @@ -6,13 +6,19 @@ struct pipe_screen; struct sw_winsys; +struct drisw_loader_funcs; struct sw_driver_descriptor { struct pipe_screen *(*create_screen)(struct sw_winsys *ws, const struct pipe_screen_config *config, bool sw_vk); struct { const char * const name; - struct sw_winsys *(*create_winsys)(); + union { + struct sw_winsys *(*create_winsys)(); + struct sw_winsys *(*create_winsys_wrapped)(struct pipe_screen *screen); + struct sw_winsys *(*create_winsys_dri)(const struct drisw_loader_funcs *lf); + struct sw_winsys *(*create_winsys_kms_dri)(int fd); + }; } winsys[]; }; |