diff options
author | José Fonseca <[email protected]> | 2008-05-07 14:17:59 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-05-07 14:17:59 +0900 |
commit | c7ad942c54c3892a98d248a15af817f256260e75 (patch) | |
tree | 3100ba9a9086063d2aee56431f36b7c76a901c17 /src/gallium/winsys/xlib | |
parent | fe06a47361b2db3dfde537aeb0c193495a16905e (diff) |
gallium: Propagate tex_usage flags down to winsys.
Diffstat (limited to 'src/gallium/winsys/xlib')
-rw-r--r-- | src/gallium/winsys/xlib/xm_winsys.c | 3 | ||||
-rw-r--r-- | src/gallium/winsys/xlib/xm_winsys_aub.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/winsys/xlib/xm_winsys.c b/src/gallium/winsys/xlib/xm_winsys.c index a70752428af..b14758f3336 100644 --- a/src/gallium/winsys/xlib/xm_winsys.c +++ b/src/gallium/winsys/xlib/xm_winsys.c @@ -489,7 +489,8 @@ xm_surface_alloc_storage(struct pipe_winsys *winsys, struct pipe_surface *surf, unsigned width, unsigned height, enum pipe_format format, - unsigned flags) + unsigned flags, + unsigned tex_usage) { const unsigned alignment = 64; diff --git a/src/gallium/winsys/xlib/xm_winsys_aub.c b/src/gallium/winsys/xlib/xm_winsys_aub.c index f42f7fcc5f1..77376099f0d 100644 --- a/src/gallium/winsys/xlib/xm_winsys_aub.c +++ b/src/gallium/winsys/xlib/xm_winsys_aub.c @@ -276,7 +276,8 @@ aub_i915_surface_alloc_storage(struct pipe_winsys *winsys, struct pipe_surface *surf, unsigned width, unsigned height, enum pipe_format format, - unsigned flags) + unsigned flags, + unsigned tex_usage) { const unsigned alignment = 64; |