| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.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" |
| (...skipping 2815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2826 | 2826 |
| 2827 // Overridden from gl::GLImage: | 2827 // Overridden from gl::GLImage: |
| 2828 MOCK_METHOD0(GetSize, gfx::Size()); | 2828 MOCK_METHOD0(GetSize, gfx::Size()); |
| 2829 MOCK_METHOD0(GetInternalFormat, unsigned()); | 2829 MOCK_METHOD0(GetInternalFormat, unsigned()); |
| 2830 MOCK_METHOD1(Destroy, void(bool)); | 2830 MOCK_METHOD1(Destroy, void(bool)); |
| 2831 MOCK_METHOD1(BindTexImage, bool(unsigned)); | 2831 MOCK_METHOD1(BindTexImage, bool(unsigned)); |
| 2832 MOCK_METHOD1(ReleaseTexImage, void(unsigned)); | 2832 MOCK_METHOD1(ReleaseTexImage, void(unsigned)); |
| 2833 MOCK_METHOD1(CopyTexImage, bool(unsigned)); | 2833 MOCK_METHOD1(CopyTexImage, bool(unsigned)); |
| 2834 MOCK_METHOD3(CopyTexSubImage, | 2834 MOCK_METHOD3(CopyTexSubImage, |
| 2835 bool(unsigned, const gfx::Point&, const gfx::Rect&)); | 2835 bool(unsigned, const gfx::Point&, const gfx::Rect&)); |
| 2836 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget, | 2836 MOCK_METHOD7(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget, |
| 2837 int, | 2837 int, |
| 2838 gfx::OverlayTransform, | 2838 gfx::OverlayTransform, |
| 2839 gfx::BufferFormat, |
| 2839 const gfx::Rect&, | 2840 const gfx::Rect&, |
| 2840 const gfx::RectF&)); | 2841 const gfx::RectF&, |
| 2842 bool)); |
| 2841 MOCK_METHOD3(OnMemoryDump, | 2843 MOCK_METHOD3(OnMemoryDump, |
| 2842 void(base::trace_event::ProcessMemoryDump*, | 2844 void(base::trace_event::ProcessMemoryDump*, |
| 2843 uint64_t, | 2845 uint64_t, |
| 2844 const std::string&)); | 2846 const std::string&)); |
| 2845 | 2847 |
| 2846 protected: | 2848 protected: |
| 2847 virtual ~MockGLImage() {} | 2849 virtual ~MockGLImage() {} |
| 2848 }; | 2850 }; |
| 2849 | 2851 |
| 2850 TEST_P(GLES2DecoderWithShaderTest, CopyTexImage) { | 2852 TEST_P(GLES2DecoderWithShaderTest, CopyTexImage) { |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3364 // TODO(gman): CompressedTexSubImage2DImmediate | 3366 // TODO(gman): CompressedTexSubImage2DImmediate |
| 3365 | 3367 |
| 3366 // TODO(gman): TexImage2D | 3368 // TODO(gman): TexImage2D |
| 3367 | 3369 |
| 3368 // TODO(gman): TexImage2DImmediate | 3370 // TODO(gman): TexImage2DImmediate |
| 3369 | 3371 |
| 3370 // TODO(gman): TexSubImage2DImmediate | 3372 // TODO(gman): TexSubImage2DImmediate |
| 3371 | 3373 |
| 3372 } // namespace gles2 | 3374 } // namespace gles2 |
| 3373 } // namespace gpu | 3375 } // namespace gpu |
| OLD | NEW |