bugle-stats_primitives — gather triangle and batch counts
stats_primitives filter-set provides
signals for the number of triangles and batches to other
filter-sets. It must be listed in a chain that uses any statistics
related to triangle or batch counts.
Display lists that call other display lists are not handled correctly, and if these secondary lists make any draw calls they will not be included in statistics.
Use of the GL_NV_primitive_restart extension will yield incorrect results.