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 2728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2739 class MockGLImage : public gfx::GLImage { | 2739 class MockGLImage : public gfx::GLImage { |
2740 public: | 2740 public: |
2741 MockGLImage() {} | 2741 MockGLImage() {} |
2742 | 2742 |
2743 // Overridden from gfx::GLImage: | 2743 // Overridden from gfx::GLImage: |
2744 MOCK_METHOD0(GetSize, gfx::Size()); | 2744 MOCK_METHOD0(GetSize, gfx::Size()); |
2745 MOCK_METHOD0(GetInternalFormat, unsigned()); | 2745 MOCK_METHOD0(GetInternalFormat, unsigned()); |
2746 MOCK_METHOD1(Destroy, void(bool)); | 2746 MOCK_METHOD1(Destroy, void(bool)); |
2747 MOCK_METHOD1(BindTexImage, bool(unsigned)); | 2747 MOCK_METHOD1(BindTexImage, bool(unsigned)); |
2748 MOCK_METHOD1(ReleaseTexImage, void(unsigned)); | 2748 MOCK_METHOD1(ReleaseTexImage, void(unsigned)); |
2749 MOCK_METHOD1(CopyTexImage, bool(unsigned)); | 2749 MOCK_METHOD3(CopyTexSubImage, |
| 2750 bool(unsigned, const gfx::Point&, const gfx::Rect&)); |
2750 MOCK_METHOD0(WillUseTexImage, void()); | 2751 MOCK_METHOD0(WillUseTexImage, void()); |
2751 MOCK_METHOD0(DidUseTexImage, void()); | 2752 MOCK_METHOD0(DidUseTexImage, void()); |
2752 MOCK_METHOD0(WillModifyTexImage, void()); | 2753 MOCK_METHOD0(WillModifyTexImage, void()); |
2753 MOCK_METHOD0(DidModifyTexImage, void()); | 2754 MOCK_METHOD0(DidModifyTexImage, void()); |
2754 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget, | 2755 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget, |
2755 int, | 2756 int, |
2756 gfx::OverlayTransform, | 2757 gfx::OverlayTransform, |
2757 const gfx::Rect&, | 2758 const gfx::Rect&, |
2758 const gfx::RectF&)); | 2759 const gfx::RectF&)); |
2759 | 2760 |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3291 // TODO(gman): CompressedTexSubImage2DImmediate | 3292 // TODO(gman): CompressedTexSubImage2DImmediate |
3292 | 3293 |
3293 // TODO(gman): TexImage2D | 3294 // TODO(gman): TexImage2D |
3294 | 3295 |
3295 // TODO(gman): TexImage2DImmediate | 3296 // TODO(gman): TexImage2DImmediate |
3296 | 3297 |
3297 // TODO(gman): TexSubImage2DImmediate | 3298 // TODO(gman): TexSubImage2DImmediate |
3298 | 3299 |
3299 } // namespace gles2 | 3300 } // namespace gles2 |
3300 } // namespace gpu | 3301 } // namespace gpu |
OLD | NEW |