// // 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. // // EGLWaylandTest.cpp: tests for EGL_EXT_platform_wayland #include <gtest/gtest.h> #include <EGL/egl.h> #include <EGL/eglext.h> #include <wayland-client.h> #include <wayland-egl-backend.h> #include "test_utils/ANGLETest.h" #include "util/linux/wayland/WaylandWindow.h" usingnamespaceangle; namespace { const EGLint contextAttribs[] = …; } class EGLWaylandTest : public ANGLETest<> { … }; // Test that a Wayland window can be created and used for rendering TEST_P(EGLWaylandTest, WaylandWindowRendering) { … } // Test that a Wayland window can swap buffers multiple times with no issues TEST_P(EGLWaylandTest, SwapBuffers) { … } ANGLE_INSTANTIATE_TEST(…);