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

Side by Side Diff: cc/output/texture_copier_unittest.cc

Issue 12912006: Part 4 of cc/ directory shuffles: output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "cc/texture_copier.h" 5 #include "cc/output/texture_copier.h"
6 6
7 #include "cc/test/test_web_graphics_context_3d.h" 7 #include "cc/test/test_web_graphics_context_3d.h"
8 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "third_party/khronos/GLES2/gl2.h" 10 #include "third_party/khronos/GLES2/gl2.h"
11 11
12 using namespace WebKit; 12 using namespace WebKit;
13 using testing::InSequence; 13 using testing::InSequence;
14 using testing::Test; 14 using testing::Test;
15 using testing::_; 15 using testing::_;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 int dest_texture_id = mock_context->createTexture(); 64 int dest_texture_id = mock_context->createTexture();
65 gfx::Size size(256, 128); 65 gfx::Size size(256, 128);
66 scoped_ptr<AcceleratedTextureCopier> copier( 66 scoped_ptr<AcceleratedTextureCopier> copier(
67 AcceleratedTextureCopier::Create(mock_context.get(), false)); 67 AcceleratedTextureCopier::Create(mock_context.get(), false));
68 TextureCopier::Parameters copy = { source_texture_id, dest_texture_id, size }; 68 TextureCopier::Parameters copy = { source_texture_id, dest_texture_id, size };
69 copier->CopyTexture(copy); 69 copier->CopyTexture(copy);
70 } 70 }
71 71
72 } // namespace 72 } // namespace
73 } // namespace cc 73 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/texture_copier.cc ('k') | cc/output_surface.h » ('j') | content/common/view_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698