Mesa (mesa_7_7_branch): cell: added tex_usage param to xm_surface_buffer_create()

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Dec 3 19:19:59 UTC 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 908a3e56ccf2e6266ebf081e2947e2d6b24f2585
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=908a3e56ccf2e6266ebf081e2947e2d6b24f2585

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec  2 09:31:26 2009 -0700

cell: added tex_usage param to xm_surface_buffer_create()

---

 src/gallium/winsys/xlib/xlib_cell.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/winsys/xlib/xlib_cell.c b/src/gallium/winsys/xlib/xlib_cell.c
index 13e609f..5f8dc2a 100644
--- a/src/gallium/winsys/xlib/xlib_cell.c
+++ b/src/gallium/winsys/xlib/xlib_cell.c
@@ -291,6 +291,7 @@ xm_surface_buffer_create(struct pipe_winsys *winsys,
                          unsigned width, unsigned height,
                          enum pipe_format format,
                          unsigned usage,
+                         unsigned tex_usage,
                          unsigned *stride)
 {
    const unsigned alignment = 64;




More information about the mesa-commit mailing list