# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

AUTHOR = "chromeos-gfx"
NAME = "graphics_HwOverlays.canvas2D"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "graphics"
TEST_TYPE = "client"

ATTRIBUTES = "suite:bvt-perbuild"

HTML_TEST_FILE = 'canvas_2d.html'

DOC = """
Runs a very simple HTML canvas 2D test (creating the context and drawing a few
strokes) and inspects the amount of hardware overlays reported by the system.
"""

job.run_test('graphics_HwOverlays', html_file=HTML_TEST_FILE)