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

Side by Side Diff: chromecast/public/cast_sys_info.h

Issue 1117813002: Add GL strings to CastSysInfo interface and use to configure GPU (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use SetGLStrings instead Created 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROMECAST_PUBLIC_CAST_SYS_INFO_H_ 5 #ifndef CHROMECAST_PUBLIC_CAST_SYS_INFO_H_
6 #define CHROMECAST_PUBLIC_CAST_SYS_INFO_H_ 6 #define CHROMECAST_PUBLIC_CAST_SYS_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual std::string GetSystemBuildNumber() = 0; 48 virtual std::string GetSystemBuildNumber() = 0;
49 49
50 // Returns default country and locale baked from the factory. 50 // Returns default country and locale baked from the factory.
51 virtual std::string GetFactoryCountry() = 0; 51 virtual std::string GetFactoryCountry() = 0;
52 virtual std::string GetFactoryLocale(std::string* second_locale) = 0; 52 virtual std::string GetFactoryLocale(std::string* second_locale) = 0;
53 53
54 // Returns the name of the wifi interface used to connect to the internet. 54 // Returns the name of the wifi interface used to connect to the internet.
55 virtual std::string GetWifiInterface() = 0; 55 virtual std::string GetWifiInterface() = 0;
56 // Returns the name of the software AP interface. 56 // Returns the name of the software AP interface.
57 virtual std::string GetApInterface() = 0; 57 virtual std::string GetApInterface() = 0;
58
59 // Returns the GL_VENDOR string of GPU driver. Must match the value that would
60 // be obtained from a GL context, but implementations must *not* create a GL
61 // context.
62 virtual std::string GetGlVendor() = 0;
63 // Returns the GL_RENDERER string of GPU driver. Must match the value that
64 // would be obtained from a GL context, but implementations must *not* create
65 // a GL context.
66 virtual std::string GetGlRenderer() = 0;
67 // Returns the GL_VERSION string of GPU driver. Must match the value that
68 // would be obtained from a GL context, but implementations must *not* create
69 // a GL context.
70 virtual std::string GetGlVersion() = 0;
58 }; 71 };
59 72
60 } // namespace chromecast 73 } // namespace chromecast
61 74
62 #endif // CHROMECAST_PUBLIC_CAST_SYS_INFO_H_ 75 #endif // CHROMECAST_PUBLIC_CAST_SYS_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698