gallium: updated comments in p_screen.h
This commit is contained in:
@@ -87,7 +87,7 @@ struct pipe_screen {
|
|||||||
* Check if the given pipe_format is supported as a texture or
|
* Check if the given pipe_format is supported as a texture or
|
||||||
* drawing surface.
|
* drawing surface.
|
||||||
* \param tex_usage bitmask of PIPE_TEXTURE_USAGE_*
|
* \param tex_usage bitmask of PIPE_TEXTURE_USAGE_*
|
||||||
* \param flags bitmask of PIPE_TEXTURE_GEOM_*
|
* \param geom_flags bitmask of PIPE_TEXTURE_GEOM_*
|
||||||
*/
|
*/
|
||||||
boolean (*is_format_supported)( struct pipe_screen *,
|
boolean (*is_format_supported)( struct pipe_screen *,
|
||||||
enum pipe_format format,
|
enum pipe_format format,
|
||||||
@@ -144,8 +144,10 @@ struct pipe_screen {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Buffer management. Buffer attributes are mostly fixed over its lifetime.
|
* Create a new buffer.
|
||||||
*
|
* \param alignment buffer start address alignment in bytes
|
||||||
|
* \param usage bitmask of PIPE_BUFFER_USAGE_x
|
||||||
|
* \param size size in bytes
|
||||||
*/
|
*/
|
||||||
struct pipe_buffer *(*buffer_create)( struct pipe_screen *screen,
|
struct pipe_buffer *(*buffer_create)( struct pipe_screen *screen,
|
||||||
unsigned alignment,
|
unsigned alignment,
|
||||||
|
Reference in New Issue
Block a user