Chromium Code Reviews| OLD | NEW |
|---|---|
| 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": "9.02", | 22 "version": "9.03", |
| 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": "Imagination.*", | 30 "gl_vendor": "Imagination.*", |
| 31 "features": [ | 31 "features": [ |
| 32 "use_client_side_arrays_for_stream_buffers" | 32 "use_client_side_arrays_for_stream_buffers" |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 500 "type": "linux" | 500 "type": "linux" |
| 501 }, | 501 }, |
| 502 "vendor_id": "0x10de", | 502 "vendor_id": "0x10de", |
| 503 "gl_vendor": "NVIDIA.*", | 503 "gl_vendor": "NVIDIA.*", |
| 504 "features": [ | 504 "features": [ |
| 505 "init_vertex_attributes" | 505 "init_vertex_attributes" |
| 506 ] | 506 ] |
| 507 }, | 507 }, |
| 508 { | 508 { |
| 509 "id": 68, | 509 "id": 68, |
| 510 "description": "Disable partial swaps on linux drivers", | 510 "description": "Disable partial swaps on Mesa drivers (detected with GL_RE NDERER)", |
| 511 "cr_bugs": [339493], | 511 "cr_bugs": [339493], |
| 512 "os": { | 512 "os": { |
| 513 "type": "linux" | 513 "type": "linux" |
| 514 }, | 514 }, |
| 515 "gl_type": "gl", | 515 "gl_type": "gl", |
| 516 "gl_renderer": ".*Mesa.*", | 516 "gl_renderer": ".*Mesa.*", |
| 517 "features": [ | 517 "features": [ |
| 518 "disable_post_sub_buffers_for_onscreen_surfaces" | 518 "disable_post_sub_buffers_for_onscreen_surfaces" |
| 519 ] | 519 ] |
| 520 }, | 520 }, |
| (...skipping 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2023 "id": 189, | 2023 "id": 189, |
| 2024 "description": "Do TexImage2D first before CopyTexImage2D for cube map tex ture on Intel Mac", | 2024 "description": "Do TexImage2D first before CopyTexImage2D for cube map tex ture on Intel Mac", |
| 2025 "cr_bugs": [648197], | 2025 "cr_bugs": [648197], |
| 2026 "os": { | 2026 "os": { |
| 2027 "type": "macosx" | 2027 "type": "macosx" |
| 2028 }, | 2028 }, |
| 2029 "vendor_id": "0x8086", | 2029 "vendor_id": "0x8086", |
| 2030 "features": [ | 2030 "features": [ |
| 2031 "do_teximage_before_copyteximage_to_cube_map" | 2031 "do_teximage_before_copyteximage_to_cube_map" |
| 2032 ] | 2032 ] |
| 2033 } | 2033 }, |
| 2034 { | |
| 2035 "id": 190, | |
| 2036 "description": "Disable partial swaps on Mesa drivers (detected with GL_VE RSION)", | |
| 2037 "cr_bugs": [339493], | |
| 2038 "os": { | |
| 2039 "type": "linux" | |
| 2040 }, | |
| 2041 "gl_type": "gl", | |
| 2042 "gl_version": ".*Mesa.*", | |
| 2043 "features": [ | |
| 2044 "disable_post_sub_buffers_for_onscreen_surfaces" | |
| 2045 ] | |
| 2046 }, | |
|
Ken Russell (switch to Gerrit)
2016/09/26 19:06:57
I think the trailing ',' is what's causing the pro
| |
| 2034 ] | 2047 ] |
| 2035 // Please update the version number at beginning of this file whenever you | 2048 // Please update the version number at beginning of this file whenever you |
| 2036 // change this file. | 2049 // change this file. |
| 2037 } | 2050 } |
| 2038 | 2051 |
| 2039 ); // LONG_STRING_CONST macro | 2052 ); // LONG_STRING_CONST macro |
| 2040 | 2053 |
| 2041 } // namespace gpu | 2054 } // namespace gpu |
| OLD | NEW |