mutter/cogl-pango
Robert Bragg 8cf76ee36b primitive: Add n_indices arg to _set_indices function
When associating indices with a CoglPrimitive you are now forced to
specify the number of indices that should be read when drawing.

It's easy to forget to call cogl_primitive_set_n_vertices() after
associating indices with a primitive (and anyway you can see that someone
could be led to believe Cogl can determine that implicitly somewhow) so
this should avoid a lot of mistakes with using the API.

We'd expect that setting indices and updating the n_vertices property
would go hand in hand 99% of the time anyway so this change should
be more convenient as well as less error prone.

This patch adds some documentation for cogl_primitive_set_indices and
cogl_primitive_get/set_n_vertices. It also tries to clarify how the
CoglPrimitive:n_vertices property is updated and what that property
means in relation to other functions too.

https://bugzilla.gnome.org/show_bug.cgi?id=661019

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2011-11-01 12:03:03 +00:00
..
cogl-pango-1.0.pc.in build: Don't make cogl-pango-1.0 depend on cogl-2.0 2011-05-06 17:34:57 +01:00
cogl-pango-2.0-experimental.pc.in Make it clearer that the 2.0 API is experimental 2011-06-14 17:09:55 +01:00
cogl-pango-display-list.c primitive: Add n_indices arg to _set_indices function 2011-11-01 12:03:03 +00:00
cogl-pango-display-list.h Add a strong CoglTexture type to replace CoglHandle 2011-09-21 15:27:03 +01:00
cogl-pango-fontmap.c Fix introspection annotations for CoglPango 2011-06-09 16:19:44 +01:00
cogl-pango-glyph-cache.c Add a strong CoglTexture type to replace CoglHandle 2011-09-21 15:27:03 +01:00
cogl-pango-glyph-cache.h Add a strong CoglTexture type to replace CoglHandle 2011-09-21 15:27:03 +01:00
cogl-pango-pipeline-cache.c Add a strong CoglTexture type to replace CoglHandle 2011-09-21 15:27:03 +01:00
cogl-pango-pipeline-cache.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-private.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-render.c meta-texture: This publicly exposes CoglMetaTexture 2011-11-01 12:03:01 +00:00
cogl-pango.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango.pc.in build: only have libcogl-pango depend on pango 2011-08-12 15:28:42 +01:00
Makefile.am Add an option to avoid defining G_DISABLE_DEPRECATED 2011-09-27 10:27:19 +01:00