// // Copyright 2022 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. // // EGLImageMECFriendlyTest: // MEC friendly tests are tests that use all of the created resources, so that // MEC will have to capture everything, and we can test with capture/replay // whether this is done correctly. In this case the focus is on external images #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "util/EGLWindow.h" constexpr int kPixelThreshold = …; namespace angle { class EGLImageMECFriendlyTest : public ANGLETest<> { … }; // Test the use of an external texture, make the test friendly for triggering MEC // that is - use all the created resources in all frames TEST_P(EGLImageMECFriendlyTest, DrawExternalTextureInLoop) { … } ANGLE_INSTANTIATE_TEST_ES2_AND_ES3(…); } // namespace angle