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

Side by Side Diff: cc/test/pixel_test.h

Issue 1013463003: Update from https://crrev.com/320931 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 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 "base/files/file_util.h" 5 #include "base/files/file_util.h"
6 #include "cc/output/gl_renderer.h" 6 #include "cc/output/gl_renderer.h"
7 #include "cc/output/software_renderer.h" 7 #include "cc/output/software_renderer.h"
8 #include "cc/quads/render_pass.h" 8 #include "cc/quads/render_pass.h"
9 #include "cc/test/pixel_comparator.h" 9 #include "cc/test/pixel_comparator.h"
10 #include "cc/trees/layer_tree_settings.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/gfx/geometry/size.h" 12 #include "ui/gfx/geometry/size.h"
12 #include "ui/gl/gl_implementation.h" 13 #include "ui/gl/gl_implementation.h"
13 14
14 #ifndef CC_TEST_PIXEL_TEST_H_ 15 #ifndef CC_TEST_PIXEL_TEST_H_
15 #define CC_TEST_PIXEL_TEST_H_ 16 #define CC_TEST_PIXEL_TEST_H_
16 17
17 namespace cc { 18 namespace cc {
18 class CopyOutputResult; 19 class CopyOutputResult;
19 class DirectRenderer; 20 class DirectRenderer;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 ForceExpandedViewport(gfx::Size(50, 50)); 165 ForceExpandedViewport(gfx::Size(50, 50));
165 ForceViewportOffset(gfx::Vector2d(10, 20)); 166 ForceViewportOffset(gfx::Vector2d(10, 20));
166 } 167 }
167 168
168 typedef RendererPixelTest<GLRenderer> GLRendererPixelTest; 169 typedef RendererPixelTest<GLRenderer> GLRendererPixelTest;
169 typedef RendererPixelTest<SoftwareRenderer> SoftwareRendererPixelTest; 170 typedef RendererPixelTest<SoftwareRenderer> SoftwareRendererPixelTest;
170 171
171 } // namespace cc 172 } // namespace cc
172 173
173 #endif // CC_TEST_PIXEL_TEST_H_ 174 #endif // CC_TEST_PIXEL_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_ui_resource_layer_tree_host_impl.cc ('k') | cc/trees/latency_info_swap_promise_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698