summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_winsys.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-07-08 22:32:39 +0200
committerMarek Olšák <[email protected]>2010-07-08 22:39:52 +0200
commit61a26cdfdc9c75a83c0d362c973d5436fe077be4 (patch)
treefc55d9268fb85cfedaf89e3ab53a3cc7d03db920 /src/gallium/drivers/r300/r300_winsys.h
parent8a3f2eb9e6c830ff953751221961f2a6c8f76661 (diff)
r300g: store/return the stride for winsys_handle in winsys
Diffstat (limited to 'src/gallium/drivers/r300/r300_winsys.h')
-rw-r--r--src/gallium/drivers/r300/r300_winsys.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h
index 3b5e9eec602..7687eac53eb 100644
--- a/src/gallium/drivers/r300/r300_winsys.h
+++ b/src/gallium/drivers/r300/r300_winsys.h
@@ -148,11 +148,13 @@ struct r300_winsys_screen {
enum r300_value_id vid);
struct r300_winsys_buffer *(*buffer_from_handle)(struct r300_winsys_screen *winsys,
- unsigned handle);
+ struct winsys_handle *whandle,
+ unsigned *stride);
boolean (*buffer_get_handle)(struct r300_winsys_screen *winsys,
struct r300_winsys_buffer *buffer,
- struct winsys_handle *whandle);
+ struct winsys_handle *whandle,
+ unsigned stride);
boolean (*is_buffer_referenced)(struct r300_winsys_screen *winsys,
struct r300_winsys_buffer *buffer,