| Index: content/test/gpu/gpu_tests/hardware_accelerated_feature_expectations.py
|
| diff --git a/content/test/gpu/gpu_tests/hardware_accelerated_feature_expectations.py b/content/test/gpu/gpu_tests/hardware_accelerated_feature_expectations.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..29f28ed718e7c819b7a3d17890b42cb90c683e07
|
| --- /dev/null
|
| +++ b/content/test/gpu/gpu_tests/hardware_accelerated_feature_expectations.py
|
| @@ -0,0 +1,25 @@
|
| +# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +from telemetry.page import test_expectations as expectations
|
| +
|
| +# Valid expectation conditions are:
|
| +#
|
| +# Operating systems:
|
| +# win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion,
|
| +# linux, chromeos, android
|
| +#
|
| +# GPU vendors:
|
| +# amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qualcomm,
|
| +# vivante
|
| +#
|
| +# Specific GPUs can be listed as a tuple with vendor name and device ID.
|
| +# Examples: ('nvidia', 0x1234), ('arm', 'Mali-T604')
|
| +# Device IDs must be paired with a GPU vendor.
|
| +
|
| +class HardwareAcceleratedFeatureExpectations(expectations.TestExpectations):
|
| + def SetExpectations(self):
|
| + # Accelerated 2D canvas is not available on Linux due to driver instability
|
| + self.Fail('HardwareAcceleratedFeature.canvas_accelerated',
|
| + ['linux'], bug=254724)
|
|
|