mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
cogl-buffer-private.h: cleanup up the coding style
This file was following the Clutter coding style of arranging prototypes into columns which Cogl doesn't copy.
This commit is contained in:
parent
521d9ca203
commit
a46cc22c1b
@ -22,6 +22,7 @@
|
|||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
* Damien Lespiau <damien.lespiau@intel.com>
|
* Damien Lespiau <damien.lespiau@intel.com>
|
||||||
|
* Robert Bragg <robert@linux.intel.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __COGL_BUFFER_PRIVATE_H__
|
#ifndef __COGL_BUFFER_PRIVATE_H__
|
||||||
@ -102,20 +103,27 @@ _cogl_buffer_register_buffer_type (GQuark type);
|
|||||||
_cogl_buffer_register_buffer_type (_cogl_object_ \
|
_cogl_buffer_register_buffer_type (_cogl_object_ \
|
||||||
## type_name ## _get_type ()))
|
## type_name ## _get_type ()))
|
||||||
|
|
||||||
|
void
|
||||||
void _cogl_buffer_initialize (CoglBuffer *buffer,
|
_cogl_buffer_initialize (CoglBuffer *buffer,
|
||||||
unsigned int size,
|
unsigned int size,
|
||||||
CoglBufferUsageHint usage_hint,
|
CoglBufferUsageHint usage_hint,
|
||||||
CoglBufferUpdateHint update_hint);
|
CoglBufferUpdateHint update_hint);
|
||||||
void _cogl_buffer_fini (CoglBuffer *buffer);
|
|
||||||
|
void
|
||||||
|
_cogl_buffer_fini (CoglBuffer *buffer);
|
||||||
|
|
||||||
|
void
|
||||||
|
_cogl_buffer_bind (CoglBuffer *buffer,
|
||||||
|
GLenum target);
|
||||||
|
|
||||||
CoglBufferUsageHint
|
CoglBufferUsageHint
|
||||||
_cogl_buffer_get_usage_hint (CoglBuffer *buffer);
|
_cogl_buffer_get_usage_hint (CoglBuffer *buffer);
|
||||||
|
|
||||||
void _cogl_buffer_bind (CoglBuffer *buffer,
|
GLenum
|
||||||
GLenum target);
|
_cogl_buffer_access_to_gl_enum (CoglBufferAccess access);
|
||||||
GLenum _cogl_buffer_access_to_gl_enum (CoglBufferAccess access);
|
|
||||||
GLenum _cogl_buffer_hints_to_gl_enum (CoglBufferUsageHint usage_hint,
|
GLenum
|
||||||
|
_cogl_buffer_hints_to_gl_enum (CoglBufferUsageHint usage_hint,
|
||||||
CoglBufferUpdateHint update_hint);
|
CoglBufferUpdateHint update_hint);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Loading…
Reference in New Issue
Block a user