From: Brian Paul Date: Wed, 24 Feb 2010 15:59:49 +0000 (-0700) Subject: gallium: comment/document usage flags X-Git-Tag: mesa-7.8~496 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f6990120ace5725e16ee2dd9a59da76fe1041cc;p=platform%2Fupstream%2Fmesa.git gallium: comment/document usage flags --- diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index 48625bf..e4a9222 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,