OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ | 5 #ifndef WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ |
6 #define WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ | 6 #define WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 struct GrGLInterface; | 9 struct GrGLInterface; |
10 | 10 |
11 namespace webkit_glue { | 11 namespace webkit_glue { |
12 | 12 |
13 // The GPU back-end for skia requires pointers to GL functions. This function | 13 // The GPU back-end for skia requires pointers to GL functions. This function |
14 // binds skia-gpu to the cmd buffers GL. | 14 // returns a binding for skia-gpu to the cmd buffers GL. |
15 GrGLInterface* GetCommandBufferSkiaGLBinding(); | 15 GrGLInterface* CreateCommandBufferSkiaGLBinding(); |
16 | 16 |
17 } // namespace webkit_glue | 17 } // namespace webkit_glue |
18 | 18 |
19 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ | 19 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ |
20 | 20 |
OLD | NEW |