| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
| 7 | 7 |
| 8 #include "gpu/command_buffer/common/gl_mock.h" | 8 #include "gpu/command_buffer/common/gl_mock.h" |
| 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/buffer_manager.h" | 11 #include "gpu/command_buffer/service/buffer_manager.h" |
| 12 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 12 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
| 13 #include "gpu/command_buffer/service/context_group.h" | 13 #include "gpu/command_buffer/service/context_group.h" |
| 14 #include "gpu/command_buffer/service/framebuffer_manager.h" | 14 #include "gpu/command_buffer/service/framebuffer_manager.h" |
| 15 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 15 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
| 16 #include "gpu/command_buffer/service/program_manager.h" | 16 #include "gpu/command_buffer/service/program_manager.h" |
| 17 #include "gpu/command_buffer/service/renderbuffer_manager.h" | 17 #include "gpu/command_buffer/service/renderbuffer_manager.h" |
| 18 #include "gpu/command_buffer/service/shader_manager.h" | 18 #include "gpu/command_buffer/service/shader_manager.h" |
| 19 #include "gpu/command_buffer/service/surface_manager_mock.h" | 19 #include "gpu/command_buffer/service/surface_manager_mock.h" |
| 20 #include "gpu/command_buffer/service/texture_manager.h" | 20 #include "gpu/command_buffer/service/texture_manager.h" |
| 21 #include "gpu/GLES2/gles2_command_buffer.h" | |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 23 #include "ui/gfx/gl/gl_context_stub.h" | 22 #include "ui/gfx/gl/gl_context_stub.h" |
| 24 #include "ui/gfx/gl/gl_surface_stub.h" | 23 #include "ui/gfx/gl/gl_surface_stub.h" |
| 25 | 24 |
| 26 namespace gpu { | 25 namespace gpu { |
| 27 namespace gles2 { | 26 namespace gles2 { |
| 28 | 27 |
| 29 class GLES2DecoderTestBase : public testing::Test { | 28 class GLES2DecoderTestBase : public testing::Test { |
| 30 public: | 29 public: |
| 31 GLES2DecoderTestBase(); | 30 GLES2DecoderTestBase(); |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 void DeleteIndexBuffer(); | 415 void DeleteIndexBuffer(); |
| 417 | 416 |
| 418 GLuint client_vertex_shader_id_; | 417 GLuint client_vertex_shader_id_; |
| 419 GLuint client_fragment_shader_id_; | 418 GLuint client_fragment_shader_id_; |
| 420 }; | 419 }; |
| 421 | 420 |
| 422 } // namespace gles2 | 421 } // namespace gles2 |
| 423 } // namespace gpu | 422 } // namespace gpu |
| 424 | 423 |
| 425 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 424 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
| OLD | NEW |