summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_bindings_skia_in_process.h
blob: 23d54eecc22aee551ea18ef1d84c42789e720dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2012 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 UI_GL_GL_BINDINGS_SKIA_IN_PROCESS_H_
#define UI_GL_GL_BINDINGS_SKIA_IN_PROCESS_H_

#include "ui/gl/gl_export.h"

struct GrGLInterface;

namespace gfx {

// The GPU back-end for skia requires pointers to GL functions. This function
// creates a binding for skia-gpu to the in-process GL
GL_EXPORT GrGLInterface* CreateInProcessSkiaGLBinding();

}  // namespace gfx

#endif  // UI_GL_GL_BINDINGS_SKIA_IN_PROCESS_H_