Edit

kc3-lang/angle/src/tests/angle_perftests.gypi

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2015-04-13 13:50:24
    Hash : 87717702
    Message : Add an IndexDataManager perf test. This microbenchmark tests the time at which we find index ranges in the cache, and how long the call to prepareIndexData might take. It also verifies we successfully store index ranges in the cache. BUG=angleproject:956 Change-Id: I0f1b0c00daa73d8e1bcde197d9de80ca229078b7 Reviewed-on: https://chromium-review.googlesource.com/262779 Reviewed-by: Geoff Lang <geofflang@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>

  • src/tests/angle_perftests.gypi
  • # Copyright 2015 The ANGLE Project Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style license that can be
    # found in the LICENSE file.
    #
    # angle_perftests.gypi:
    #
    # This .gypi describes all of the sources and dependencies to build a
    # unified "angle_perftests" target, which contains all of ANGLE's
    # performance tests (buffer updates, texture updates, draw calls, etc)
    # It requires a parent target to include this gypi in an executable
    # target containing a gtest harness in a main.cpp.
    
    {
        'dependencies':
        [
            '<(angle_path)/src/angle.gyp:angle_common',
            '<(angle_path)/src/angle.gyp:libANGLE', # for unit testing
            '<(angle_path)/src/angle.gyp:libGLESv2',
            '<(angle_path)/src/angle.gyp:libEGL',
            '<(angle_path)/src/tests/tests.gyp:angle_test_support',
            '<(angle_path)/util/util.gyp:angle_util',
        ],
        'include_dirs':
        [
            '<(angle_path)/include',
        ],
        'sources':
        [
            'perf_tests/ANGLEPerfTest.cpp',
            'perf_tests/ANGLEPerfTest.h',
            'perf_tests/BufferSubData.cpp',
            'perf_tests/DrawCallPerf.cpp',
            'perf_tests/IndexConversionPerf.cpp',
            'perf_tests/IndexDataManagerTest.cpp',
            'perf_tests/PointSprites.cpp',
            'perf_tests/TexSubImage.cpp',
            'perf_tests/third_party/perf/perf_test.cc',
            'perf_tests/third_party/perf/perf_test.h',
        ],
    }