| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 from gpu_tests.gpu_test_expectations import GpuTestExpectations | 5 from gpu_tests.gpu_test_expectations import GpuTestExpectations |
| 6 | 6 |
| 7 # See the GpuTestExpectations class for documentation. | 7 # See the GpuTestExpectations class for documentation. |
| 8 | 8 |
| 9 class GpuProcessExpectations(GpuTestExpectations): | 9 class GpuProcessExpectations(GpuTestExpectations): |
| 10 def SetExpectations(self): | 10 def SetExpectations(self): |
| 11 # Accelerated 2D canvas is not available on Linux due to driver instability | 11 # Accelerated 2D canvas is not available on Linux due to driver instability |
| 12 self.Fail('GpuProcess_canvas2d', ['linux'], bug=254724) | 12 self.Fail('GpuProcess_canvas2d', ['linux'], bug=254724) |
| 13 | 13 |
| 14 self.Fail('GpuProcess_video', ['linux'], bug=257109) | 14 self.Fail('GpuProcess_video', ['linux'], bug=257109) |
| 15 | 15 |
| 16 # Chrome on Android doesn't support software fallback. | 16 # Chrome on Android doesn't support software fallback. |
| 17 self.Skip('GpuProcess_no_gpu_process', ['android'], bug=643282) | 17 self.Skip('GpuProcess_no_gpu_process', ['android'], bug=643282) |
| 18 self.Skip('GpuProcess_skip_gpu_process', ['android'], bug=(610951, 610023)) | 18 self.Skip('GpuProcess_skip_gpu_process', ['android'], bug=(610951, 610023)) |
| 19 | 19 |
| 20 # Chrome on Windows creates a GPU process that uses SwiftShader when using | 20 # Chrome on Windows and Linux create a GPU process that uses SwiftShader |
| 21 # either --disable-gpu or a blacklisted GPU. | 21 # when using either --disable-gpu or a blacklisted GPU. |
| 22 self.Skip('GpuProcess_no_gpu_process', ['win', 'debug'], bug=630728) | 22 self.Skip('GpuProcess_no_gpu_process', ['win', 'debug'], bug=630728) |
| 23 self.Skip('GpuProcess_skip_gpu_process', ['win'], bug=630728) | 23 self.Skip('GpuProcess_skip_gpu_process', ['win', 'linux'], bug=630728) |
| 24 | 24 |
| 25 # Currently SwiftShader's integrated only on Windows. Remove | 25 # Currently SwiftShader is integrated only on Windows and Linux. Remove |
| 26 # platforms from this suppression as it is integrated on more | 26 # platforms from this suppression as it is integrated on more platforms. |
| 27 # platforms. | |
| 28 self.Skip('GpuProcess_swiftshader_for_webgl', | 27 self.Skip('GpuProcess_swiftshader_for_webgl', |
| 29 ['mac', 'linux', 'android', 'chromeos'], bug=630728) | 28 ['mac', 'android', 'chromeos'], bug=630728) |
| 30 | 29 |
| 31 # There is no Android multi-gpu configuration and the helper | 30 # There is no Android multi-gpu configuration and the helper |
| 32 # gpu_info_collector.cc::IdentifyActiveGPU is not even called. | 31 # gpu_info_collector.cc::IdentifyActiveGPU is not even called. |
| 33 self.Skip('GpuProcess_identify_active_gpu1', ['android']) | 32 self.Skip('GpuProcess_identify_active_gpu1', ['android']) |
| 34 self.Skip('GpuProcess_identify_active_gpu2', ['android']) | 33 self.Skip('GpuProcess_identify_active_gpu2', ['android']) |
| 35 self.Skip('GpuProcess_identify_active_gpu3', ['android']) | 34 self.Skip('GpuProcess_identify_active_gpu3', ['android']) |
| 36 self.Skip('GpuProcess_identify_active_gpu4', ['android']) | 35 self.Skip('GpuProcess_identify_active_gpu4', ['android']) |
| 37 | 36 |
| 38 # There is currently no entry in kSoftwareRenderingListJson that enables | 37 # There is currently no entry in kSoftwareRenderingListJson that enables |
| 39 # a software GL driver on Android. | 38 # a software GL driver on Android. |
| 40 self.Skip('GpuProcess_software_gpu_process', ['android']) | 39 self.Skip('GpuProcess_software_gpu_process', ['android']) |
| 41 | 40 |
| 42 # Seems to have become flaky on Windows recently. | 41 # Seems to have become flaky on Windows recently. |
| 43 self.Flaky('GpuProcess_only_one_workaround', ['win'], bug=700522) | 42 self.Flaky('GpuProcess_only_one_workaround', ['win'], bug=700522) |
| OLD | NEW |