Reland 189a2ed4d209231d517b0e64a722722dead3f17a Fixes HasEventListener check in Exten...
[chromium-blink-merge.git] / gpu / skia_bindings / gl_bindings_skia_cmd_buffer.h
blob6a32929ce6deb0ce421eeb736f5c55cf8c57be85
1 // Copyright 2013 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 GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
6 #define GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
8 #include "third_party/skia/include/core/SkTypes.h"
10 struct GrGLInterface;
12 namespace skia_bindings {
14 // The GPU back-end for skia requires pointers to GL functions. This function
15 // returns a binding for skia-gpu to the cmd buffers GL.
16 GrGLInterface* CreateCommandBufferSkiaGLBinding();
18 } // namespace skia
20 #endif // GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_