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

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

Issue 139013008: Implement support for rendering to 32-bit float textures on ES3 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make TexSubImage validation agree with TexImage validation Created 6 years, 10 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
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 10
11 namespace gfx { 11 namespace gfx {
12 12
13 struct GLVersionInfo { 13 struct GLVersionInfo {
14 explicit GLVersionInfo(const char* version_str); 14 GLVersionInfo(const char* version_str, const char* renderer_str);
15 15
16 // New flags, such as is_gl4_4 could be introduced as needed. 16 // New flags, such as is_gl4_4 could be introduced as needed.
17 // For now, this level of granularity is enough. 17 // For now, this level of granularity is enough.
18 bool is_es; 18 bool is_es;
19 bool is_es1; 19 bool is_es1;
20 bool is_es2; 20 bool is_es2;
21 bool is_es3; 21 bool is_es3;
22 22
23 bool is_gl1; 23 bool is_gl1;
24 bool is_gl2; 24 bool is_gl2;
25 bool is_gl3; 25 bool is_gl3;
26 bool is_gl4; 26 bool is_gl4;
27 27
28 bool is_angle;
29
28 private: 30 private:
29 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo); 31 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo);
30 }; 32 };
31 33
32 } // namespace gfx 34 } // namespace gfx
33 35
34 #endif // UI_GL_GL_VERSION_INFO_H_ 36 #endif // UI_GL_GL_VERSION_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698