Fix WindowAndroid leak in Android WebView
[chromium-blink-merge.git] / ui / gl / gl_bindings_skia_in_process.h
blob23d54eecc22aee551ea18ef1d84c42789e720dd9
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_GL_GL_BINDINGS_SKIA_IN_PROCESS_H_
6 #define UI_GL_GL_BINDINGS_SKIA_IN_PROCESS_H_
8 #include "ui/gl/gl_export.h"
10 struct GrGLInterface;
12 namespace gfx {
14 // The GPU back-end for skia requires pointers to GL functions. This function
15 // creates a binding for skia-gpu to the in-process GL
16 GL_EXPORT GrGLInterface* CreateInProcessSkiaGLBinding();
18 } // namespace gfx
20 #endif // UI_GL_GL_BINDINGS_SKIA_IN_PROCESS_H_