summaryrefslogtreecommitdiffstats
path: root/webkit/gpu/gl_bindings_skia_cmd_buffer.h
blob: 9ace2c196784053ed286f6aaaea115fa091774bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2011 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 WEBKIT_GPU_GL_BINDINGS_SKIA_CMD_BUFFER_H_
#define WEBKIT_GPU_GL_BINDINGS_SKIA_CMD_BUFFER_H_

#include "webkit/gpu/webkit_gpu_export.h"

struct GrGLInterface;

namespace webkit {
namespace gpu {

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

}  // namespace gpu
}  // namespace webkit

#endif  // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_