summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-24 08:59:49 -0700
committerBrian Paul <[email protected]>2010-02-24 11:56:38 -0700
commit9f6990120ace5725e16ee2dd9a59da76fe1041cc (patch)
tree02a4c7628b89faa7457f5786fc2c732efbcea847 /src/gallium/include
parentd1dc5b124e133379be5bb57b68733c09c0e04f71 (diff)
gallium: comment/document usage flags
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_screen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
index 48625bf3127..e4a92228093 100644
--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -121,7 +121,9 @@ struct pipe_screen {
void (*texture_destroy)(struct pipe_texture *pt);
- /** Get a surface which is a "view" into a texture */
+ /** Get a 2D surface which is a "view" into a texture
+ * \param usage bitmaks of PIPE_BUFFER_USAGE_* read/write flags
+ */
struct pipe_surface *(*get_tex_surface)(struct pipe_screen *,
struct pipe_texture *texture,
unsigned face, unsigned level,