// // 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. // // MatrixStackTest.cpp: Tests basic usage of gl(Push|Pop)Matrix. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include <vector> usingnamespaceangle; class MatrixStackTest : public ANGLETest<> { … }; // State query: Checks the initial state is correct; that there is only one matrix on the stack. TEST_P(MatrixStackTest, InitialState) { … } // Tests that caps are greater than or equal to spec minimums and that we can actually push them // that much. TEST_P(MatrixStackTest, Limits) { … } ANGLE_INSTANTIATE_TEST_ES1(…);