# Copyright (c) 2010 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_SanAngeles.bvt'
PURPOSE = 'Benchmark OpenGL object rendering.'
CRITERIA = 'This test is a benchmark. It will fail if it fails to complete.'
ATTRIBUTES = "suite:bvt-perbuild"
TIME='FAST'
TEST_CATEGORY = 'Performance'
TEST_CLASS = "graphics"
TEST_TYPE = 'client'
JOB_RETRIES = 2
# Reboot in the lab after the test ends.
DEPENDENCIES='cleanup-reboot'
BUG_TEMPLATE = {
    'components': ['OS>Kernel>Graphics'],
}

DOC = """
This test runs the San Angeles Observation GPU benchmark. This benchmark uses
a minimal and portable framework to generate a small demo program. It exercises
basic features of OpenGL like vertex arrays, color arrays, and lighting. It
also uses objects generated using procedural algorithms.
"""

job.run_test('graphics_SanAngeles', creds=None)