mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
gallium: comment/document usage flags
This commit is contained in:
parent
d1dc5b124e
commit
9f6990120a
1 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue