+typedef unsigned TrimFlags;
+
+/**
+ * Trim flags
+ */
+enum {
+
+ /* Whether to trim calls that have no side effects. */
+ TRIM_FLAG_NO_SIDE_EFFECTS = (1 << 0),
+
+ /* Whether to trim calls to setup textures that are never used. */
+ TRIM_FLAG_TEXTURES = (1 << 1),
+
+ /* Whether to trim calls to setup shaders that are never used. */
+ TRIM_FLAG_SHADERS = (1 << 2),
+
+ /* Whether to trim drawing operations outside of the desired call-set. */
+ TRIM_FLAG_DRAWING = (1 << 3),
+};
+