diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-15 14:18:17 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-15 14:18:17 -0700 |
commit | dd5a8d234b95c6f85d0a6ecb18db8aadefb71dbd (patch) | |
tree | dee2fa92eafe9c8841832a70e5fd22678c90b3df /src/mesa/pipe/p_state.h | |
parent | d280206c7f74c6c0fc22798b5945db3bf369364e (diff) |
Add surface status/clear_value fields, PIPE_SURFACE_STATUS_x tokens
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r-- | src/mesa/pipe/p_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h index ccd2a5f9e2..46328d2a8f 100644 --- a/src/mesa/pipe/p_state.h +++ b/src/mesa/pipe/p_state.h @@ -243,6 +243,8 @@ struct pipe_surface { struct pipe_buffer_handle *buffer; /**< driver private buffer handle */ enum pipe_format format; /**< PIPE_FORMAT_x */ + unsigned status; /**< PIPE_SURFACE_STATUS_x */ + unsigned clear_value; /**< may be temporary */ unsigned cpp; /**< bytes per pixel */ unsigned width, height; unsigned pitch; /**< in pixels */ |