// // 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. // // ClientActiveTextureTest.cpp: Tests basic usage of glClientActiveTexture. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "util/random_utils.h" #include <stdint.h> usingnamespaceangle; class ClientActiveTextureTest : public ANGLETest<> { … }; // State query: Checks the initial state is correct. TEST_P(ClientActiveTextureTest, InitialState) { … } // Negative test: Checks against invalid use of glClientActiveTexture. TEST_P(ClientActiveTextureTest, Negative) { … } // Checks that the number of multitexturing units is above spec minimum. TEST_P(ClientActiveTextureTest, Limits) { … } // Set test: Checks that GL_TEXTURE0..GL_TEXTURE[GL_MAX_TEXTURE_UNITS-1] can be set. TEST_P(ClientActiveTextureTest, Set) { … } ANGLE_INSTANTIATE_TEST_ES1(…);