blob: 39b4e4e74c7b67b4939c8a8bce2474ea31c25193 [file] [log] [blame]
// 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_COMMON_GPU_GL_BINDINGS_SKIA_CMD_BUFFER_H_
#define WEBKIT_COMMON_GPU_GL_BINDINGS_SKIA_CMD_BUFFER_H_
#include "webkit/common/gpu/webkit_gpu_export.h"
struct GrGLInterface;
namespace webkit {
namespace gpu {
// 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_GPU_EXPORT GrGLInterface* CreateCommandBufferSkiaGLBinding();
} // namespace gpu
} // namespace webkit
#endif // WEBKIT_COMMON_GPU_GL_BINDINGS_SKIA_CMD_BUFFER_H_