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 dc09fca264
commit 3daafd4711
3 changed files with 20 additions and 20 deletions

View File

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

View File

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

View File

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