// // Copyright 2019 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. // // SemaphoreTest.cpp : Tests of the GL_EXT_semaphore extension. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" namespace angle { class SemaphoreTest : public ANGLETest<> { … }; // glIsSemaphoreEXT must identify semaphores. TEST_P(SemaphoreTest, SemaphoreShouldBeSemaphore) { … } // glImportSemaphoreFdEXT must fail for handle types that are not file descriptors. TEST_P(SemaphoreTest, ShouldFailValidationOnImportFdUnsupportedHandleType) { … } // Use this to select which configurations (e.g. which renderer, which GLES major version) these // tests should be run against. ANGLE_INSTANTIATE_TEST_ES2_AND_ES3(…); } // namespace angle