Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: app/gfx/gl/gl_bindings_skia.h

Issue 6677105: Redirect Skia/Ganesh GL calls to Mesa during the layout tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add GL mock functions. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/gfx/gl/generate_bindings.py ('k') | app/gfx/gl/gl_bindings_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/gfx/gl/gl_bindings_skia.h
===================================================================
--- app/gfx/gl/gl_bindings_skia.h (revision 0)
+++ app/gfx/gl/gl_bindings_skia.h (revision 0)
@@ -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 APP_GFX_GL_GL_BINDINGS_SKIA_H_
+#define APP_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
+// app/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 // APP_GFX_GL_GL_BINDINGS_SKIA_H_
Property changes on: app\gfx\gl\gl_bindings_skia.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « app/gfx/gl/generate_bindings.py ('k') | app/gfx/gl/gl_bindings_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698