// // 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. // // MatrixLoadTest.cpp: Tests basic usage of glColor4(f|ub|x). #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "common/matrix_utils.h" #include "util/random_utils.h" #include <stdint.h> usingnamespaceangle; class MatrixLoadTest : public ANGLETest<> { … }; // Checks that a matrix can be loaded. TEST_P(MatrixLoadTest, Basic) { … } // Checks that loading a matrix doesn't affect the matrix below in the stack. TEST_P(MatrixLoadTest, PushPop) { … } // Checks that matrices can be loaded for each type of matrix. TEST_P(MatrixLoadTest, Modes) { … } ANGLE_INSTANTIATE_TEST_ES1(…);