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

Side by Side Diff: ui/gfx/gl/gl_bindings.h

Issue 8588059: Upstream: GL implementation on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // Includes the platform independent and platform dependent GL headers. 5 // Includes the platform independent and platform dependent GL headers.
6 // Only include this in cc files. It pulls in system headers, including 6 // Only include this in cc files. It pulls in system headers, including
7 // the X11 headers on linux, which define all kinds of macros that are 7 // the X11 headers on linux, which define all kinds of macros that are
8 // liable to cause conflicts. 8 // liable to cause conflicts.
9 9
10 #ifndef UI_GFX_GL_GL_BINDINGS_H_ 10 #ifndef UI_GFX_GL_GL_BINDINGS_H_
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 #include "gl_bindings_autogen_gl.h" 84 #include "gl_bindings_autogen_gl.h"
85 #include "gl_bindings_autogen_osmesa.h" 85 #include "gl_bindings_autogen_osmesa.h"
86 86
87 #if defined(OS_WIN) 87 #if defined(OS_WIN)
88 #include "gl_bindings_autogen_egl.h" 88 #include "gl_bindings_autogen_egl.h"
89 #include "gl_bindings_autogen_wgl.h" 89 #include "gl_bindings_autogen_wgl.h"
90 #elif defined(USE_X11) 90 #elif defined(USE_X11)
91 #include "gl_bindings_autogen_egl.h" 91 #include "gl_bindings_autogen_egl.h"
92 #include "gl_bindings_autogen_glx.h" 92 #include "gl_bindings_autogen_glx.h"
93 #elif defined(OS_ANDROID)
94 #include "gl_bindings_autogen_egl.h"
93 #endif 95 #endif
94 96
95 namespace gfx { 97 namespace gfx {
96 98
97 // Find an entry point to the mock GL implementation. 99 // Find an entry point to the mock GL implementation.
98 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); 100 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name);
99 101
100 } // namespace gfx 102 } // namespace gfx
101 103
102 #endif // UI_GFX_GL_GL_BINDINGS_H_ 104 #endif // UI_GFX_GL_GL_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698