Index: include/gpu/GrTypes.h |
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h |
index c1b3554c6e008eb322d18838618a53cbeeb54495..1155d5cb70ec0479bafc67dbfbab46c55d2ed53f 100644 |
--- a/include/gpu/GrTypes.h |
+++ b/include/gpu/GrTypes.h |
@@ -620,6 +620,17 @@ enum GrGLBackendState { |
}; |
/** |
+ * The compressed texture formats that are supported |
+ */ |
+enum GrCompressedFormat { |
+ kUncompressed_GrCompressedFormat = -1, |
+ kETC1_GrCompressedFormat = 0, |
+ |
+ kLast_GrCompressedFormat = kETC1_GrCompressedFormat |
+}; |
+static const size_t kCompressedFormatCount = kLast_GrCompressedFormat + 1; |
+ |
+/** |
* This value translates to reseting all the context state for any backend. |
*/ |
static const uint32_t kAll_GrBackendState = 0xffffffff; |