diff options
Diffstat (limited to 'ui/gfx/gl/gl_bindings_skia.h')
-rw-r--r-- | ui/gfx/gl/gl_bindings_skia.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ui/gfx/gl/gl_bindings_skia.h b/ui/gfx/gl/gl_bindings_skia.h new file mode 100644 index 0000000..4433c73 --- /dev/null +++ b/ui/gfx/gl/gl_bindings_skia.h @@ -0,0 +1,21 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef UI_GFX_GL_GL_BINDINGS_SKIA_H_ +#define UI_GFX_GL_GL_BINDINGS_SKIA_H_ +#pragma once + +namespace gfx { + +// The GPU back-end for skia normally makes direct calls to GLES2\gl. Call +// this routine to bind the skia GL implementation to that exported by the +// ui/gfx/gl entry points. +// Note: This override is required to allow the skia gl calls to be correctly +// routed around the command buffers during execution of the DumpRenderTree +// layout tests. +void BindSkiaToHostGL(); + +} + +#endif // UI_GFX_GL_GL_BINDINGS_SKIA_H_ |