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

Side by Side Diff: trunk/src/gpu/config/software_rendering_list_json.cc

Issue 180723020: Revert 255228 "Don't blacklist accelerated 2d canvas if WinStats..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « no previous file | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // Determines whether certain gpu-related features are blacklisted or not. 5 // Determines whether certain gpu-related features are blacklisted or not.
6 // The format of a valid software_rendering_list.json file is defined in 6 // The format of a valid software_rendering_list.json file is defined in
7 // <gpu/config/gpu_control_list_format.txt>. 7 // <gpu/config/gpu_control_list_format.txt>.
8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>. 8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>.
9 9
10 #include "gpu/config/gpu_control_list_jsons.h" 10 #include "gpu/config/gpu_control_list_jsons.h"
11 11
12 #define LONG_STRING_CONST(...) #__VA_ARGS__ 12 #define LONG_STRING_CONST(...) #__VA_ARGS__
13 13
14 namespace gpu { 14 namespace gpu {
15 15
16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( 16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST(
17 17
18 { 18 {
19 "name": "software rendering list", 19 "name": "software rendering list",
20 // Please update the version number whenever you change this file. 20 // Please update the version number whenever you change this file.
21 "version": "7.2", 21 "version": "7.1",
22 "entries": [ 22 "entries": [
23 { 23 {
24 "id": 1, 24 "id": 1,
25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", 25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac",
26 "webkit_bugs": [47028], 26 "webkit_bugs": [47028],
27 "os": { 27 "os": {
28 "type": "macosx" 28 "type": "macosx"
29 }, 29 },
30 "vendor_id": "0x1002", 30 "vendor_id": "0x1002",
31 "device_id": ["0x7249"], 31 "device_id": ["0x7249"],
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 "op": "beginwith", 319 "op": "beginwith",
320 "value": "nouveau" 320 "value": "nouveau"
321 }, 321 },
322 "features": [ 322 "features": [
323 "all" 323 "all"
324 ] 324 ]
325 }, 325 },
326 { 326 {
327 "id": 32, 327 "id": 32,
328 "description": "Accelerated 2d canvas is disabled on Windows systems with low perf stats", 328 "description": "Accelerated 2d canvas is disabled on Windows systems with low perf stats",
329 "cr_bugs": [116350, 151500, 349628], 329 "cr_bugs": [116350, 151500],
330 "os": { 330 "os": {
331 "type": "win" 331 "type": "win"
332 }, 332 },
333 "perf_overall": { 333 "perf_overall": {
334 "op": "<", 334 "op": "<",
335 "value": "3.5" 335 "value": "3.5"
336 }, 336 },
337 "exceptions": [ 337 "exceptions": [
338 { 338 {
339 "perf_gaming": { 339 "perf_gaming": {
340 "op": ">", 340 "op": ">",
341 "value": "3.5" 341 "value": "3.5"
342 } 342 }
343 }, 343 },
344 { 344 {
345 "cpu_info": { 345 "cpu_info": {
346 "op": "contains", 346 "op": "contains",
347 "value": "Atom" 347 "value": "Atom"
348 } 348 }
349 },
350 // Don't blacklist accelerated 2D canvas if WinSAT scores haven't
351 // been gathered.
352 {
353 "perf_overall": {
354 "op": "=",
355 "value": "0"
356 }
357 } 349 }
358 ], 350 ],
359 "features": [ 351 "features": [
360 "accelerated_2d_canvas" 352 "accelerated_2d_canvas"
361 ] 353 ]
362 }, 354 },
363 { 355 {
364 "id": 34, 356 "id": 34,
365 "description": "S3 Trio (used in Virtual PC) is not compatible", 357 "description": "S3 Trio (used in Virtual PC) is not compatible",
366 "cr_bugs": [119948], 358 "cr_bugs": [119948],
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 "accelerated_video_decode" 1033 "accelerated_video_decode"
1042 ] 1034 ]
1043 } 1035 }
1044 1036
1045 ] 1037 ]
1046 } 1038 }
1047 1039
1048 ); // LONG_STRING_CONST macro 1040 ); // LONG_STRING_CONST macro
1049 1041
1050 } // namespace gpu 1042 } // namespace gpu
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698