gallium: comment/document usage flags

This commit is contained in:
Brian Paul 2010-02-24 08:59:49 -07:00
parent d1dc5b124e
commit 9f6990120a
1 changed files with 3 additions and 1 deletions

View File

@ -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,