Index: src/gpu/gl/GrGLBufferImpl.h |
diff --git a/src/gpu/gl/GrGLBufferImpl.h b/src/gpu/gl/GrGLBufferImpl.h |
index ef7ce9554106ff15079757562d25d99ef02428ad..15d2f48efe44ea82d2d1d48907585666cd2e34cb 100644 |
--- a/src/gpu/gl/GrGLBufferImpl.h |
+++ b/src/gpu/gl/GrGLBufferImpl.h |
@@ -19,20 +19,10 @@ |
*/ |
class GrGLBufferImpl : SkNoncopyable { |
public: |
- enum Usage { |
- kStaticDraw_Usage = 0, |
- kDynamicDraw_Usage, |
- kStreamDraw_Usage, |
- kStreamRead_Usage, |
- |
- kLast_Usage = kStreamRead_Usage |
- }; |
- static const int kUsageCount = kLast_Usage + 1; |
- |
struct Desc { |
GrGLuint fID; // set to 0 to indicate buffer is CPU-backed and not a VBO. |
size_t fSizeInBytes; |
- Usage fUsage; |
+ bool fDynamic; |
}; |
GrGLBufferImpl(GrGLGpu*, const Desc&, GrGLenum bufferType); |