mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
mesa: fix up vbo comments
This commit is contained in:
parent
488e67bab2
commit
fdce832437
1 changed files with 14 additions and 8 deletions
|
|
@ -57,7 +57,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
static void reset_attrfv( struct vbo_exec_context *exec );
|
||||
|
||||
|
||||
/* Close off the last primitive, execute the buffer, restart the
|
||||
/**
|
||||
* Close off the last primitive, execute the buffer, restart the
|
||||
* primitive.
|
||||
*/
|
||||
static void vbo_exec_wrap_buffers( struct vbo_exec_context *exec )
|
||||
|
|
@ -106,7 +107,8 @@ static void vbo_exec_wrap_buffers( struct vbo_exec_context *exec )
|
|||
}
|
||||
|
||||
|
||||
/* Deal with buffer wrapping where provoked by the vertex buffer
|
||||
/**
|
||||
* Deal with buffer wrapping where provoked by the vertex buffer
|
||||
* filling up, as opposed to upgrade_vertex().
|
||||
*/
|
||||
void vbo_exec_vtx_wrap( struct vbo_exec_context *exec )
|
||||
|
|
@ -135,7 +137,7 @@ void vbo_exec_vtx_wrap( struct vbo_exec_context *exec )
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* Copy the active vertex's values to the ctx->Current fields.
|
||||
*/
|
||||
static void vbo_exec_copy_to_current( struct vbo_exec_context *exec )
|
||||
|
|
@ -208,7 +210,8 @@ static void vbo_exec_copy_from_current( struct vbo_exec_context *exec )
|
|||
}
|
||||
|
||||
|
||||
/* Flush existing data, set new attrib size, replay copied vertices.
|
||||
/**
|
||||
* Flush existing data, set new attrib size, replay copied vertices.
|
||||
*/
|
||||
static void vbo_exec_wrap_upgrade_vertex( struct vbo_exec_context *exec,
|
||||
GLuint attr,
|
||||
|
|
@ -392,8 +395,7 @@ do { \
|
|||
|
||||
|
||||
#if FEATURE_evaluators
|
||||
/* Eval
|
||||
*/
|
||||
|
||||
static void GLAPIENTRY vbo_exec_EvalCoord1f( GLfloat u )
|
||||
{
|
||||
GET_CURRENT_CONTEXT( ctx );
|
||||
|
|
@ -492,8 +494,8 @@ static void GLAPIENTRY vbo_exec_EvalPoint2( GLint i, GLint j )
|
|||
#endif /* FEATURE_evaluators */
|
||||
|
||||
|
||||
/* Build a list of primitives on the fly. Keep
|
||||
* ctx->Driver.CurrentExecPrimitive uptodate as well.
|
||||
/**
|
||||
* Called via glBegin.
|
||||
*/
|
||||
static void GLAPIENTRY vbo_exec_Begin( GLenum mode )
|
||||
{
|
||||
|
|
@ -537,6 +539,10 @@ static void GLAPIENTRY vbo_exec_Begin( GLenum mode )
|
|||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called via glEnd.
|
||||
*/
|
||||
static void GLAPIENTRY vbo_exec_End( void )
|
||||
{
|
||||
GET_CURRENT_CONTEXT( ctx );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue