mutter/clutter/cogl/common
Robert Bragg 7d1876fd26 [cogl journal] Adds a --cogl-debug=batching option to trace batching
Enabling this option makes Cogl trace how the journal is managing to batch
your rectangles.  The journal staggers how it emmits state to the GL driver
and the batches will normally get smaller for each stage, but ideally you
don't want to be in a situation where Cogl is only able to draw one quad per
modelview change and draw call.

E.g. this is a fairly ideal example:
BATCHING: journal len = 101
BATCHING:  vbo offset batch len = 101
BATCHING:   material batch len = 101
BATCHING:    modelview batch len = 101

This isn't:
BATCHING: journal len = 1
BATCHING:  vbo offset batch len = 1
BATCHING:   material batch len = 1
BATCHING:    modelview batch len = 1
BATCHING: journal len = 1
BATCHING:  vbo offset batch len = 1
BATCHING:   material batch len = 1
BATCHING:    modelview batch len = 1
<repeat>
2009-06-30 17:13:36 +01:00
..
cogl-bitmap-fallback.c
cogl-bitmap-pixbuf.c
cogl-bitmap-private.h
cogl-bitmap.c
cogl-blend-string.c
cogl-blend-string.h
cogl-clip-stack.c
cogl-clip-stack.h
cogl-color.c [cogl-color] Adds a cogl_color_equal() function 2009-06-30 17:13:35 +01:00
cogl-current-matrix.c [cogl] Force Cogl to always use the client side matrix stack 2009-06-30 17:13:35 +01:00
cogl-current-matrix.h
cogl-debug.c [cogl journal] Adds a --cogl-debug=batching option to trace batching 2009-06-30 17:13:36 +01:00
cogl-enum-types.c.in
cogl-enum-types.h.in
cogl-fixed.c
cogl-handle.h
cogl-internal.h
cogl-material-private.h [cogl material] optimize logging of material colors in the journal 2009-06-30 17:13:35 +01:00
cogl-material.c [cogl material] optimize logging of material colors in the journal 2009-06-30 17:13:35 +01:00
cogl-matrix-stack.c
cogl-matrix-stack.h
cogl-matrix.c
cogl-primitives.c [cogl journal] Adds a --cogl-debug=batching option to trace batching 2009-06-30 17:13:36 +01:00
cogl-primitives.h
cogl-util.c
cogl-util.h
cogl-vertex-buffer-private.h
cogl-vertex-buffer.c
cogl.c [cogl] Adds a debug option for disabling use of VBOs --cogl-debug=disable-vbos 2009-06-30 17:13:35 +01:00
Makefile.am
stb_image.c