cogl: Hide cogl_framebuffer_get_*_bits()

These accessors should be private, for the time being.

http://bugzilla.openedhand.com/show_bug.cgi?id=2094
This commit is contained in:
Emmanuele Bassi 2010-05-26 16:31:18 +01:00 committed by Robert Bragg
parent cce5616edf
commit 3c4451cd84
3 changed files with 20 additions and 20 deletions

View File

@ -729,7 +729,7 @@ _cogl_framebuffer_flush_state (CoglHandle handle,
} }
int int
cogl_framebuffer_get_red_bits (CoglHandle framebuffer) _cogl_framebuffer_get_red_bits (CoglHandle framebuffer)
{ {
CoglFramebuffer *fb = COGL_FRAMEBUFFER (framebuffer); CoglFramebuffer *fb = COGL_FRAMEBUFFER (framebuffer);
@ -739,7 +739,7 @@ cogl_framebuffer_get_red_bits (CoglHandle framebuffer)
} }
int int
cogl_framebuffer_get_green_bits (CoglHandle framebuffer) _cogl_framebuffer_get_green_bits (CoglHandle framebuffer)
{ {
CoglFramebuffer *fb = COGL_FRAMEBUFFER (framebuffer); CoglFramebuffer *fb = COGL_FRAMEBUFFER (framebuffer);
@ -749,7 +749,7 @@ cogl_framebuffer_get_green_bits (CoglHandle framebuffer)
} }
int int
cogl_framebuffer_get_blue_bits (CoglHandle framebuffer) _cogl_framebuffer_get_blue_bits (CoglHandle framebuffer)
{ {
CoglFramebuffer *fb = COGL_FRAMEBUFFER (framebuffer); CoglFramebuffer *fb = COGL_FRAMEBUFFER (framebuffer);
@ -759,7 +759,7 @@ cogl_framebuffer_get_blue_bits (CoglHandle framebuffer)
} }
int int
cogl_framebuffer_get_alpha_bits (CoglHandle framebuffer) _cogl_framebuffer_get_alpha_bits (CoglHandle framebuffer)
{ {
CoglFramebuffer *fb = COGL_FRAMEBUFFER (framebuffer); CoglFramebuffer *fb = COGL_FRAMEBUFFER (framebuffer);

View File

@ -555,16 +555,16 @@ cogl_get_bitmasks (int *red,
framebuffer = _cogl_get_framebuffer (); framebuffer = _cogl_get_framebuffer ();
if (red) if (red)
*red = cogl_framebuffer_get_red_bits (framebuffer); *red = _cogl_framebuffer_get_red_bits (framebuffer);
if (green) if (green)
*green = cogl_framebuffer_get_green_bits (framebuffer); *green = _cogl_framebuffer_get_green_bits (framebuffer);
if (blue) if (blue)
*blue = cogl_framebuffer_get_blue_bits (framebuffer); *blue = _cogl_framebuffer_get_blue_bits (framebuffer);
if (alpha) if (alpha)
*alpha = cogl_framebuffer_get_alpha_bits (framebuffer); *alpha = _cogl_framebuffer_get_alpha_bits (framebuffer);
} }
void void

View File

@ -162,8 +162,8 @@ cogl_get_bitmasks (int *red,
int *blue, int *blue,
int *alpha); int *alpha);
/** /*
* cogl_framebuffer_get_red_bits: * _cogl_framebuffer_get_red_bits:
* @framebuffer: a handle for a framebuffer * @framebuffer: a handle for a framebuffer
* *
* Retrieves the number of red bits of @framebuffer * Retrieves the number of red bits of @framebuffer
@ -173,10 +173,10 @@ cogl_get_bitmasks (int *red,
* Since: 1.4 * Since: 1.4
*/ */
int int
cogl_framebuffer_get_red_bits (CoglHandle framebuffer); _cogl_framebuffer_get_red_bits (CoglHandle framebuffer);
/** /*
* cogl_framebuffer_get_green_bits: * _cogl_framebuffer_get_green_bits:
* @framebuffer: a handle for a framebuffer * @framebuffer: a handle for a framebuffer
* *
* Retrieves the number of green bits of @framebuffer * Retrieves the number of green bits of @framebuffer
@ -186,10 +186,10 @@ cogl_framebuffer_get_red_bits (CoglHandle framebuffer);
* Since: 1.4 * Since: 1.4
*/ */
int int
cogl_framebuffer_get_green_bits (CoglHandle framebuffer); _cogl_framebuffer_get_green_bits (CoglHandle framebuffer);
/** /*
* cogl_framebuffer_get_blue_bits: * _cogl_framebuffer_get_blue_bits:
* @framebuffer: a handle for a framebuffer * @framebuffer: a handle for a framebuffer
* *
* Retrieves the number of blue bits of @framebuffer * Retrieves the number of blue bits of @framebuffer
@ -199,10 +199,10 @@ cogl_framebuffer_get_green_bits (CoglHandle framebuffer);
* Since: 1.4 * Since: 1.4
*/ */
int int
cogl_framebuffer_get_blue_bits (CoglHandle framebuffer); _cogl_framebuffer_get_blue_bits (CoglHandle framebuffer);
/** /*
* cogl_framebuffer_get_alpha_bits: * _cogl_framebuffer_get_alpha_bits:
* @framebuffer: a handle for a framebuffer * @framebuffer: a handle for a framebuffer
* *
* Retrieves the number of alpha bits of @framebuffer * Retrieves the number of alpha bits of @framebuffer
@ -212,7 +212,7 @@ cogl_framebuffer_get_blue_bits (CoglHandle framebuffer);
* Since: 1.4 * Since: 1.4
*/ */
int int
cogl_framebuffer_get_alpha_bits (CoglHandle framebuffer); _cogl_framebuffer_get_alpha_bits (CoglHandle framebuffer);
/** /**
* cogl_perspective: * cogl_perspective: