1# Copyright 2018 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from autotest_lib.server import utils 6 7PY_VERSION = 3 8AUTHOR = "chromeos-chameleon" 9NAME = "graphics_MultipleDisplays.aquarium_vp9_blob_h264" 10PURPOSE = "Test WebGL and video playback on internal and external displays." 11CRITERIA = "All tests must not crash/hang the GPU." 12ATTRIBUTES = "" 13TIME = "MEDIUM" 14TEST_CATEGORY = "Functional" 15TEST_CLASS = "graphics" 16TEST_TYPE = "server" 17DEPENDENCIES = 'chameleon' 18 19DOC = """ 20This test runs WebGL Aquarium and 1080p60 VP9 playback on the internal display. 21On the external display it opens windows for Blob and 1080p60 H.264 playback. 22""" 23 24args_dict = utils.args_to_dict(args) 25chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict) 26 27def run(machine): 28 host = hosts.create_host(machine, chameleon_args=chameleon_args) 29 job.run_test("graphics_MultipleDisplays", host=host, 30 subtest='aquarium+vp9+blob+h264') 31 32parallel_simple(run, machines) 33