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": "7.3", | 22 "version": "7.3", |
|
boliu
2014/09/29 19:58:40
I think you are supposed to increment this version
reveman
2014/09/29 20:01:42
Good call. Done.
| |
| 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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 574 "description": "The first draw operation from an idle state is slow", | 574 "description": "The first draw operation from an idle state is slow", |
| 575 "os": { | 575 "os": { |
| 576 "type": "android" | 576 "type": "android" |
| 577 }, | 577 }, |
| 578 "gl_vendor": "Qualcomm.*", | 578 "gl_vendor": "Qualcomm.*", |
| 579 "features": [ | 579 "features": [ |
| 580 "wake_up_gpu_before_drawing" | 580 "wake_up_gpu_before_drawing" |
| 581 ] | 581 ] |
| 582 }, | 582 }, |
| 583 { | 583 { |
| 584 "id": 50, | |
| 585 "description": "NVIDIA driver requires unbinding a GpuMemoryBuffer from th e texture before mapping it to main memory", | |
| 586 "os": { | |
| 587 "type": "android" | |
| 588 }, | |
| 589 "gl_type": "gles", | |
| 590 "gl_version": { | |
| 591 "op": "<", | |
| 592 "value": "3.1" | |
| 593 }, | |
| 594 "gl_vendor": "NVIDIA.*", | |
| 595 "features": [ | |
| 596 "release_image_after_use" | |
| 597 ] | |
| 598 }, | |
| 599 { | |
| 600 "id": 51, | 584 "id": 51, |
| 601 "description": "TexSubImage2D() is faster for full uploads on ANGLE", | 585 "description": "TexSubImage2D() is faster for full uploads on ANGLE", |
| 602 "os": { | 586 "os": { |
| 603 "type": "win" | 587 "type": "win" |
| 604 }, | 588 }, |
| 605 "gl_renderer": "ANGLE.*", | 589 "gl_renderer": "ANGLE.*", |
| 606 "features": [ | 590 "features": [ |
| 607 "texsubimage2d_faster_than_teximage2d" | 591 "texsubimage2d_faster_than_teximage2d" |
| 608 ] | 592 ] |
| 609 }, | 593 }, |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1039 "features": [ | 1023 "features": [ |
| 1040 "etc1_power_of_two_only" | 1024 "etc1_power_of_two_only" |
| 1041 ] | 1025 ] |
| 1042 } | 1026 } |
| 1043 ] | 1027 ] |
| 1044 } | 1028 } |
| 1045 | 1029 |
| 1046 ); // LONG_STRING_CONST macro | 1030 ); // LONG_STRING_CONST macro |
| 1047 | 1031 |
| 1048 } // namespace gpu | 1032 } // namespace gpu |
| OLD | NEW |