summaryrefslogtreecommitdiffstats
path: root/webkit/glue/gl_bindings_skia_cmd_buffer.h
blob: 7edafbe22e543b23527675bb04c9fcd0deeba5c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_
#define WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_

#include "webkit/glue/webkit_glue_export.h"

struct GrGLInterface;

namespace webkit_glue {

// 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_GLUE_EXPORT GrGLInterface* CreateCommandBufferSkiaGLBinding();

}  // namespace webkit_glue

#endif  // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_