xref: /aosp_15_r20/external/autotest/client/site_tests/graphics_HwOverlays/control.SkiaRenderer.video (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2020 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
5PY_VERSION = 3
6AUTHOR = "chromeos-gfx"
7NAME = "graphics_HwOverlays.SkiaRenderer.video"
8TIME = "FAST"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "graphics"
11TEST_TYPE = "client"
12
13ATTRIBUTES = "suite:bvt-perbuild"
14
15HTML_TEST_FILE = 'video.html'
16DATA_FILE_URL = r'http://commondatastorage.googleapis.com/chromiumos-test-assets-public/traffic/traffic-1920x1080-83a1e5f8b7944577425f039034e64c76.vp9.webm'
17
18DOC = """
19Runs a very simple video playback (just navigating to the file) and inspects the
20amount of hardware overlays reported by the system. The test passes when the
21video turns into an overlay. This test forces the use of the SkiaRenderer.
22"""
23
24job.run_test('graphics_HwOverlays',
25             html_file=HTML_TEST_FILE,
26             data_file_url=DATA_FILE_URL,
27             is_video=True,
28             use_skia_renderer=True)
29