glx: indent -br -i3 -npcs --no-tabs indirect_vertex_array_priv.h
This commit is contained in:
parent
9389aa3c0b
commit
1c916736b8
|
@ -43,11 +43,12 @@
|
|||
/**
|
||||
* State descriptor for a single array of vertex data.
|
||||
*/
|
||||
struct array_state {
|
||||
struct array_state
|
||||
{
|
||||
/**
|
||||
* Pointer to the application supplied data.
|
||||
*/
|
||||
const void * data;
|
||||
const void *data;
|
||||
|
||||
/**
|
||||
* Enum representing the type of the application supplied data.
|
||||
|
@ -130,11 +131,12 @@ struct array_state {
|
|||
* Array state that is pushed / poped by \c glPushClientAttrib and
|
||||
* \c glPopClientAttrib.
|
||||
*/
|
||||
struct array_stack_state {
|
||||
struct array_stack_state
|
||||
{
|
||||
/**
|
||||
* Pointer to the application supplied data.
|
||||
*/
|
||||
const void * data;
|
||||
const void *data;
|
||||
|
||||
/**
|
||||
* Enum representing the type of the application supplied data.
|
||||
|
@ -178,7 +180,8 @@ struct array_stack_state {
|
|||
/**
|
||||
* Collection of all the vertex array state.
|
||||
*/
|
||||
struct array_state_vector {
|
||||
struct array_state_vector
|
||||
{
|
||||
/**
|
||||
* Number of arrays tracked by \c ::arrays.
|
||||
*/
|
||||
|
@ -191,7 +194,7 @@ struct array_state_vector {
|
|||
* EXT_fog_coord, there won't be a GL_FOG_COORD_ARRAY entry in this
|
||||
* array.
|
||||
*/
|
||||
struct array_state * arrays;
|
||||
struct array_state *arrays;
|
||||
|
||||
/**
|
||||
* Number of currently enabled client-side arrays. The value of this
|
||||
|
@ -215,12 +218,12 @@ struct array_state_vector {
|
|||
* \c array_info_cache_buffer_size. \c array_info_cache_base stores a
|
||||
* pointer to the true start of the buffer (i.e., what malloc returned).
|
||||
*/
|
||||
/*@{*/
|
||||
/*@{ */
|
||||
size_t array_info_cache_size;
|
||||
size_t array_info_cache_buffer_size;
|
||||
void * array_info_cache;
|
||||
void * array_info_cache_base;
|
||||
/*@}*/
|
||||
void *array_info_cache;
|
||||
void *array_info_cache_base;
|
||||
/*@} */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -295,14 +298,14 @@ struct array_state_vector {
|
|||
* \todo
|
||||
* Write code to plug these functions directly into the dispatch table.
|
||||
*/
|
||||
/*@{*/
|
||||
void (*DrawArrays)( GLenum, GLint, GLsizei );
|
||||
void (*DrawElements)( GLenum mode, GLsizei count, GLenum type,
|
||||
const GLvoid *indices );
|
||||
/*@}*/
|
||||
/*@{ */
|
||||
void (*DrawArrays) (GLenum, GLint, GLsizei);
|
||||
void (*DrawElements) (GLenum mode, GLsizei count, GLenum type,
|
||||
const GLvoid * indices);
|
||||
/*@} */
|
||||
|
||||
struct array_stack_state * stack;
|
||||
unsigned active_texture_unit_stack[ __GL_CLIENT_ATTRIB_STACK_DEPTH ];
|
||||
struct array_stack_state *stack;
|
||||
unsigned active_texture_unit_stack[__GL_CLIENT_ATTRIB_STACK_DEPTH];
|
||||
unsigned stack_index;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue