aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private
diff options
context:
space:
mode:
Diffstat (limited to 'include/private')
-rw-r--r--include/private/GrTypesPriv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/private/GrTypesPriv.h b/include/private/GrTypesPriv.h
index 04a0111744..bb3fe503c9 100644
--- a/include/private/GrTypesPriv.h
+++ b/include/private/GrTypesPriv.h
@@ -762,6 +762,15 @@ enum class GpuPathRenderers {
kDefault = kAll & ~kCoverageCounting,
};
+/**
+ * Used to describe the current state of Mips on a GrTexture
+ */
+enum class GrMipMapsStatus {
+ kNotAllocated, // Mips have not been allocated
+ kDirty, // Mips are allocated but the full mip tree does not have valid data
+ kValid, // All levels fully allocated and have valid data in them
+};
+
GR_MAKE_BITFIELD_CLASS_OPS(GpuPathRenderers)
#endif