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

Side by Side Diff: cc/output/software_renderer.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/software_output_device.cc ('k') | no next file » | 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 "cc/output/software_renderer.h" 5 #include "cc/output/software_renderer.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "cc/base/math_util.h" 8 #include "cc/base/math_util.h"
9 #include "cc/output/compositor_frame.h" 9 #include "cc/output/compositor_frame.h"
10 #include "cc/output/compositor_frame_ack.h" 10 #include "cc/output/compositor_frame_ack.h"
(...skipping 11 matching lines...) Expand all
22 #include "cc/quads/tile_draw_quad.h" 22 #include "cc/quads/tile_draw_quad.h"
23 #include "cc/resources/raster_worker_pool.h" 23 #include "cc/resources/raster_worker_pool.h"
24 #include "skia/ext/opacity_draw_filter.h" 24 #include "skia/ext/opacity_draw_filter.h"
25 #include "third_party/skia/include/core/SkBitmapDevice.h" 25 #include "third_party/skia/include/core/SkBitmapDevice.h"
26 #include "third_party/skia/include/core/SkCanvas.h" 26 #include "third_party/skia/include/core/SkCanvas.h"
27 #include "third_party/skia/include/core/SkColor.h" 27 #include "third_party/skia/include/core/SkColor.h"
28 #include "third_party/skia/include/core/SkImageFilter.h" 28 #include "third_party/skia/include/core/SkImageFilter.h"
29 #include "third_party/skia/include/core/SkMatrix.h" 29 #include "third_party/skia/include/core/SkMatrix.h"
30 #include "third_party/skia/include/core/SkShader.h" 30 #include "third_party/skia/include/core/SkShader.h"
31 #include "third_party/skia/include/effects/SkLayerRasterizer.h" 31 #include "third_party/skia/include/effects/SkLayerRasterizer.h"
32 #include "ui/gfx/rect_conversions.h" 32 #include "ui/gfx/geometry/rect_conversions.h"
33 #include "ui/gfx/skia_util.h" 33 #include "ui/gfx/skia_util.h"
34 #include "ui/gfx/transform.h" 34 #include "ui/gfx/transform.h"
35 35
36 namespace cc { 36 namespace cc {
37 37
38 namespace { 38 namespace {
39 39
40 class OnDemandRasterTaskImpl : public Task { 40 class OnDemandRasterTaskImpl : public Task {
41 public: 41 public:
42 OnDemandRasterTaskImpl(PicturePileImpl* picture_pile, 42 OnDemandRasterTaskImpl(PicturePileImpl* picture_pile,
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 } 646 }
647 647
648 void SoftwareRenderer::DidChangeVisibility() { 648 void SoftwareRenderer::DidChangeVisibility() {
649 if (visible()) 649 if (visible())
650 EnsureBackbuffer(); 650 EnsureBackbuffer();
651 else 651 else
652 DiscardBackbuffer(); 652 DiscardBackbuffer();
653 } 653 }
654 654
655 } // namespace cc 655 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/software_output_device.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698