// // 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. // #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" usingnamespaceangle; class FenceNVTest : public ANGLETest<> { … }; class FenceSyncTest : public ANGLETest<> { … }; // FenceNV objects should respond false to glIsFenceNV until they've been set TEST_P(FenceNVTest, IsFence) { … } // Test error cases for all FenceNV functions TEST_P(FenceNVTest, Errors) { … } // Test that basic usage works and doesn't generate errors or crash TEST_P(FenceNVTest, BasicOperations) { … } // Sync objects should respond true to IsSync after they are created with glFenceSync TEST_P(FenceSyncTest, IsSync) { … } // Test error cases for all Sync function TEST_P(FenceSyncTest, Errors) { … } // Test usage of glGetSynciv TEST_P(FenceSyncTest, BasicQueries) { … } // Test usage of glGetSynciv with nullptr as length TEST_P(FenceSyncTest, NullLength) { … } // Test that basic usage works and doesn't generate errors or crash TEST_P(FenceSyncTest, BasicOperations) { … } // Test that multiple fences and draws can be issued TEST_P(FenceSyncTest, MultipleFenceDraw) { … } ANGLE_INSTANTIATE_TEST_ES2_AND_ES3(…); GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…); ANGLE_INSTANTIATE_TEST_ES3(…);