diff options
author | Keith Whitwell <[email protected]> | 2008-05-02 14:27:10 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-05-02 14:27:10 +0100 |
commit | 4a159132082429d5492f5298c2ccb0df551c9f65 (patch) | |
tree | d74304340ad0db28cb04e325a0664736b3a0ee64 /src/gallium/include/pipe/p_state.h | |
parent | 25d60838b5dfdbde54f19f26b41977fc25011474 (diff) |
gallium: remove usage of winsys->surface_alloc_storage from state tracker
Allocate a texture containing storage instead.
Also clean up ACCUM buffer allocation slightly -- drivers will need
some changes to texture allocation logic to accomodate the concept of
a texture that will only as image storage by the CPU, but it's cleaner
than it was.
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 47e57e2957c..277ee4b3190 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -299,6 +299,8 @@ struct pipe_texture unsigned cpp:8; unsigned last_level:8; /**< Index of last mipmap level present/defined */ unsigned compressed:1; + + unsigned usage; /* These are also refcounted: */ |