// // Copyright 2020 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. // // ExternalWrapTest: // Tests EXT_EGL_image_external_wrap_modes // #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "util/EGLWindow.h" constexpr int kPixelThreshold = …; namespace angle { class ExternalWrapTest : public ANGLETest<> { … }; // Test the default sampling behavior of an external texture TEST_P(ExternalWrapTest, NoWrap) { … } // Test that external textures are sampled correctly when used with GL_CLAMP_TO_EDGE TEST_P(ExternalWrapTest, ClampToEdge) { … } // Test that external textures are sampled correctly when used with GL_REPEAT TEST_P(ExternalWrapTest, Repeat) { … } // Test that external textures are sampled correctly when used with GL_MIRRORED_REPEAT TEST_P(ExternalWrapTest, MirroredRepeat) { … } // 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