summaryrefslogtreecommitdiffstats
path: root/webkit/glue/gl_bindings_skia_cmd_buffer.h
diff options
context:
space:
mode:
authorbsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 17:21:39 +0000
committerbsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 17:21:39 +0000
commit4ca1a669c58326d586e35b4d43e9e97626edf0a6 (patch)
tree8f727d1da26c10b1884da118044a23910bd1ab87 /webkit/glue/gl_bindings_skia_cmd_buffer.h
parent8cc85fcb137d43a8221aed3bcd8b9e7da1e640a4 (diff)
downloadchromium_src-4ca1a669c58326d586e35b4d43e9e97626edf0a6.zip
chromium_src-4ca1a669c58326d586e35b4d43e9e97626edf0a6.tar.gz
chromium_src-4ca1a669c58326d586e35b4d43e9e97626edf0a6.tar.bz2
Roll Skia
Setup pointers to cmd buffer GLES2 interface in Ganesh Review URL: http://codereview.chromium.org/6691042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/gl_bindings_skia_cmd_buffer.h')
-rw-r--r--webkit/glue/gl_bindings_skia_cmd_buffer.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/webkit/glue/gl_bindings_skia_cmd_buffer.h b/webkit/glue/gl_bindings_skia_cmd_buffer.h
new file mode 100644
index 0000000..206e4f9
--- /dev/null
+++ b/webkit/glue/gl_bindings_skia_cmd_buffer.h
@@ -0,0 +1,18 @@
+// 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
+
+namespace webkit_glue {
+
+// The GPU back-end for skia requires pointers to GL functions. This function
+// binds skia-gpu to the cmd buffers GL.
+void BindSkiaToCommandBufferGL();
+
+} // namespace webkit_glue
+
+#endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_
+