OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef APP_GFX_GL_GL_BINDINGS_SKIA_H_ | |
6 #define APP_GFX_GL_GL_BINDINGS_SKIA_H_ | |
7 #pragma once | |
8 | |
9 namespace gfx { | |
10 | |
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 | |
13 // app/gfx/gl entry points. | |
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 | |
16 // layout tests. | |
17 void BindSkiaToHostGL(); | |
18 | |
19 } | |
20 | |
21 #endif // APP_GFX_GL_GL_BINDINGS_SKIA_H_ | |
OLD | NEW |