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

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

Issue 15385003: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | « gpu/config/gpu_driver_bug_list.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 // A valid gpu_driver_bug_list.json file are in the format of 6 // A valid gpu_driver_bug_list.json file are in the format of
7 // { 7 // {
8 // "version": "x.y", 8 // "version": "x.y",
9 // "entries": [ 9 // "entries": [
10 // { // entry 1 10 // { // entry 1
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // 67 //
68 // STRING includes "op" and "value". "op" can be any of the following values: 68 // STRING includes "op" and "value". "op" can be any of the following values:
69 // "contains", "beginwith", "endwith", "=". "value" is a string. 69 // "contains", "beginwith", "endwith", "=". "value" is a string.
70 // 70 //
71 // FLOAT includes "op" "value", and "value2". "op" can be any of the 71 // FLOAT includes "op" "value", and "value2". "op" can be any of the
72 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is 72 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is
73 // only used if "op" is "between". "value" is used for all "op" values except 73 // only used if "op" is "between". "value" is used for all "op" values except
74 // "any". "value" and "value2" are valid float numbers. 74 // "any". "value" and "value2" are valid float numbers.
75 // INT is very much like FLOAT, except that the values need to be integers. 75 // INT is very much like FLOAT, except that the values need to be integers.
76 76
77 #include "content/browser/gpu/gpu_control_list_jsons.h" 77 #include "gpu/config/gpu_control_list_jsons.h"
78 78
79 #define LONG_STRING_CONST(...) #__VA_ARGS__ 79 #define LONG_STRING_CONST(...) #__VA_ARGS__
80 80
81 namespace content { 81 namespace gpu {
82 82
83 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( 83 const char kGpuDriverBugListJson[] = LONG_STRING_CONST(
84 84
85 { 85 {
86 "name": "gpu driver bug list", 86 "name": "gpu driver bug list",
87 // Please update the version number whenever you change this file. 87 // Please update the version number whenever you change this file.
88 "version": "2.0", 88 "version": "2.0",
89 "entries": [ 89 "entries": [
90 { 90 {
91 "id": 1, 91 "id": 1,
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 }, 342 },
343 "features": [ 343 "features": [
344 "unbind_fbo_on_context_switch" 344 "unbind_fbo_on_context_switch"
345 ] 345 ]
346 } 346 }
347 ] 347 ]
348 } 348 }
349 349
350 ); // LONG_STRING_CONST macro 350 ); // LONG_STRING_CONST macro
351 351
352 } // namespace content 352 } // namespace gpu
353 353
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_list.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