OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2016 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef GrGLGpuCommandBuffer_DEFINED |
| 9 #define GrGLGpuCommandBuffer_DEFINED |
| 10 |
| 11 #include "GrGpuCommandBuffer.h" |
| 12 |
| 13 class GrGLGpu; |
| 14 |
| 15 class GrGLGpuCommandBuffer : public GrGpuCommandBuffer { |
| 16 public: |
| 17 GrGLGpuCommandBuffer(GrGLGpu* gpu) /*: fGpu(gpu)*/ {} |
| 18 |
| 19 virtual ~GrGLGpuCommandBuffer() {} |
| 20 |
| 21 void end() override {} |
| 22 |
| 23 void submit() override {} |
| 24 |
| 25 private: |
| 26 // commented out to appease clang compiler warning about unused private fiel
d |
| 27 // GrGLGpu* fGpu; |
| 28 |
| 29 typedef GrGpuCommandBuffer INHERITED; |
| 30 }; |
| 31 |
| 32 #endif |
| 33 |
OLD | NEW |