summaryrefslogtreecommitdiffstats
path: root/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h
blob: 6a32929ce6deb0ce421eeb736f5c55cf8c57be85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
#define GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_

#include "third_party/skia/include/core/SkTypes.h"

struct GrGLInterface;

namespace skia_bindings {

// The GPU back-end for skia requires pointers to GL functions. This function
// returns a binding for skia-gpu to the cmd buffers GL.
GrGLInterface* CreateCommandBufferSkiaGLBinding();

}  // namespace skia

#endif  // GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_