Index: src/gpu/gl/GrGLGpuCommandBuffer.h |
diff --git a/src/gpu/gl/GrGLGpuCommandBuffer.h b/src/gpu/gl/GrGLGpuCommandBuffer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f844b5eb73694e1c521fc94ff46e5992f25c4c3b |
--- /dev/null |
+++ b/src/gpu/gl/GrGLGpuCommandBuffer.h |
@@ -0,0 +1,32 @@ |
+/* |
+* Copyright 2016 Google Inc. |
+* |
+* Use of this source code is governed by a BSD-style license that can be |
+* found in the LICENSE file. |
+*/ |
+ |
+#ifndef GrGLGpuCommandBuffer_DEFINED |
+#define GrGLGpuCommandBuffer_DEFINED |
+ |
+#include "GrGpuCommandBuffer.h" |
+ |
+class GrGLGpu; |
+ |
+class GrGLGpuCommandBuffer : public GrGpuCommandBuffer { |
+public: |
+ GrGLGpuCommandBuffer(GrGLGpu* gpu) : fGpu(gpu) {} |
+ |
+ virtual ~GrGLGpuCommandBuffer() {} |
+ |
+ void end() override {} |
+ |
+ void submit() override {} |
+ |
+private: |
+ GrGLGpu* fGpu; |
+ |
+ typedef GrGpuCommandBuffer INHERITED; |
+}; |
+ |
+#endif |
+ |