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

Side by Side Diff: content/browser/gpu/gpu_blacklist.h

Issue 7064032: Turns on the gpu accelerated canvas by default (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | content/browser/gpu/gpu_blacklist.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_GPU_GPU_BLACKLIST_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_
6 #define CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ 6 #define CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // 'multisampling' 82 // 'multisampling'
83 // 83 //
84 // Each problems has: 84 // Each problems has:
85 // { 85 // {
86 // "description": "Your GPU is too old", 86 // "description": "Your GPU is too old",
87 // "crBugs": [1234], 87 // "crBugs": [1234],
88 // "webkitBugs": [] 88 // "webkitBugs": []
89 // } 89 // }
90 Value* GetFeatureStatus(bool gpu_access_allowed, 90 Value* GetFeatureStatus(bool gpu_access_allowed,
91 bool disable_accelerated_compositing, 91 bool disable_accelerated_compositing,
92 bool enable_accelerated_2D_canvas, 92 bool disable_accelerated_2D_canvas,
93 bool disable_experimental_webgl, 93 bool disable_experimental_webgl,
94 bool disable_multisampling) const; 94 bool disable_multisampling) const;
95 95
96 // Return the largest entry id. This is used for histogramming. 96 // Return the largest entry id. This is used for histogramming.
97 uint32 max_entry_id() const; 97 uint32 max_entry_id() const;
98 98
99 // Collects the version of the current blacklist. Returns false and sets 99 // Collects the version of the current blacklist. Returns false and sets
100 // major and minor to 0 on failure. 100 // major and minor to 0 on failure.
101 bool GetVersion(uint16* major, uint16* monir) const; 101 bool GetVersion(uint16* major, uint16* monir) const;
102 102
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 // user machine. It is updated everytime DetermineGpuFeatureFlags() is 295 // user machine. It is updated everytime DetermineGpuFeatureFlags() is
296 // called and is used later by GetGpuFeatureFlagEntries(). 296 // called and is used later by GetGpuFeatureFlagEntries().
297 std::vector<GpuBlacklistEntry*> active_entries_; 297 std::vector<GpuBlacklistEntry*> active_entries_;
298 298
299 uint32 max_entry_id_; 299 uint32 max_entry_id_;
300 300
301 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); 301 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist);
302 }; 302 };
303 303
304 #endif // CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ 304 #endif // CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | content/browser/gpu/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698