<!-- ##### SECTION Title ##### -->
General API

<!-- ##### SECTION Short_Description ##### -->


<!-- ##### SECTION Long_Description ##### -->
<para>

</para>


<!-- ##### SECTION See_Also ##### -->
<para>

</para>


<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### MACRO COGL_INVALID_HANDLE ##### -->
<para>

</para>



<!-- ##### TYPEDEF CoglHandle ##### -->
<para>

</para>


<!-- ##### FUNCTION cogl_handle_ref ##### -->
<para>

</para>

@handle: 
@Returns: 


<!-- ##### FUNCTION cogl_handle_unref ##### -->
<para>

</para>

@Handle: 


<!-- ##### USER_FUNCTION CoglFuncPtr ##### -->
<para>

</para>



<!-- ##### MACRO COGL_PIXEL_FORMAT_24 ##### -->
<para>

</para>



<!-- ##### MACRO COGL_PIXEL_FORMAT_32 ##### -->
<para>

</para>



<!-- ##### MACRO COGL_A_BIT ##### -->
<para>

</para>



<!-- ##### MACRO COGL_BGR_BIT ##### -->
<para>

</para>



<!-- ##### MACRO COGL_AFIRST_BIT ##### -->
<para>

</para>



<!-- ##### MACRO COGL_PREMULT_BIT ##### -->
<para>

</para>



<!-- ##### MACRO COGL_UNORDERED_MASK ##### -->
<para>

</para>



<!-- ##### MACRO COGL_UNPREMULT_MASK ##### -->
<para>

</para>



<!-- ##### ENUM CoglPixelFormat ##### -->
<para>

</para>

@COGL_PIXEL_FORMAT_ANY: 
@COGL_PIXEL_FORMAT_A_8: 
@COGL_PIXEL_FORMAT_RGB_565: 
@COGL_PIXEL_FORMAT_RGBA_4444: 
@COGL_PIXEL_FORMAT_RGBA_5551: 
@COGL_PIXEL_FORMAT_YUV: 
@COGL_PIXEL_FORMAT_G_8: 
@COGL_PIXEL_FORMAT_RGB_888: 
@COGL_PIXEL_FORMAT_BGR_888: 
@COGL_PIXEL_FORMAT_RGBA_8888: 
@COGL_PIXEL_FORMAT_BGRA_8888: 
@COGL_PIXEL_FORMAT_ARGB_8888: 
@COGL_PIXEL_FORMAT_ABGR_8888: 
@COGL_PIXEL_FORMAT_RGBA_8888_PRE: 
@COGL_PIXEL_FORMAT_BGRA_8888_PRE: 
@COGL_PIXEL_FORMAT_ARGB_8888_PRE: 
@COGL_PIXEL_FORMAT_ABGR_8888_PRE: 
@COGL_PIXEL_FORMAT_RGBA_4444_PRE: 
@COGL_PIXEL_FORMAT_RGBA_5551_PRE: 

<!-- ##### ENUM CoglBufferTarget ##### -->
<para>

</para>

@COGL_WINDOW_BUFFER: 
@COGL_OFFSCREEN_BUFFER: 

<!-- ##### ENUM CoglBufferBit ##### -->
<para>

</para>

@COGL_BUFFER_BIT_COLOR: 
@COGL_BUFFER_BIT_DEPTH: 
@COGL_BUFFER_BIT_STENCIL: 

<!-- ##### ENUM CoglAttributeType ##### -->
<para>

</para>

@COGL_ATTRIBUTE_TYPE_BYTE: 
@COGL_ATTRIBUTE_TYPE_UNSIGNED_BYTE: 
@COGL_ATTRIBUTE_TYPE_SHORT: 
@COGL_ATTRIBUTE_TYPE_UNSIGNED_SHORT: 
@COGL_ATTRIBUTE_TYPE_FLOAT: 

<!-- ##### ENUM CoglFeatureFlags ##### -->
<para>

</para>

@COGL_FEATURE_TEXTURE_RECTANGLE: 
@COGL_FEATURE_TEXTURE_NPOT: 
@COGL_FEATURE_TEXTURE_YUV: 
@COGL_FEATURE_TEXTURE_READ_PIXELS: 
@COGL_FEATURE_SHADERS_GLSL: 
@COGL_FEATURE_OFFSCREEN: 
@COGL_FEATURE_OFFSCREEN_MULTISAMPLE: 
@COGL_FEATURE_OFFSCREEN_BLIT: 
@COGL_FEATURE_FOUR_CLIP_PLANES: 
@COGL_FEATURE_STENCIL_BUFFER: 
@COGL_FEATURE_VBOS: 

<!-- ##### FUNCTION cogl_get_features ##### -->
<para>

</para>

@Returns: 


