// // 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. // // CurrentTextureCoordsTest.cpp: Tests basic usage of glMultiTexCoord4(f|x). #include "test_utils/ANGLETest.h" #include "common/vector_utils.h" #include "test_utils/gl_raii.h" #include "util/random_utils.h" #include <array> #include <stdint.h> usingnamespaceangle; TextureCoord; class CurrentTextureCoordsTest : public ANGLETest<> { … }; // State query: Checks the initial state is correct. TEST_P(CurrentTextureCoordsTest, InitialState) { … } // Checks that errors are generated if the texture unit specified is invalid. TEST_P(CurrentTextureCoordsTest, Negative) { … } // Tests setting and getting the current texture coordinates for each unit and with float/fixed // inputs. TEST_P(CurrentTextureCoordsTest, Set) { … } ANGLE_INSTANTIATE_TEST_ES1(…);