2008-06-12 Emmanuele Bassi <ebassi@openedhand.com>
+ * doc/reference/cogl/Makefile.am: Ignore cogl/gl and cogl/gles
+ when building the documentation.
+
+ * clutter/cogl/cogl.h.in: Add sections in the header file.
+
+2008-06-12 Emmanuele Bassi <ebassi@openedhand.com>
+
* clutter/clutter-actor.c: Add more clarifications on the
size and position accessors and the distinction between
transformed and untransformed actor box inside the actor's
typedef struct _CoglTextureVertex CoglTextureVertex;
+/**
+ * SECTION:cogl
+ * @short_description: General purpose API
+ *
+ * General utility functions for COGL.
+ */
+
/* Context manipulation */
/**
* cogl_create_context:
*
+ * FIXME
*/
gboolean cogl_create_context (void);
/**
* cogl_destroy_context:
*
+ * FIXME
*/
void cogl_destroy_context (void);
/**
* COGL_INVALID_HANDLE:
*
- * A cogl handle that is not valid, used for unitialized handles as well as
+ * A COGL handle that is not valid, used for unitialized handles as well as
* error conditions.
*/
#define COGL_INVALID_HANDLE NULL
*/
void cogl_paint_init (const ClutterColor *color);
+/**
+ * SECTION:cogl-texture
+ * @short_description: Fuctions for creating and manipulating textures
+ *
+ * COGL allows creating and manipulating GL textures using a uniform
+ * API that tries to hide all the various complexities of creating,
+ * loading and manipulating textures.
+ */
+
/* Textures api */
/**
ClutterAngle arc_step);
/**
+ * SECTION:cogl-shaders
+ * @short_description: Fuctions for accessing the programmable GL pipeline
+ *
+ * COGL allows accessing the GL programmable pipeline in order to create
+ * vertex and fragment shaders.
+ *
+ * The only supported format is GLSL shaders.
+ */
+
+/**
* cogl_create_shader:
* @shader_type: CGL_VERTEX_SHADER or CGL_FRAGMENT_SHADER.
*
void cogl_program_uniform_1f (COGLint uniform_no,
gfloat value);
+/**
+ * SECTION:cogl-offscreen
+ * @short_description: Fuctions for creating and manipulating offscreen
+ * frame buffer objects
+ *
+ * COGL allows creating and operating on FBOs (Framebuffer Objects).
+ */
+
/* Offscreen api */
/**
*
* Returns:
*/
-CoglHandle cogl_offscreen_new_multisample(void);
+CoglHandle cogl_offscreen_new_multisample (void);
/**
* cogl_offscreen_ref: