// // 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. // // FramebufferObjectTest.cpp: Tests basic usage of OES_framebuffer_object extension. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" usingnamespaceangle; class FramebufferObjectTest : public ANGLETest<> { … }; // Checks that framebuffer object can be used without GL errors. TEST_P(FramebufferObjectTest, FramebufferObject) { … } // Checks that texture object can be bound for framebuffer object. TEST_P(FramebufferObjectTest, TextureObject) { … } // Checks different formats for a texture object bound to a framebuffer object. TEST_P(FramebufferObjectTest, TextureObjectDifferentFormats) { … } // Checks that renderbuffer object can be used and can be bound for framebuffer object. TEST_P(FramebufferObjectTest, RenderbufferObject) { … } // Checks that generateMipmap can be called without GL errors. TEST_P(FramebufferObjectTest, GenerateMipmap) { … } ANGLE_INSTANTIATE_TEST_ES1(…);