summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/include/state_tracker/sw_winsys.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:43:27 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:43:27 +0000
commite3a07a4e68d0d97b1861db30e1ec5f90a573281b (patch)
tree32019ee1244f7b75e572fd54d870d59cde5725a3 /lib/mesa/src/gallium/include/state_tracker/sw_winsys.h
parentd41b141680bb701643858a166cd72d49308bf9d2 (diff)
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/gallium/include/state_tracker/sw_winsys.h')
-rw-r--r--lib/mesa/src/gallium/include/state_tracker/sw_winsys.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/mesa/src/gallium/include/state_tracker/sw_winsys.h b/lib/mesa/src/gallium/include/state_tracker/sw_winsys.h
index 43a73830f..a3479eb0b 100644
--- a/lib/mesa/src/gallium/include/state_tracker/sw_winsys.h
+++ b/lib/mesa/src/gallium/include/state_tracker/sw_winsys.h
@@ -35,14 +35,16 @@
#define SW_WINSYS_H
+#include "pipe/p_compiler.h" /* for boolean */
#include "pipe/p_format.h"
-#include "state_tracker/winsys_handle.h"
+
#ifdef __cplusplus
extern "C" {
#endif
+struct winsys_handle;
struct pipe_screen;
struct pipe_context;
struct pipe_resource;
@@ -66,7 +68,7 @@ struct sw_winsys
void
(*destroy)( struct sw_winsys *ws );
- bool
+ boolean
(*is_displaytarget_format_supported)( struct sw_winsys *ws,
unsigned tex_usage,
enum pipe_format format );
@@ -88,7 +90,6 @@ struct sw_winsys
enum pipe_format format,
unsigned width, unsigned height,
unsigned alignment,
- const void *front_private,
unsigned *stride );
/**
@@ -103,7 +104,7 @@ struct sw_winsys
/**
* Used to implement texture_get_handle.
*/
- bool
+ boolean
(*displaytarget_get_handle)( struct sw_winsys *ws,
struct sw_displaytarget *dt,
struct winsys_handle *whandle );