diff options
author | Brian Paul <brianp@vmware.com> | 2011-01-28 20:25:27 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-01-28 20:25:27 -0700 |
commit | f9a36a496f874dd3ab20c0f2439a461f4b25dece (patch) | |
tree | 9e7823673b306a0edb0c7a56ddb6ad2df4b62ad7 /src/gallium/include/pipe | |
parent | 1dd8e2757852682af44b63193c89dff3c09c7703 (diff) |
gallium: added comments to pipe_transfer
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index d5c767add6..574a7a8011 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -390,11 +390,11 @@ struct pipe_stream_output_state struct pipe_transfer { struct pipe_resource *resource; /**< resource to transfer to/from */ - unsigned level; + unsigned level; /**< texture mipmap level */ enum pipe_transfer_usage usage; - struct pipe_box box; - unsigned stride; - unsigned layer_stride; + struct pipe_box box; /**< region of the resource to access */ + unsigned stride; /**< row stride in bytes */ + unsigned layer_stride; /**< image/layer stride in bytes */ void *data; }; |