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 #include "webkit/glue/webkit_glue_export.h" |
| 10 |
9 struct GrGLInterface; | 11 struct GrGLInterface; |
10 | 12 |
11 namespace webkit_glue { | 13 namespace webkit_glue { |
12 | 14 |
13 // The GPU back-end for skia requires pointers to GL functions. This function | 15 // The GPU back-end for skia requires pointers to GL functions. This function |
14 // returns a binding for skia-gpu to the cmd buffers GL. | 16 // returns a binding for skia-gpu to the cmd buffers GL. |
15 GrGLInterface* CreateCommandBufferSkiaGLBinding(); | 17 WEBKIT_GLUE_EXPORT GrGLInterface* CreateCommandBufferSkiaGLBinding(); |
16 | 18 |
17 } // namespace webkit_glue | 19 } // namespace webkit_glue |
18 | 20 |
19 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ | 21 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ |
20 | 22 |
OLD | NEW |