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

Side by Side Diff: app/gfx/gl/gl_implementation.h

Issue 2134006: Added EGL based GLContext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « app/gfx/gl/gl_context_win.cc ('k') | app/gfx/gl/gl_implementation_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_IMPLEMENTATION_H_
6 #define APP_GFX_GL_GL_IMPLEMENTATION_H_
7
8 namespace gfx {
9
10 // The GL implementation currently in use.
11 enum GLImplementation {
12 kGLImplementationNone,
13 kGLImplementationDesktopGL,
14 kGLImplementationOSMesaGL,
15 kGLImplementationEGLGLES2,
16 kGLImplementationMockGL
17 };
18
19 // Initialize a particular GL implementation.
20 bool InitializeGLBindings(GLImplementation implementation);
21
22 // Get the current GL implementation.
23 GLImplementation GetGLImplementation();
24
25 // Find an entry point in the current GL implementation.
26 void* GetGLProcAddress(const char* name);
27
28 } // namespace gfx
29
30 #endif // APP_GFX_GL_GL_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « app/gfx/gl/gl_context_win.cc ('k') | app/gfx/gl/gl_implementation_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698