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

Side by Side Diff: ui/gl/gl_version_info.h

Issue 98643013: Take GL version and extensions correctly into account when binding functions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Accommodated changes in content tests Created 6 years, 11 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
« no previous file with comments | « ui/gl/gl_surface_win.cc ('k') | ui/gl/gl_version_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 UI_GL_GL_VERSION_INFO_H_
6 #define UI_GL_GL_VERSION_INFO_H_
7
8 #include <string>
9 #include "base/basictypes.h"
10
11 namespace gfx {
12
13 struct GLVersionInfo {
14 explicit GLVersionInfo(const char* version_str);
15
16 // New flags, such as is_gl4_4 could be introduced as needed.
17 // For now, this level of granularity is enough.
18 bool is_es;
19 bool is_es1;
20 bool is_es2;
21 bool is_es3;
22
23 bool is_gl1;
24 bool is_gl2;
25 bool is_gl3;
26 bool is_gl4;
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo);
30 };
31
32 } // namespace gfx
33
34 #endif // UI_GL_GL_VERSION_INFO_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_surface_win.cc ('k') | ui/gl/gl_version_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698