diff options
author | Jakob Bornecrantz <[email protected]> | 2010-02-17 21:45:41 +0000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-03-01 16:05:48 +0000 |
commit | 45089784e3d5f8c9b87c2c6b943391f2e5125096 (patch) | |
tree | d5e566c465cac80adf34f4742cbbcc98244e5fa9 /src/gallium/drivers/i965/brw_winsys.h | |
parent | 0e1eb1b8765149873f9fd27d455d8b7ed3387709 (diff) |
i965g: Conversion to winsys handle
Diffstat (limited to 'src/gallium/drivers/i965/brw_winsys.h')
-rw-r--r-- | src/gallium/drivers/i965/brw_winsys.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_winsys.h b/src/gallium/drivers/i965/brw_winsys.h index c82d00f4a47..139e26e31fe 100644 --- a/src/gallium/drivers/i965/brw_winsys.h +++ b/src/gallium/drivers/i965/brw_winsys.h @@ -162,6 +162,16 @@ struct brw_winsys_screen { unsigned alignment, struct brw_winsys_buffer **bo_out); + enum pipe_error (*bo_from_handle)(struct brw_winsys_screen *sws, + struct winsys_handle *whandle, + unsigned *stride, + unsigned *tiling, + struct brw_winsys_buffer **bo_out); + + enum pipe_error (*bo_get_handle)(struct brw_winsys_buffer *buffer, + struct winsys_handle *whandle, + unsigned stride); + /* Destroy a buffer when our refcount goes to zero: */ void (*bo_destroy)(struct brw_winsys_buffer *buffer); |