Revert of Rename isSystemLocationEnabled to isLocationEnabled. (patchset #1 id:1...
[chromium-blink-merge.git] / ui / gl / gl_version_info.h
blob21ca07aad5267eaf3f8a4828c0ac4862c4fdce54
1 // Copyright 2014 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.
5 #ifndef UI_GL_GL_VERSION_INFO_H_
6 #define UI_GL_GL_VERSION_INFO_H_
8 #include <string>
9 #include "base/basictypes.h"
10 #include "ui/gl/gl_export.h"
12 namespace gfx {
14 struct GL_EXPORT GLVersionInfo {
15 GLVersionInfo(const char* version_str, const char* renderer_str);
17 // New flags, such as is_gl4_4 could be introduced as needed.
18 // For now, this level of granularity is enough.
19 bool is_es;
20 bool is_es1;
21 bool is_es2;
22 bool is_es3;
24 bool is_gl1;
25 bool is_gl2;
26 bool is_gl3;
27 bool is_gl4;
29 bool is_angle;
31 private:
32 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo);
35 } // namespace gfx
37 #endif // UI_GL_GL_VERSION_INFO_H_