projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd8e27
)
gallium: added comments to pipe_transfer
author
Brian Paul
<brianp@vmware.com>
Sat, 29 Jan 2011 03:25:27 +0000
(20:25 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 29 Jan 2011 03:25:27 +0000
(20:25 -0700)
src/gallium/include/pipe/p_state.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_state.h
b/src/gallium/include/pipe/p_state.h
index d5c767add60e884ba881026da03363f86914897f..574a7a801115f09061e67356078afbf2d25bcae3 100644
(file)
--- 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;
};