OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
11 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 11 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
12 #include "gpu/command_buffer/service/context_group.h" | 12 #include "gpu/command_buffer/service/context_group.h" |
13 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" | 13 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" |
14 #include "gpu/command_buffer/service/program_manager.h" | 14 #include "gpu/command_buffer/service/program_manager.h" |
15 #include "gpu/command_buffer/service/test_helper.h" | 15 #include "gpu/command_buffer/service/test_helper.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 #include "ui/gl/gl_mock.h" | 17 #include "ui/gl/gl_mock.h" |
18 | 18 |
19 using ::gfx::MockGLInterface; | 19 using ::gl::MockGLInterface; |
20 using ::testing::_; | 20 using ::testing::_; |
21 using ::testing::AnyNumber; | 21 using ::testing::AnyNumber; |
22 using ::testing::DoAll; | 22 using ::testing::DoAll; |
23 using ::testing::InSequence; | 23 using ::testing::InSequence; |
24 using ::testing::MatcherCast; | 24 using ::testing::MatcherCast; |
25 using ::testing::Pointee; | 25 using ::testing::Pointee; |
26 using ::testing::Return; | 26 using ::testing::Return; |
27 using ::testing::SetArrayArgument; | 27 using ::testing::SetArrayArgument; |
28 using ::testing::SetArgumentPointee; | 28 using ::testing::SetArgumentPointee; |
29 using ::testing::StrEq; | 29 using ::testing::StrEq; |
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 TestAcceptedUniform(GL_FLOAT_MAT4x2, Program::kUniformMatrix4x2f, true); | 1048 TestAcceptedUniform(GL_FLOAT_MAT4x2, Program::kUniformMatrix4x2f, true); |
1049 } | 1049 } |
1050 | 1050 |
1051 TEST_P(GLES2DecoderTest2, AcceptsUniform_GL_FLOAT_MAT4x3) { | 1051 TEST_P(GLES2DecoderTest2, AcceptsUniform_GL_FLOAT_MAT4x3) { |
1052 TestAcceptedUniform(GL_FLOAT_MAT4x3, Program::kUniformMatrix4x3f, true); | 1052 TestAcceptedUniform(GL_FLOAT_MAT4x3, Program::kUniformMatrix4x3f, true); |
1053 } | 1053 } |
1054 | 1054 |
1055 } // namespace gles2 | 1055 } // namespace gles2 |
1056 } // namespace gpu | 1056 } // namespace gpu |
1057 | 1057 |
OLD | NEW |