OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "app/gfx/gl/gl_mock.h" |
7 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 8 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
8 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
9 #include "gpu/command_buffer/service/gl_mock.h" | |
10 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" | 10 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.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/program_manager.h" | 13 #include "gpu/command_buffer/service/program_manager.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 using ::gles2::MockGLInterface; | 16 using ::gfx::MockGLInterface; |
17 using ::testing::_; | 17 using ::testing::_; |
18 using ::testing::DoAll; | 18 using ::testing::DoAll; |
19 using ::testing::InSequence; | 19 using ::testing::InSequence; |
20 using ::testing::MatcherCast; | 20 using ::testing::MatcherCast; |
21 using ::testing::Pointee; | 21 using ::testing::Pointee; |
22 using ::testing::Return; | 22 using ::testing::Return; |
23 using ::testing::SetArrayArgument; | 23 using ::testing::SetArrayArgument; |
24 using ::testing::SetArgumentPointee; | 24 using ::testing::SetArgumentPointee; |
25 using ::testing::StrEq; | 25 using ::testing::StrEq; |
26 | 26 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 bool /* valid */) { | 74 bool /* valid */) { |
75 DoBindRenderbuffer(GL_RENDERBUFFER, client_renderbuffer_id_, | 75 DoBindRenderbuffer(GL_RENDERBUFFER, client_renderbuffer_id_, |
76 kServiceRenderbufferId); | 76 kServiceRenderbufferId); |
77 }; | 77 }; |
78 | 78 |
79 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h" | 79 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h" |
80 | 80 |
81 } // namespace gles2 | 81 } // namespace gles2 |
82 } // namespace gpu | 82 } // namespace gpu |
83 | 83 |
OLD | NEW |