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

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

Issue 1929203003: Revert of Fix ReadPixels from float fbo buffer in ES2/WebGL1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_implementation.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
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 if (IsAtLeastGL(3, 2)) 48 if (IsAtLeastGL(3, 2))
49 return true; 49 return true;
50 #endif 50 #endif
51 return false; 51 return false;
52 } 52 }
53 53
54 static void ParseVersionString(const char* version_str, 54 static void ParseVersionString(const char* version_str,
55 unsigned* major_version, 55 unsigned* major_version,
56 unsigned* minor_version, 56 unsigned* minor_version,
57 bool* is_es, 57 bool* is_es,
58 bool* is_es2,
59 bool* is_es3); 58 bool* is_es3);
60 59
61 bool is_es; 60 bool is_es;
62 bool is_angle; 61 bool is_angle;
63 unsigned major_version; 62 unsigned major_version;
64 unsigned minor_version; 63 unsigned minor_version;
65 bool is_es2;
66 bool is_es3; 64 bool is_es3;
67 bool is_desktop_core_profile; 65 bool is_desktop_core_profile;
68 66
69 private: 67 private:
70 GLVersionInfo(const char* version_str, const char* renderer_str); 68 GLVersionInfo(const char* version_str, const char* renderer_str);
71 69
72 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo); 70 DISALLOW_COPY_AND_ASSIGN(GLVersionInfo);
73 }; 71 };
74 72
75 } // namespace gfx 73 } // namespace gfx
76 74
77 #endif // UI_GL_GL_VERSION_INFO_H_ 75 #endif // UI_GL_GL_VERSION_INFO_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_implementation.cc ('k') | ui/gl/gl_version_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698