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

Side by Side Diff: content/public/common/gpu_info.h

Issue 9655017: Implement WebKitPlatformSupport::canAccelerate2dCanvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move canAccelerate.. call next to createOffscreenGraphicsContext3D call Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « content/gpu/gpu_info_collector_win.cc ('k') | content/public/common/gpu_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_COMMON_GPU_INFO_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_GPU_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_GPU_INFO_H_ 6 #define CONTENT_PUBLIC_COMMON_GPU_INFO_H_
7 #pragma once 7 #pragma once
8 8
9 // Provides access to the GPU information for the system 9 // Provides access to the GPU information for the system
10 // on which chrome is currently running. 10 // on which chrome is currently running.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // The GL_EXTENSIONS string. "" if we are not using OpenGL. 72 // The GL_EXTENSIONS string. "" if we are not using OpenGL.
73 std::string gl_extensions; 73 std::string gl_extensions;
74 74
75 // The device semantics, i.e. whether the Vista and Windows 7 specific 75 // The device semantics, i.e. whether the Vista and Windows 7 specific
76 // semantics are available. 76 // semantics are available.
77 bool can_lose_context; 77 bool can_lose_context;
78 78
79 // By default all values are 0. 79 // By default all values are 0.
80 GpuPerformanceStats performance_stats; 80 GpuPerformanceStats performance_stats;
81 81
82 bool software_rendering;
83
82 #if defined(OS_WIN) 84 #if defined(OS_WIN)
83 // The information returned by the DirectX Diagnostics Tool. 85 // The information returned by the DirectX Diagnostics Tool.
84 DxDiagNode dx_diagnostics; 86 DxDiagNode dx_diagnostics;
85 #endif 87 #endif
86 }; 88 };
87 89
88 } // namespace content 90 } // namespace content
89 91
90 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ 92 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_info_collector_win.cc ('k') | content/public/common/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698