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

Side by Side Diff: cc/test/layer_tree_pixel_test.cc

Issue 16046003: Move webkit/gpu into webkit/common/gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in content/common/gpu/client/gl_helper_* Created 7 years, 7 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
« no previous file with comments | « cc/test/DEPS ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/test/layer_tree_pixel_test.h" 5 #include "cc/test/layer_tree_pixel_test.h"
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "cc/output/copy_output_request.h" 8 #include "cc/output/copy_output_request.h"
9 #include "cc/test/paths.h" 9 #include "cc/test/paths.h"
10 #include "cc/test/pixel_comparator.h" 10 #include "cc/test/pixel_comparator.h"
11 #include "cc/test/pixel_test_utils.h" 11 #include "cc/test/pixel_test_utils.h"
12 #include "cc/trees/layer_tree_impl.h" 12 #include "cc/trees/layer_tree_impl.h"
13 #include "ui/gl/gl_implementation.h" 13 #include "ui/gl/gl_implementation.h"
14 #include "webkit/gpu/context_provider_in_process.h" 14 #include "webkit/common/gpu/context_provider_in_process.h"
15 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" 15 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl. h"
16 16
17 namespace cc { 17 namespace cc {
18 18
19 LayerTreePixelTest::LayerTreePixelTest() 19 LayerTreePixelTest::LayerTreePixelTest()
20 : pixel_comparator_(new ExactPixelComparator(true)) {} 20 : pixel_comparator_(new ExactPixelComparator(true)) {}
21 21
22 LayerTreePixelTest::~LayerTreePixelTest() {} 22 LayerTreePixelTest::~LayerTreePixelTest() {}
23 23
24 scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface() { 24 scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface() {
25 CHECK(gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL)); 25 CHECK(gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL));
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 void LayerTreePixelTest::SetupTree() { 135 void LayerTreePixelTest::SetupTree() {
136 scoped_refptr<Layer> root = Layer::Create(); 136 scoped_refptr<Layer> root = Layer::Create();
137 root->SetBounds(content_root_->bounds()); 137 root->SetBounds(content_root_->bounds());
138 root->AddChild(content_root_); 138 root->AddChild(content_root_);
139 layer_tree_host()->SetRootLayer(root); 139 layer_tree_host()->SetRootLayer(root);
140 LayerTreeTest::SetupTree(); 140 LayerTreeTest::SetupTree();
141 } 141 }
142 142
143 } // namespace cc 143 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/DEPS ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698