mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Give buffer/bitmap bind functions gl infix
The buffer and bitmap _bind() functions are GL specific so to clarify that, this patch adds a _gl infix to these functions, though it doesn't yet move the implementations out into gl specific files. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 6371fbb9637d88ff187dfb6c4bcd18468ba44d19)
This commit is contained in:
@ -123,12 +123,14 @@ _cogl_buffer_initialize (CoglBuffer *buffer,
|
||||
void
|
||||
_cogl_buffer_fini (CoglBuffer *buffer);
|
||||
|
||||
/* TODO: split these GL specific bind and unbind functions out into
|
||||
* some GL specific file. */
|
||||
void *
|
||||
_cogl_buffer_bind (CoglBuffer *buffer,
|
||||
CoglBufferBindTarget target);
|
||||
_cogl_buffer_gl_bind (CoglBuffer *buffer,
|
||||
CoglBufferBindTarget target);
|
||||
|
||||
void
|
||||
_cogl_buffer_unbind (CoglBuffer *buffer);
|
||||
_cogl_buffer_gl_unbind (CoglBuffer *buffer);
|
||||
|
||||
CoglBufferUsageHint
|
||||
_cogl_buffer_get_usage_hint (CoglBuffer *buffer);
|
||||
|
Reference in New Issue
Block a user