// // Copyright 2019 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. // // EGLAndroidFrameBufferTargetTest.cpp: // This test verifies the extension EGL_ANDROID_framebuffer_target // 1. When the EGLFRAME_BUFFER_TARGET_ANDROID attribute is used with eglChooseConfig // It should match with configs according to Config selection rules and the extension // #include <gtest/gtest.h> #include "common/string_utils.h" #include "test_utils/ANGLETest.h" usingnamespaceangle; class EGLAndroidFrameBufferTargetTest : public ANGLETest<> { … }; namespace { EGLint GetAttrib(EGLDisplay display, EGLConfig config, EGLint attrib) { … } } // namespace // Verify config matching is working. TEST_P(EGLAndroidFrameBufferTargetTest, MatchFramebufferTargetConfigs) { … } ANGLE_INSTANTIATE_TEST(…); // This test suite is not instantiated on some OSes. GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);