OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/quads/render_pass_draw_quad.h" | 5 #include "cc/quads/render_pass_draw_quad.h" |
6 | 6 |
7 #include "base/trace_event/trace_event_argument.h" | 7 #include "base/trace_event/trace_event_argument.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "cc/base/math_util.h" | 9 #include "cc/base/math_util.h" |
10 #include "cc/debug/traced_value.h" | 10 #include "cc/debug/traced_value.h" |
11 #include "third_party/skia/include/core/SkImageFilter.h" | 11 #include "third_party/skia/include/core/SkImageFilter.h" |
| 12 #include "ui/gfx/geometry/rect_f.h" |
12 | 13 |
13 namespace cc { | 14 namespace cc { |
14 | 15 |
15 RenderPassDrawQuad::RenderPassDrawQuad() { | 16 RenderPassDrawQuad::RenderPassDrawQuad() { |
16 } | 17 } |
17 | 18 |
18 RenderPassDrawQuad::RenderPassDrawQuad(const RenderPassDrawQuad& other) = | 19 RenderPassDrawQuad::RenderPassDrawQuad(const RenderPassDrawQuad& other) = |
19 default; | 20 default; |
20 | 21 |
21 RenderPassDrawQuad::~RenderPassDrawQuad() { | 22 RenderPassDrawQuad::~RenderPassDrawQuad() { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 filters.AsValueInto(value); | 97 filters.AsValueInto(value); |
97 value->EndArray(); | 98 value->EndArray(); |
98 MathUtil::AddToTracedValue("filters_scale", filters_scale, value); | 99 MathUtil::AddToTracedValue("filters_scale", filters_scale, value); |
99 | 100 |
100 value->BeginDictionary("background_filters"); | 101 value->BeginDictionary("background_filters"); |
101 background_filters.AsValueInto(value); | 102 background_filters.AsValueInto(value); |
102 value->EndDictionary(); | 103 value->EndDictionary(); |
103 } | 104 } |
104 | 105 |
105 } // namespace cc | 106 } // namespace cc |
OLD | NEW |