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; |
| 10 |
9 namespace webkit_glue { | 11 namespace webkit_glue { |
10 | 12 |
11 // 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 |
12 // binds skia-gpu to the cmd buffers GL. | 14 // binds skia-gpu to the cmd buffers GL. |
13 void BindSkiaToCommandBufferGL(); | 15 GrGLInterface* GetCommandBufferSkiaGLBinding(); |
14 | 16 |
15 } // namespace webkit_glue | 17 } // namespace webkit_glue |
16 | 18 |
17 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ | 19 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ |
18 | 20 |
OLD | NEW |