Module: Mesa
Branch: master
Commit: 24a94d13c98f8b02a32213689acbd9665694318c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=24a94d13c98f8b02a32213689acbd9665694318c

Author: Jakob Bornecrantz <[email protected]>
Date:   Fri Feb 27 03:25:08 2009 +0100

st/drm: Seperate get handle for global buffer ids

---

 src/gallium/include/state_tracker/drm_api.h |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/gallium/include/state_tracker/drm_api.h 
b/src/gallium/include/state_tracker/drm_api.h
index 588fa3a..cfed8d7 100644
--- a/src/gallium/include/state_tracker/drm_api.h
+++ b/src/gallium/include/state_tracker/drm_api.h
@@ -22,9 +22,18 @@ struct drm_api
         * Special buffer functions
         */
        /*...@{*/
-       boolean (*buffer_from_texture)(struct pipe_texture *texture, struct 
pipe_buffer **buffer, unsigned *stride);
-       struct pipe_buffer* (*buffer_from_handle)(struct pipe_screen *screen, 
const char *name, unsigned handle);
-       unsigned (*handle_from_buffer)(struct pipe_screen *screen, struct 
pipe_buffer *buffer);
+       boolean (*buffer_from_texture)(struct pipe_texture *texture,
+                                       struct pipe_buffer **buffer,
+                                       unsigned *stride);
+       struct pipe_buffer* (*buffer_from_handle)(struct pipe_screen *screen,
+                                                  const char *name,
+                                                  unsigned handle);
+       boolean (*handle_from_buffer)(struct pipe_screen *screen,
+                                      struct pipe_buffer *buffer,
+                                      unsigned *handle);
+       boolean (*global_handle_from_buffer)(struct pipe_screen *screen,
+                                             struct pipe_buffer *buffer,
+                                             unsigned *handle);
        /*...@}*/
 };
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to