// // Copyright 2015 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. // #include "test_utils/ANGLETest.h" usingnamespaceangle; class FramebufferRenderMipmapTest : public ANGLETest<> { … }; // Validate that if we are in ES3 or GL_OES_fbo_render_mipmap exists, there are no validation errors // when using a non-zero level in glFramebufferTexture2D. TEST_P(FramebufferRenderMipmapTest, Validation) { … } // Render to various levels of a texture and check that they have the correct color data via // ReadPixels TEST_P(FramebufferRenderMipmapTest, RenderToMipmap) { … } // 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(…);