diff options
author | Marek Olšák <[email protected]> | 2010-06-20 03:37:14 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-20 03:59:32 +0200 |
commit | e4fe18a6206560a3a562147d1033389ec977d607 (patch) | |
tree | 79dc30007006d1fa6b01d102e10815c3fa30e104 /src/gallium/drivers/r300/r300_winsys.h | |
parent | 6e96cfa39a1d6705be6b3fc3bae651ba0450a336 (diff) |
r300g: cleanup buffer_{from, get}_handle
Diffstat (limited to 'src/gallium/drivers/r300/r300_winsys.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_winsys.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h index 2d43153b34f..334ec9fa84a 100644 --- a/src/gallium/drivers/r300/r300_winsys.h +++ b/src/gallium/drivers/r300/r300_winsys.h @@ -143,12 +143,10 @@ struct r300_winsys_screen { enum r300_value_id vid); struct r300_winsys_buffer *(*buffer_from_handle)(struct r300_winsys_screen *winsys, - struct pipe_screen *screen, - struct winsys_handle *whandle, - unsigned *stride); + unsigned handle); + boolean (*buffer_get_handle)(struct r300_winsys_screen *winsys, struct r300_winsys_buffer *buffer, - unsigned stride, struct winsys_handle *whandle); boolean (*is_buffer_referenced)(struct r300_winsys_screen *winsys, |