Edit

kc3-lang/angle/src/tests/deqp_tests/deqp_tests.h

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2015-03-16 17:25:51
    Hash : 559a2e8c
    Message : Move the ANGLE tests project to src/ *re-re-land with fix for Chrome's angle tests* BUG=angleproject:945 Change-Id: I3c64e2edc776c299791440f65f22450855eb6dfa Reviewed-on: https://chromium-review.googlesource.com/260448 Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org>

  • src/tests/deqp_tests/deqp_tests.h
  • //
    // Copyright (c) 2014 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.
    //
    
    #ifndef DEQP_TESTS_DEQP_TESTS_H_
    #define DEQP_TESTS_DEQP_TESTS_H_
    
    #include "gtest/gtest.h"
    
    #include <EGL/egl.h>
    
    #include <string>
    
    struct DEQPConfig
    {
        size_t width;
        size_t height;
        bool hidden;
        EGLNativeDisplayType displayType;
    };
    
    void SetCurrentConfig(const DEQPConfig& config);
    const DEQPConfig& GetCurrentConfig();
    
    void RunDEQPTest(const std::string &testPath, const DEQPConfig& config);
    
    #endif // DEQP_TESTS_DEQP_TESTS_H_