summaryrefslogtreecommitdiffstats
path: root/webkit/glue/gl_bindings_skia_cmd_buffer.h
blob: a9ec8af0b4307dda1fe4c5d31c3600eaca2d7fda (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_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_
#define WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_
#pragma once

#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_