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

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

Issue 416273005: cc/output: cleanup: Remove unnecessary #includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « cc/output/render_surface_filters.cc ('k') | cc/output/shader.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "cc/layers/append_quads_data.h" 6 #include "cc/layers/append_quads_data.h"
7 #include "cc/output/gl_renderer.h" 7 #include "cc/output/gl_renderer.h"
8 #include "cc/quads/draw_quad.h" 8 #include "cc/quads/draw_quad.h"
9 #include "cc/quads/picture_draw_quad.h" 9 #include "cc/quads/picture_draw_quad.h"
10 #include "cc/quads/texture_draw_quad.h" 10 #include "cc/quads/texture_draw_quad.h"
11 #include "cc/resources/video_resource_updater.h" 11 #include "cc/resources/video_resource_updater.h"
12 #include "cc/test/fake_picture_pile_impl.h" 12 #include "cc/test/fake_picture_pile_impl.h"
13 #include "cc/test/pixel_test.h" 13 #include "cc/test/pixel_test.h"
14 #include "gpu/GLES2/gl2extchromium.h"
15 #include "gpu/command_buffer/client/gles2_interface.h" 14 #include "gpu/command_buffer/client/gles2_interface.h"
16 #include "media/base/video_frame.h" 15 #include "media/base/video_frame.h"
17 #include "third_party/skia/include/core/SkBitmapDevice.h" 16 #include "third_party/skia/include/core/SkBitmapDevice.h"
17 #include "third_party/skia/include/core/SkColorPriv.h"
18 #include "third_party/skia/include/core/SkImageFilter.h" 18 #include "third_party/skia/include/core/SkImageFilter.h"
19 #include "third_party/skia/include/core/SkMatrix.h" 19 #include "third_party/skia/include/core/SkMatrix.h"
20 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h" 20 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h"
21 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" 21 #include "third_party/skia/include/effects/SkColorMatrixFilter.h"
22 #include "ui/gfx/rect_conversions.h" 22 #include "ui/gfx/geometry/rect_conversions.h"
23 23
24 using gpu::gles2::GLES2Interface; 24 using gpu::gles2::GLES2Interface;
25 25
26 namespace cc { 26 namespace cc {
27 namespace { 27 namespace {
28 28
29 #if !defined(OS_ANDROID) 29 #if !defined(OS_ANDROID)
30 scoped_ptr<RenderPass> CreateTestRootRenderPass(RenderPass::Id id, 30 scoped_ptr<RenderPass> CreateTestRootRenderPass(RenderPass::Id id,
31 const gfx::Rect& rect) { 31 const gfx::Rect& rect) {
32 scoped_ptr<RenderPass> pass = RenderPass::Create(); 32 scoped_ptr<RenderPass> pass = RenderPass::Create();
(...skipping 2141 matching lines...) Expand 10 before | Expand all | Expand 10 after
2174 EXPECT_TRUE(this->RunPixelTest( 2174 EXPECT_TRUE(this->RunPixelTest(
2175 &pass_list, 2175 &pass_list,
2176 base::FilePath(FILE_PATH_LITERAL("wrap_mode_repeat.png")), 2176 base::FilePath(FILE_PATH_LITERAL("wrap_mode_repeat.png")),
2177 FuzzyPixelOffByOneComparator(true))); 2177 FuzzyPixelOffByOneComparator(true)));
2178 } 2178 }
2179 2179
2180 #endif // !defined(OS_ANDROID) 2180 #endif // !defined(OS_ANDROID)
2181 2181
2182 } // namespace 2182 } // namespace
2183 } // namespace cc 2183 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/render_surface_filters.cc ('k') | cc/output/shader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698