// // Copyright 2023 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. // // PolygonModeTest.cpp: Test cases for GL_NV_polygon_mode and GL_ANGLE_polygon_mode // #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" usingnamespaceangle; class PolygonModeTest : public ANGLETest<> { … }; // New state queries and commands fail without the extension TEST_P(PolygonModeTest, NoExtension) { … } // Test NV_polygon_mode entrypoints TEST_P(PolygonModeTest, ExtensionStateNV) { … } // Test ANGLE_polygon_mode entrypoints TEST_P(PolygonModeTest, ExtensionStateANGLE) { … } // Test line rasterization mode TEST_P(PolygonModeTest, DrawLines) { … } // Test line rasterization mode with depth offset TEST_P(PolygonModeTest, DrawLinesWithDepthOffset) { … } ANGLE_INSTANTIATE_TEST_ES2_AND_ES3(…);