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 APP_GFX_GL_GL_BINDINGS_SKIA_H_ | 5 #ifndef UI_GFX_GL_GL_BINDINGS_SKIA_H_ |
6 #define APP_GFX_GL_GL_BINDINGS_SKIA_H_ | 6 #define UI_GFX_GL_GL_BINDINGS_SKIA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace gfx { | 9 namespace gfx { |
10 | 10 |
11 // The GPU back-end for skia normally makes direct calls to GLES2\gl. Call | 11 // The GPU back-end for skia normally makes direct calls to GLES2\gl. Call |
12 // this routine to bind the skia GL implementation to that exported by the | 12 // this routine to bind the skia GL implementation to that exported by the |
13 // app/gfx/gl entry points. | 13 // ui/gfx/gl entry points. |
14 // Note: This override is required to allow the skia gl calls to be correctly | 14 // Note: This override is required to allow the skia gl calls to be correctly |
15 // routed around the command buffers during execution of the DumpRenderTree | 15 // routed around the command buffers during execution of the DumpRenderTree |
16 // layout tests. | 16 // layout tests. |
17 void BindSkiaToHostGL(); | 17 void BindSkiaToHostGL(); |
18 | 18 |
19 } | 19 } |
20 | 20 |
21 #endif // APP_GFX_GL_GL_BINDINGS_SKIA_H_ | 21 #endif // UI_GFX_GL_GL_BINDINGS_SKIA_H_ |
OLD | NEW |