| OLD | NEW |
| 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/software_renderer.h" | 5 #include "cc/software_renderer.h" |
| 6 | 6 |
| 7 #include <public/WebImage.h> | |
| 8 | |
| 9 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
| 10 #include "cc/debug_border_draw_quad.h" | 8 #include "cc/debug_border_draw_quad.h" |
| 11 #include "cc/math_util.h" | 9 #include "cc/math_util.h" |
| 12 #include "cc/render_pass_draw_quad.h" | 10 #include "cc/render_pass_draw_quad.h" |
| 13 #include "cc/software_output_device.h" | 11 #include "cc/software_output_device.h" |
| 14 #include "cc/solid_color_draw_quad.h" | 12 #include "cc/solid_color_draw_quad.h" |
| 15 #include "cc/texture_draw_quad.h" | 13 #include "cc/texture_draw_quad.h" |
| 16 #include "cc/tile_draw_quad.h" | 14 #include "cc/tile_draw_quad.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebImage.h" |
| 17 #include "third_party/skia/include/core/SkCanvas.h" | 16 #include "third_party/skia/include/core/SkCanvas.h" |
| 18 #include "third_party/skia/include/core/SkColor.h" | 17 #include "third_party/skia/include/core/SkColor.h" |
| 19 #include "third_party/skia/include/core/SkMatrix.h" | 18 #include "third_party/skia/include/core/SkMatrix.h" |
| 20 #include "third_party/skia/include/core/SkShader.h" | 19 #include "third_party/skia/include/core/SkShader.h" |
| 21 #include "third_party/skia/include/effects/SkLayerRasterizer.h" | 20 #include "third_party/skia/include/effects/SkLayerRasterizer.h" |
| 22 #include "ui/gfx/rect_conversions.h" | 21 #include "ui/gfx/rect_conversions.h" |
| 23 #include "ui/gfx/skia_util.h" | 22 #include "ui/gfx/skia_util.h" |
| 24 #include "ui/gfx/transform.h" | 23 #include "ui/gfx/transform.h" |
| 25 | 24 |
| 26 namespace cc { | 25 namespace cc { |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 } | 374 } |
| 376 | 375 |
| 377 void SoftwareRenderer::setVisible(bool visible) | 376 void SoftwareRenderer::setVisible(bool visible) |
| 378 { | 377 { |
| 379 if (m_visible == visible) | 378 if (m_visible == visible) |
| 380 return; | 379 return; |
| 381 m_visible = visible; | 380 m_visible = visible; |
| 382 } | 381 } |
| 383 | 382 |
| 384 } // namespace cc | 383 } // namespace cc |
| OLD | NEW |