| Index: chrome/common/gpu_info.cc
|
| ===================================================================
|
| --- chrome/common/gpu_info.cc (revision 56911)
|
| +++ chrome/common/gpu_info.cc (working copy)
|
| @@ -6,7 +6,8 @@
|
|
|
| GPUInfo::GPUInfo()
|
| : vendor_id_(0), device_id_(0), driver_version_(L""),
|
| - pixel_shader_version_(0), vertex_shader_version_(0) {
|
| + pixel_shader_version_(0), vertex_shader_version_(0),
|
| + gl_version_(0) {
|
| }
|
|
|
| uint32 GPUInfo::vendor_id() const {
|
| @@ -29,13 +30,20 @@
|
| return vertex_shader_version_;
|
| }
|
|
|
| +uint32 GPUInfo::gl_version() const {
|
| + return gl_version_;
|
| +}
|
| +
|
| +
|
| void GPUInfo::SetGraphicsInfo(uint32 vendor_id, uint32 device_id,
|
| const std::wstring& driver_version,
|
| uint32 pixel_shader_version,
|
| - uint32 vertex_shader_version) {
|
| + uint32 vertex_shader_version,
|
| + uint32 gl_version) {
|
| vendor_id_ = vendor_id;
|
| device_id_ = device_id;
|
| driver_version_ = driver_version;
|
| pixel_shader_version_ = pixel_shader_version;
|
| vertex_shader_version_ = vertex_shader_version;
|
| + gl_version_ = gl_version;
|
| }
|
|
|