aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpuCommandBuffer.h
blob: 8925322d4a3decb0384f84b6811886d4fa8661de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* 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:
    // commented out to appease clang compiler warning about unused private field
   // GrGLGpu*                    fGpu;

    typedef GrGpuCommandBuffer INHERITED;
};

#endif