mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
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:
parent
cce5616edf
commit
3c4451cd84
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
24
cogl/cogl.h
24
cogl/cogl.h
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user