2008-06-12 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Thu, 12 Jun 2008 17:21:16 +0000 (17:21 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Thu, 12 Jun 2008 17:21:16 +0000 (17:21 +0000)
* 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.

ChangeLog
clutter/cogl/cogl.h.in
doc/reference/cogl/Makefile.am

index f557188..5685eb6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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
index 3e2e720..8653805 100644 (file)
@@ -217,17 +217,26 @@ struct _CoglTextureVertex
 
 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);
 
@@ -235,7 +244,7 @@ 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
@@ -555,6 +564,15 @@ void            cogl_fog_set                  (const ClutterColor *fog_color,
  */
 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 */
 
 /**
@@ -1211,6 +1229,16 @@ void            cogl_path_round_rectangle     (ClutterFixed        x,
                                                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.
  *
@@ -1396,6 +1424,14 @@ COGLint         cogl_program_get_uniform_location
 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 */
 
 /**
@@ -1412,7 +1448,7 @@ CoglHandle      cogl_offscreen_new_to_texture (CoglHandle         texhandle);
  *
  * Returns:
  */
-CoglHandle      cogl_offscreen_new_multisample(void);
+CoglHandle      cogl_offscreen_new_multisample (void);
 
 /**
  * cogl_offscreen_ref:
index aee9282..51e51dc 100644 (file)
@@ -59,7 +59,9 @@ IGNORE_HFILES=\
        cogl-defines.h \
        cogl-internal.h \
        cogl-primitives.h \
-       cogl-texture.h
+       cogl-texture.h \
+       gl \
+       gles
 
 EXTRA_HFILES=