pipe_surface Struct Reference

2D surface. More...

Collaboration diagram for pipe_surface:

Collaboration graph
[legend]

Data Fields

struct pipe_bufferbuffer
 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_winsyswinsys
 winsys which owns/created the surface
struct pipe_texturetexture
 optional texture into which this is a view
unsigned face
unsigned level
unsigned zslice

Detailed Description

2D surface.

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.


Field Documentation

struct pipe_buffer* pipe_surface::buffer [read]

surface's buffer/memory

Definition at line 275 of file p_state.h.

enum pipe_format pipe_surface::format

PIPE_FORMAT_x.

Definition at line 276 of file p_state.h.

unsigned pipe_surface::status

PIPE_SURFACE_STATUS_x.

Definition at line 277 of file p_state.h.

unsigned pipe_surface::clear_value

XXX may be temporary.

Definition at line 278 of file p_state.h.

unsigned pipe_surface::width

logical width in pixels

Definition at line 279 of file p_state.h.

unsigned pipe_surface::height

logical height in pixels

Definition at line 280 of file p_state.h.

struct pipe_format_block pipe_surface::block [read]

Definition at line 281 of file p_state.h.

unsigned pipe_surface::nblocksx

allocated width in blocks

Definition at line 282 of file p_state.h.

unsigned pipe_surface::nblocksy

allocated height in blocks

Definition at line 283 of file p_state.h.

unsigned pipe_surface::stride

stride in bytes between rows of blocks

Definition at line 284 of file p_state.h.

unsigned pipe_surface::layout

PIPE_SURFACE_LAYOUT_x.

Definition at line 285 of file p_state.h.

unsigned pipe_surface::offset

offset from start of buffer, in bytes

Definition at line 286 of file p_state.h.

unsigned pipe_surface::refcount

Definition at line 287 of file p_state.h.

unsigned pipe_surface::usage

PIPE_BUFFER_USAGE_*.

Definition at line 288 of file p_state.h.

struct pipe_winsys* pipe_surface::winsys [read]

winsys which owns/created the surface

Definition at line 290 of file p_state.h.

struct pipe_texture* pipe_surface::texture [read]

optional texture into which this is a view

Definition at line 292 of file p_state.h.

unsigned pipe_surface::face

Definition at line 293 of file p_state.h.

unsigned pipe_surface::level

Definition at line 294 of file p_state.h.

unsigned pipe_surface::zslice

Definition at line 295 of file p_state.h.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:04 2009 for Gallium3D by  doxygen 1.5.4