| 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_GPU_GL_BINDINGS_SKIA_CMD_BUFFER_H_ |
| 6 #define WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ | 6 #define WEBKIT_GPU_GL_BINDINGS_SKIA_CMD_BUFFER_H_ |
| 7 | 7 |
| 8 #include "webkit/glue/webkit_glue_export.h" | 8 #include "webkit/gpu/webkit_gpu_export.h" |
| 9 | 9 |
| 10 struct GrGLInterface; | 10 struct GrGLInterface; |
| 11 | 11 |
| 12 namespace webkit_glue { | 12 namespace webkit { |
| 13 namespace gpu { |
| 13 | 14 |
| 14 // 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 |
| 15 // returns a binding for skia-gpu to the cmd buffers GL. | 16 // returns a binding for skia-gpu to the cmd buffers GL. |
| 16 WEBKIT_GLUE_EXPORT GrGLInterface* CreateCommandBufferSkiaGLBinding(); | 17 WEBKIT_GPU_EXPORT GrGLInterface* CreateCommandBufferSkiaGLBinding(); |
| 17 | 18 |
| 18 } // namespace webkit_glue | 19 } // namespace gpu |
| 20 } // namespace webkit |
| 19 | 21 |
| 20 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ | 22 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ |
| 21 | |
| OLD | NEW |