| 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": "8.94", | 22 "version": "8.95", |
| 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 "type": "linux" | 528 "type": "linux" |
| 529 }, | 529 }, |
| 530 "vendor_id": "0x10de", | 530 "vendor_id": "0x10de", |
| 531 "gl_vendor": "NVIDIA.*", | 531 "gl_vendor": "NVIDIA.*", |
| 532 "features": [ | 532 "features": [ |
| 533 "init_vertex_attributes" | 533 "init_vertex_attributes" |
| 534 ] | 534 ] |
| 535 }, | 535 }, |
| 536 { | 536 { |
| 537 "id": 68, | 537 "id": 68, |
| 538 "description": "Disable partial swaps on linux drivers", | 538 "description": "Disable partial swaps on Mesa drivers (detected with GL_RE
NDERER)", |
| 539 "cr_bugs": [339493], | 539 "cr_bugs": [339493], |
| 540 "os": { | 540 "os": { |
| 541 "type": "linux" | 541 "type": "linux" |
| 542 }, | 542 }, |
| 543 "gl_type": "gl", | 543 "gl_type": "gl", |
| 544 "gl_renderer": ".*Mesa.*", | 544 "gl_renderer": ".*Mesa.*", |
| 545 "features": [ | 545 "features": [ |
| 546 "disable_post_sub_buffers_for_onscreen_surfaces" | 546 "disable_post_sub_buffers_for_onscreen_surfaces" |
| 547 ] | 547 ] |
| 548 }, | 548 }, |
| (...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1950 "cr_bugs": [632461], | 1950 "cr_bugs": [632461], |
| 1951 "description": "eglCreateImageKHR fails for L8 textures on PowerVR", | 1951 "description": "eglCreateImageKHR fails for L8 textures on PowerVR", |
| 1952 "os": { | 1952 "os": { |
| 1953 "type": "android" | 1953 "type": "android" |
| 1954 }, | 1954 }, |
| 1955 "gl_vendor": "Imagination.*", | 1955 "gl_vendor": "Imagination.*", |
| 1956 "gl_renderer": "PowerVR SGX.*", | 1956 "gl_renderer": "PowerVR SGX.*", |
| 1957 "features": [ | 1957 "features": [ |
| 1958 "avda_no_eglimage_for_luminance_tex" | 1958 "avda_no_eglimage_for_luminance_tex" |
| 1959 ] | 1959 ] |
| 1960 }, |
| 1961 { |
| 1962 "id": 190, |
| 1963 "description": "Disable partial swaps on Mesa drivers (detected with GL_VE
RSION)", |
| 1964 "cr_bugs": [339493], |
| 1965 "os": { |
| 1966 "type": "linux" |
| 1967 }, |
| 1968 "gl_type": "gl", |
| 1969 "gl_version_string": ".*Mesa.*", |
| 1970 "features": [ |
| 1971 "disable_post_sub_buffers_for_onscreen_surfaces" |
| 1972 ] |
| 1960 } | 1973 } |
| 1961 ] | 1974 ] |
| 1962 } | 1975 } |
| 1963 | 1976 |
| 1964 ); // LONG_STRING_CONST macro | 1977 ); // LONG_STRING_CONST macro |
| 1965 | 1978 |
| 1966 } // namespace gpu | 1979 } // namespace gpu |
| OLD | NEW |