Index: include/gpu/GrTypesPriv.h |
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h |
index 39386f0140a7253fa0289172a5b09cfd4113b23a..bf8ea4906352ed9c98c2ed8e3cb37594337e47a6 100644 |
--- a/include/gpu/GrTypesPriv.h |
+++ b/include/gpu/GrTypesPriv.h |
@@ -406,22 +406,11 @@ |
enum GrBufferType { |
kVertex_GrBufferType, |
kIndex_GrBufferType, |
- kTexel_GrBufferType, |
- kDrawIndirect_GrBufferType, |
kXferCpuToGpu_GrBufferType, |
kXferGpuToCpu_GrBufferType, |
kLast_GrBufferType = kXferGpuToCpu_GrBufferType |
}; |
-static const int kGrBufferTypeCount = kLast_GrBufferType + 1; |
- |
-static inline bool GrBufferTypeIsVertexOrIndex(GrBufferType type) { |
- SkASSERT(type >= 0 && type < kGrBufferTypeCount); |
- return type <= kIndex_GrBufferType; |
- |
- GR_STATIC_ASSERT(0 == kVertex_GrBufferType); |
- GR_STATIC_ASSERT(1 == kIndex_GrBufferType); |
-} |
/** |
* Provides a performance hint regarding the frequency at which a data store will be accessed. |