1
0
Fork 0
mutter-performance-source/cogl-pango
Neil Roberts df30641f0b cogl-pango-display-list: Use cogl_rectangles_with_texture_coords
Instead of storing four vertices per rectangle in the array for a
texture node in the display list, it now only stores two in a format
that is acceptable to cogl_rectangles_with_texture_coords. That way
it can pass the array directly to that function. That function has the
advantage over cogl_rectangle that it doesn't need to validate the
pipeline for every quad so it should be slightly faster.

When the texture node is being rendered with a CoglPrimitive we now
map the buffer and expand the rectangles into 4 vertices as the data
is copied.

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

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2011-08-11 14:50:28 +01: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 cogl-pango-display-list: Use cogl_rectangles_with_texture_coords 2011-08-11 14:50:28 +01:00
cogl-pango-display-list.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-fontmap.c Fix introspection annotations for CoglPango 2011-06-09 16:19:44 +01:00
cogl-pango-glyph-cache.c consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-glyph-cache.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-pipeline-cache.c consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +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 cogl-pango-render: Use the glyph size for unknown glyphs 2011-06-10 14:03:50 +01:00
cogl-pango.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango.pc.in consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
Makefile.am cogl-pango: prevent linking to system cogl during make install 2011-07-27 18:21:27 +01:00