From: Brian Paul Date: Sat, 29 Jan 2011 03:25:27 +0000 (-0700) Subject: gallium: added comments to pipe_transfer X-Git-Tag: android-x86-2.2-r2~1033 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f9a36a496f874dd3ab20c0f2439a461f4b25dece;p=android-x86%2Fexternal-mesa.git gallium: added comments to pipe_transfer --- diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index d5c767add60..574a7a80111 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; };