mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 19:30:12 +01:00
update comments
This commit is contained in:
parent
a5676795cf
commit
92c99bc51b
1 changed files with 6 additions and 17 deletions
|
|
@ -99,30 +99,24 @@ struct dd_function_table {
|
|||
|
||||
/**
|
||||
* Clear the color/depth/stencil/accum buffer(s).
|
||||
* \param mask a bitmask of BUFFER_BIT_* flags indicating which
|
||||
* renderbuffers need to be cleared.
|
||||
* \param buffers a bitmask of BUFFER_BIT_* flags indicating which
|
||||
* renderbuffers need to be cleared.
|
||||
*/
|
||||
void (*Clear)( GLcontext *ctx, GLbitfield buffers );
|
||||
|
||||
/**
|
||||
* \name For hardware accumulation buffer
|
||||
*/
|
||||
/*@{*/
|
||||
/**
|
||||
* Execute glAccum command.
|
||||
*/
|
||||
void (*Accum)( GLcontext *ctx, GLenum op, GLfloat value );
|
||||
/*@}*/
|
||||
|
||||
|
||||
/**
|
||||
* \name glDraw(), glRead(), glCopyPixels() and glBitmap() functions
|
||||
* \name Image-related functions
|
||||
*/
|
||||
/*@{*/
|
||||
|
||||
/**
|
||||
* This is called by glDrawPixels().
|
||||
*
|
||||
* Called by glDrawPixels().
|
||||
* \p unpack describes how to unpack the source image data.
|
||||
*/
|
||||
void (*DrawPixels)( GLcontext *ctx,
|
||||
|
|
@ -141,19 +135,14 @@ struct dd_function_table {
|
|||
GLvoid *dest );
|
||||
|
||||
/**
|
||||
* Do a glCopyPixels().
|
||||
*
|
||||
* This function must respect all rasterization state, glPixelTransfer(),
|
||||
* glPixelZoom(), etc.
|
||||
* Called by glCopyPixels().
|
||||
*/
|
||||
void (*CopyPixels)( GLcontext *ctx, GLint srcx, GLint srcy,
|
||||
GLsizei width, GLsizei height,
|
||||
GLint dstx, GLint dsty, GLenum type );
|
||||
|
||||
/**
|
||||
* This is called by glBitmap().
|
||||
*
|
||||
* Works the same as dd_function_table::DrawPixels, above.
|
||||
* Called by glBitmap().
|
||||
*/
|
||||
void (*Bitmap)( GLcontext *ctx,
|
||||
GLint x, GLint y, GLsizei width, GLsizei height,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue