
| Data Fields | |
| struct pipe_buffer * | buffer | 
| surface's buffer/memory | |
| enum pipe_format | format | 
| PIPE_FORMAT_x. | |
| unsigned | status | 
| PIPE_SURFACE_STATUS_x. | |
| unsigned | clear_value | 
| XXX may be temporary. | |
| unsigned | width | 
| logical width in pixels | |
| unsigned | height | 
| logical height in pixels | |
| struct pipe_format_block | block | 
| unsigned | nblocksx | 
| allocated width in blocks | |
| unsigned | nblocksy | 
| allocated height in blocks | |
| unsigned | stride | 
| stride in bytes between rows of blocks | |
| unsigned | layout | 
| PIPE_SURFACE_LAYOUT_x. | |
| 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 | |
| unsigned | face | 
| unsigned | level | 
| unsigned | zslice | 
This is basically a view into a memory buffer. May be a renderbuffer, texture mipmap level, etc.
Definition at line 273 of file p_state.h.
| struct pipe_buffer* pipe_surface::buffer  [read] | 
| unsigned pipe_surface::status | 
| unsigned pipe_surface::clear_value | 
| unsigned pipe_surface::width | 
| unsigned pipe_surface::height | 
| struct pipe_format_block pipe_surface::block  [read] | 
| unsigned pipe_surface::nblocksx | 
| unsigned pipe_surface::nblocksy | 
| unsigned pipe_surface::stride | 
| unsigned pipe_surface::layout | 
| unsigned pipe_surface::offset | 
| unsigned pipe_surface::refcount | 
| unsigned pipe_surface::usage | 
| struct pipe_winsys* pipe_surface::winsys  [read] | 
| struct pipe_texture* pipe_surface::texture  [read] | 
| unsigned pipe_surface::face | 
| unsigned pipe_surface::level | 
| unsigned pipe_surface::zslice | 
 1.5.4
 1.5.4