// // Copyright 2022 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. // // ColorMaterialTest.cpp: Tests basic usage of texture environments. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "util/random_utils.h" #include <stdint.h> usingnamespaceangle; class ColorMaterialTest : public ANGLETest<> { … }; // Ensure that when GL_COLOR_MATERIAL is enabled, material properties are // inherited from glColor4f TEST_P(ColorMaterialTest, ColorMaterialOn) { … } // Ensure that when GL_COLOR_MATERIAL is disabled, material properties are // inherited from glMaterialfv TEST_P(ColorMaterialTest, ColorMaterialOff) { … } ANGLE_INSTANTIATE_TEST_ES1(…);