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

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

Issue 977853002: Reland of Revert of gpu: introduce glCopySubTextureCHROMIUM (patchset #1 id:1 of https://codereview… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply image optimization to CopySubTexture. move glValidateProgram Created 5 years, 9 months 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 "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 2349 matching lines...) Expand 10 before | Expand all | Expand 10 after
2360 2360
2361 class MockGLImage : public gfx::GLImage { 2361 class MockGLImage : public gfx::GLImage {
2362 public: 2362 public:
2363 MockGLImage() {} 2363 MockGLImage() {}
2364 2364
2365 // Overridden from gfx::GLImage: 2365 // Overridden from gfx::GLImage:
2366 MOCK_METHOD0(GetSize, gfx::Size()); 2366 MOCK_METHOD0(GetSize, gfx::Size());
2367 MOCK_METHOD1(Destroy, void(bool)); 2367 MOCK_METHOD1(Destroy, void(bool));
2368 MOCK_METHOD1(BindTexImage, bool(unsigned)); 2368 MOCK_METHOD1(BindTexImage, bool(unsigned));
2369 MOCK_METHOD1(ReleaseTexImage, void(unsigned)); 2369 MOCK_METHOD1(ReleaseTexImage, void(unsigned));
2370 MOCK_METHOD1(CopyTexImage, bool(unsigned)); 2370 MOCK_METHOD3(CopyTexSubImage, bool(unsigned, int, int));
2371 MOCK_METHOD0(WillUseTexImage, void()); 2371 MOCK_METHOD0(WillUseTexImage, void());
2372 MOCK_METHOD0(DidUseTexImage, void()); 2372 MOCK_METHOD0(DidUseTexImage, void());
2373 MOCK_METHOD0(WillModifyTexImage, void()); 2373 MOCK_METHOD0(WillModifyTexImage, void());
2374 MOCK_METHOD0(DidModifyTexImage, void()); 2374 MOCK_METHOD0(DidModifyTexImage, void());
2375 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget, 2375 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget,
2376 int, 2376 int,
2377 gfx::OverlayTransform, 2377 gfx::OverlayTransform,
2378 const gfx::Rect&, 2378 const gfx::Rect&,
2379 const gfx::RectF&)); 2379 const gfx::RectF&));
2380 2380
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
2912 // TODO(gman): CompressedTexSubImage2DImmediate 2912 // TODO(gman): CompressedTexSubImage2DImmediate
2913 2913
2914 // TODO(gman): TexImage2D 2914 // TODO(gman): TexImage2D
2915 2915
2916 // TODO(gman): TexImage2DImmediate 2916 // TODO(gman): TexImage2DImmediate
2917 2917
2918 // TODO(gman): TexSubImage2DImmediate 2918 // TODO(gman): TexSubImage2DImmediate
2919 2919
2920 } // namespace gles2 2920 } // namespace gles2
2921 } // namespace gpu 2921 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698