+typedef enum
+{
+ METRICS_OP_ACCUM,
+ METRICS_OP_BUFFER_DATA,
+ METRICS_OP_BUFFER_SUB_DATA,
+ METRICS_OP_BITMAP,
+ METRICS_OP_BLIT_FRAMEBUFFER,
+ METRICS_OP_CLEAR,
+ METRICS_OP_CLEAR_BUFFER_DATA,
+ METRICS_OP_CLEAR_TEX_IMAGE,
+ METRICS_OP_COPY_PIXELS,
+ METRICS_OP_COPY_TEX_IMAGE,
+ METRICS_OP_DRAW_PIXELS,
+ METRICS_OP_GET_TEX_IMAGE,
+ METRICS_OP_READ_PIXELS,
+ METRICS_OP_TEX_IMAGE,
+
+ /* METRICS_OP_SHADER must be last.
+ *
+ * All larger values for metrics_op_t are interpreted as:
+ *
+ * METRICS_OP_SHADER + shader_program_number
+ *
+ * to indicate a specific shader program.
+ */
+ METRICS_OP_SHADER
+} metrics_op_t;
+
+/* Initialize metrics info