diff options
author | Keith Whitwell <[email protected]> | 2008-05-01 11:07:21 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-05-01 12:00:45 +0100 |
commit | c9ed86a96483063f3d6789ed16645a3dca77d726 (patch) | |
tree | 136ac2158534366c0ca77af7fa4b257155a21f7a /src/gallium/include/pipe/p_state.h | |
parent | 7584bcf3f746573fc379c7748acc0be96a3db7de (diff) |
gallium: tex surface checkpoint
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 912d84e7b99..62b05a403b3 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -273,7 +273,11 @@ struct pipe_surface unsigned pitch; /**< in pixels */ unsigned offset; /**< offset from start of buffer, in bytes */ unsigned refcount; + unsigned usage; /**< PIPE_BUFFER_USAGE_* */ + struct pipe_winsys *winsys; /**< winsys which owns/created the surface */ + + struct pipe_texture *texture; /**< optional texture into which this is a view */ }; |