<!-- ##### FUNCTION cogl_features_available ##### -->
<para>

</para>

@features: 
@Returns: 


<!-- ##### FUNCTION cogl_check_extension ##### -->
<para>

</para>

@name: 
@ext: 
@Returns: 


<!-- ##### FUNCTION cogl_get_proc_address ##### -->
<para>

</para>

@name: 
@Returns: 


<!-- ##### FUNCTION cogl_get_option_group ##### -->
<para>

</para>

@Returns: 


<!-- ##### FUNCTION cogl_push_matrix ##### -->
<para>

</para>



<!-- ##### FUNCTION cogl_pop_matrix ##### -->
<para>

</para>



<!-- ##### FUNCTION cogl_scale ##### -->
<para>

</para>

@x: 
@y: 
@z: 


<!-- ##### FUNCTION cogl_translate ##### -->
<para>

</para>

@x: 
@y: 
@z: 


<!-- ##### FUNCTION cogl_rotate ##### -->
<para>

</para>

@angle: 
@x: 
@y: 
@z: 


<!-- ##### FUNCTION cogl_frustum ##### -->
<para>

</para>

@left: 
@right: 
@bottom: 
@top: 
@z_near: 
@z_far: 


<!-- ##### FUNCTION cogl_perspective ##### -->
<para>

</para>

@fovy: 
@aspect: 
@z_near: 
@z_far: 


<!-- ##### FUNCTION cogl_ortho ##### -->
<para>

</para>

@left: 
@right: 
@bottom: 
@top: 
@near: 
@far: 


<!-- ##### FUNCTION cogl_get_modelview_matrix ##### -->
<para>

</para>

@matrix: 


<!-- ##### FUNCTION cogl_set_modelview_matrix ##### -->
<para>

</para>

@matrix: 


<!-- ##### FUNCTION cogl_get_projection_matrix ##### -->
<para>

</para>

@matrix: 


<!-- ##### FUNCTION cogl_set_projection_matrix ##### -->
<para>

</para>

@matrix: 


<!-- ##### FUNCTION cogl_viewport ##### -->
<para>

</para>

@width: 
@height: 


<!-- ##### FUNCTION cogl_get_viewport ##### -->
<para>

</para>

@v: 


<!-- ##### FUNCTION cogl_clear ##### -->
<para>

</para>

@color: 
@buffers: 


<!-- ##### FUNCTION cogl_get_bitmasks ##### -->
<para>

</para>

@red: 
@green: 
@blue: 
@alpha: 


<!-- ##### FUNCTION cogl_set_depth_test_enabled ##### -->
<para>

</para>

@setting: 


<!-- ##### FUNCTION cogl_get_depth_test_enabled ##### -->
<para>

</para>

@Returns: 


<!-- ##### FUNCTION cogl_set_backface_culling_enabled ##### -->
<para>

</para>

@setting: 


<!-- ##### FUNCTION cogl_get_backface_culling_enabled ##### -->
<para>

</para>

@Returns: 


<!-- ##### ENUM CoglFogMode ##### -->
<para>

</para>

@COGL_FOG_MODE_LINEAR: 
@COGL_FOG_MODE_EXPONENTIAL: 
@COGL_FOG_MODE_EXPONENTIAL_SQUARED: 

<!-- ##### FUNCTION cogl_set_fog ##### -->
<para>

</para>

@fog_color: 
@mode: 
@density: 
@z_near: 
@z_far: 


<!-- ##### FUNCTION cogl_disable_fog ##### -->
<para>

</para>



<!-- ##### FUNCTION cogl_set_source ##### -->
<para>

</para>

@material: 


<!-- ##### FUNCTION cogl_set_source_color ##### -->
<para>

</para>

@color: 


<!-- ##### FUNCTION cogl_set_source_color4ub ##### -->
<para>

</para>

@red: 
@green: 
@blue: 
@alpha: 


<!-- ##### FUNCTION cogl_set_source_color4f ##### -->
<para>

</para>

@red: 
@green: 
@blue: 
@alpha: 


<!-- ##### FUNCTION cogl_set_source_texture ##### -->
<para>

</para>

@texture_handle: 


<!-- ##### ENUM CoglReadPixelsFlags ##### -->
<para>

</para>

@COGL_READ_PIXELS_COLOR_BUFFER: 

<!-- ##### FUNCTION cogl_read_pixels ##### -->
<para>

</para>

@x: 
@y: 
@width: 
@height: 
@source: 
@format: 
@pixels: 


<!-- ##### FUNCTION cogl_flush ##### -->
<para>

</para>



<!-- ##### FUNCTION cogl_begin_gl ##### -->
<para>

</para>



<!-- ##### FUNCTION cogl_end_gl ##### -->
<para>

</para>



