| 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 "base/atomicops.h" | 7 #include "base/atomicops.h" |
| 8 #include "gpu/command_buffer/common/gl_mock.h" | |
| 9 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 8 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
| 10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
| 11 #include "gpu/command_buffer/common/id_allocator.h" | 10 #include "gpu/command_buffer/common/id_allocator.h" |
| 12 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 11 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
| 13 #include "gpu/command_buffer/service/context_group.h" | 12 #include "gpu/command_buffer/service/context_group.h" |
| 14 #include "gpu/command_buffer/service/gl_surface_mock.h" | 13 #include "gpu/command_buffer/service/gl_surface_mock.h" |
| 15 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" | 14 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" |
| 16 #include "gpu/command_buffer/service/image_manager.h" | 15 #include "gpu/command_buffer/service/image_manager.h" |
| 17 #include "gpu/command_buffer/service/mailbox_manager.h" | 16 #include "gpu/command_buffer/service/mailbox_manager.h" |
| 18 #include "gpu/command_buffer/service/program_manager.h" | 17 #include "gpu/command_buffer/service/program_manager.h" |
| 19 #include "gpu/command_buffer/service/stream_texture_manager_mock.h" | 18 #include "gpu/command_buffer/service/stream_texture_manager_mock.h" |
| 20 #include "gpu/command_buffer/service/stream_texture_mock.h" | 19 #include "gpu/command_buffer/service/stream_texture_mock.h" |
| 21 #include "gpu/command_buffer/service/test_helper.h" | 20 #include "gpu/command_buffer/service/test_helper.h" |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 23 #include "ui/gl/gl_implementation.h" | 22 #include "ui/gl/gl_implementation.h" |
| 23 #include "ui/gl/gl_mock.h" |
| 24 #include "ui/gl/gl_surface_stub.h" | 24 #include "ui/gl/gl_surface_stub.h" |
| 25 | 25 |
| 26 | 26 |
| 27 #if !defined(GL_DEPTH24_STENCIL8) | 27 #if !defined(GL_DEPTH24_STENCIL8) |
| 28 #define GL_DEPTH24_STENCIL8 0x88F0 | 28 #define GL_DEPTH24_STENCIL8 0x88F0 |
| 29 #endif | 29 #endif |
| 30 | 30 |
| 31 using ::gfx::MockGLInterface; | 31 using ::gfx::MockGLInterface; |
| 32 using ::testing::_; | 32 using ::testing::_; |
| 33 using ::testing::DoAll; | 33 using ::testing::DoAll; |
| (...skipping 7930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7964 // TODO(gman): TexImage2DImmediate | 7964 // TODO(gman): TexImage2DImmediate |
| 7965 | 7965 |
| 7966 // TODO(gman): TexSubImage2DImmediate | 7966 // TODO(gman): TexSubImage2DImmediate |
| 7967 | 7967 |
| 7968 // TODO(gman): UseProgram | 7968 // TODO(gman): UseProgram |
| 7969 | 7969 |
| 7970 // TODO(gman): SwapBuffers | 7970 // TODO(gman): SwapBuffers |
| 7971 | 7971 |
| 7972 } // namespace gles2 | 7972 } // namespace gles2 |
| 7973 } // namespace gpu | 7973 } // namespace gpu |
| OLD | NEW |