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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_gl_api_implementation.cc ('k') | ui/gl/gpu_switching_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #ifndef UI_GL_GL_VERSION_INFO_H_ 5 #ifndef UI_GL_GL_VERSION_INFO_H_
6 #define UI_GL_GL_VERSION_INFO_H_ 6 #define UI_GL_GL_VERSION_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/gl/gl_export.h"
10 11
11 namespace gfx { 12 namespace gfx {
12 13
13 struct GLVersionInfo { 14 struct GL_EXPORT GLVersionInfo {
14 GLVersionInfo(const char* version_str, const char* renderer_str); 15 GLVersionInfo(const char* version_str, const char* renderer_str);
15 16
16 // New flags, such as is_gl4_4 could be introduced as needed. 17 // New flags, such as is_gl4_4 could be introduced as needed.
17 // For now, this level of granularity is enough. 18 // For now, this level of granularity is enough.
18 bool is_es; 19 bool is_es;
19 bool is_es1; 20 bool is_es1;
20 bool is_es2; 21 bool is_es2;
21 bool is_es3; 22 bool is_es3;
22 23
23 bool is_gl1; 24 bool is_gl1;
24 bool is_gl2; 25 bool is_gl2;
25 bool is_gl3; 26 bool is_gl3;
26 bool is_gl4; 27 bool is_gl4;
27 28
28 bool is_angle; 29 bool is_angle;
29 30
30 private: 31 private:
31 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo); 32 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo);
32 }; 33 };
33 34
34 } // namespace gfx 35 } // namespace gfx
35 36
36 #endif // UI_GL_GL_VERSION_INFO_H_ 37 #endif // UI_GL_GL_VERSION_INFO_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_gl_api_implementation.cc ('k') | ui/gl/gpu_switching_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698