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

Side by Side Diff: gpu/config/gpu_driver_bug_list_json.cc

Issue 57633007: Merge gpu_switching_list into gpu_driver_bug_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final final Created 7 years, 1 month 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_main.cc ('k') | gpu/config/gpu_driver_bug_list_unittest.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) 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 a certain driver bug exists in the current system. 5 // Determines whether a certain driver bug exists in the current system.
6 // The format of a valid gpu_driver_bug_list.json file is defined in 6 // The format of a valid gpu_driver_bug_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 8 // The supported "features" can be found in
9 // <gpu/config/gpu_driver_bug_workaround_type.h>. 9 // <gpu/config/gpu_driver_bug_workaround_type.h>.
10 10
11 #include "gpu/config/gpu_control_list_jsons.h" 11 #include "gpu/config/gpu_control_list_jsons.h"
12 12
13 #define LONG_STRING_CONST(...) #__VA_ARGS__ 13 #define LONG_STRING_CONST(...) #__VA_ARGS__
14 14
15 namespace gpu { 15 namespace gpu {
16 16
17 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( 17 const char kGpuDriverBugListJson[] = LONG_STRING_CONST(
18 18
19 { 19 {
20 "name": "gpu driver bug list", 20 "name": "gpu driver bug list",
21 // Please update the version number whenever you change this file. 21 // Please update the version number whenever you change this file.
22 "version": "2.26", 22 "version": "3.0",
23 "entries": [ 23 "entries": [
24 { 24 {
25 "id": 1, 25 "id": 1,
26 "description": "Imagination driver doesn't like uploading lots of buffer d ata constantly", 26 "description": "Imagination driver doesn't like uploading lots of buffer d ata constantly",
27 "os": { 27 "os": {
28 "type": "android" 28 "type": "android"
29 }, 29 },
30 "gl_vendor": { 30 "gl_vendor": {
31 "op": "beginwith", 31 "op": "beginwith",
32 "value": "Imagination" 32 "value": "Imagination"
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 "os": { 627 "os": {
628 "type": "chromeos" 628 "type": "chromeos"
629 }, 629 },
630 "cpu_info": { 630 "cpu_info": {
631 "op": "=", 631 "op": "=",
632 "value": "ARM" // TODO(piman): change to GL_VENDOR/GL_RENDERER switch 632 "value": "ARM" // TODO(piman): change to GL_VENDOR/GL_RENDERER switch
633 }, 633 },
634 "features": [ 634 "features": [
635 "use_virtualized_gl_contexts" 635 "use_virtualized_gl_contexts"
636 ] 636 ]
637 },
638 {
639 "id": 48,
640 "description": "Force to use discrete GPU on older MacBookPro models.",
641 "cr_bugs": [113703],
642 "os": {
643 "type": "macosx",
644 "version": {
645 "op": ">=",
646 "value": "10.7"
647 }
648 },
649 "machine_model": {
650 "name": {
651 "op": "=",
652 "value": "MacBookPro"
653 },
654 "version": {
655 "op": "<",
656 "value": "8"
657 }
658 },
659 "gpu_count": {
660 "op": "=",
661 "value": "2"
662 },
663 "features": [
664 "force_discrete_gpu"
665 ]
637 } 666 }
638 ] 667 ]
639 } 668 }
640 669
641 ); // LONG_STRING_CONST macro 670 ); // LONG_STRING_CONST macro
642 671
643 } // namespace gpu 672 } // namespace gpu
OLDNEW
« no previous file with comments | « content/gpu/gpu_main.cc ('k') | gpu/config/gpu_driver_bug_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698