Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc

Issue 2443023002: gpu: Add CHROMIUM_copy_image extension.
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 3785 matching lines...) Expand 10 before | Expand all | Expand 10 after
3796 3796
3797 // Overridden from gl::GLImage: 3797 // Overridden from gl::GLImage:
3798 MOCK_METHOD0(GetSize, gfx::Size()); 3798 MOCK_METHOD0(GetSize, gfx::Size());
3799 MOCK_METHOD0(GetInternalFormat, unsigned()); 3799 MOCK_METHOD0(GetInternalFormat, unsigned());
3800 MOCK_METHOD1(Destroy, void(bool)); 3800 MOCK_METHOD1(Destroy, void(bool));
3801 MOCK_METHOD2(BindTexImage, bool(unsigned, gl::GLFence*)); 3801 MOCK_METHOD2(BindTexImage, bool(unsigned, gl::GLFence*));
3802 MOCK_METHOD1(ReleaseTexImage, void(unsigned)); 3802 MOCK_METHOD1(ReleaseTexImage, void(unsigned));
3803 MOCK_METHOD1(CopyTexImage, bool(unsigned)); 3803 MOCK_METHOD1(CopyTexImage, bool(unsigned));
3804 MOCK_METHOD3(CopyTexSubImage, 3804 MOCK_METHOD3(CopyTexSubImage,
3805 bool(unsigned, const gfx::Point&, const gfx::Rect&)); 3805 bool(unsigned, const gfx::Point&, const gfx::Rect&));
3806 MOCK_METHOD5(CopySubImageData,
3807 bool(unsigned,
3808 const gfx::Point&,
3809 const gfx::Rect&,
3810 gl::GLFence*,
3811 gl::GLFence*));
3806 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget, 3812 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget,
3807 int, 3813 int,
3808 gfx::OverlayTransform, 3814 gfx::OverlayTransform,
3809 const gfx::Rect&, 3815 const gfx::Rect&,
3810 const gfx::RectF&)); 3816 const gfx::RectF&));
3811 MOCK_METHOD3(OnMemoryDump, 3817 MOCK_METHOD3(OnMemoryDump,
3812 void(base::trace_event::ProcessMemoryDump*, 3818 void(base::trace_event::ProcessMemoryDump*,
3813 uint64_t, 3819 uint64_t,
3814 const std::string&)); 3820 const std::string&));
3815 void Flush() override {} 3821 void Flush() override {}
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
4689 // TODO(gman): CompressedTexSubImage2DImmediate 4695 // TODO(gman): CompressedTexSubImage2DImmediate
4690 4696
4691 // TODO(gman): TexImage2D 4697 // TODO(gman): TexImage2D
4692 4698
4693 // TODO(gman): TexImage2DImmediate 4699 // TODO(gman): TexImage2DImmediate
4694 4700
4695 // TODO(gman): TexSubImage2DImmediate 4701 // TODO(gman): TexSubImage2DImmediate
4696 4702
4697 } // namespace gles2 4703 } // namespace gles2
4698 } // namespace gpu 4704 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698