// // Copyright 2018 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. // // BasicDrawTest.cpp: Tests basic fullscreen quad draw with and without // GL_TEXTURE_2D enabled. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include <vector> usingnamespaceangle; class BasicDrawTest : public ANGLETest<> { … }; // Draws a fullscreen quad with a certain color. TEST_P(BasicDrawTest, DrawColor) { … } // Checks that textures can be enabled or disabled. TEST_P(BasicDrawTest, EnableDisableTexture) { … } // Check that glClearColorx, glClearDepthx, glLineWidthx, glPolygonOffsetx can work. TEST_P(BasicDrawTest, DepthTest) { … } // Check that depth range can be set by glDepthRangex. TEST_P(BasicDrawTest, SetDepthRangex) { … } // Check that sample coverage parameters can be set by glSampleCoveragex. TEST_P(BasicDrawTest, SetSampleCoveragex) { … } ANGLE_INSTANTIATE_TEST_ES1(…);