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/debug/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 | 12 |
13 namespace cc { | 13 namespace cc { |
14 | 14 |
15 RenderPassDrawQuad::RenderPassDrawQuad() | 15 RenderPassDrawQuad::RenderPassDrawQuad() |
16 : render_pass_id(RenderPassId(-1, -1)), | 16 : render_pass_id(RenderPassId(-1, -1)), |
17 mask_resource_id(static_cast<ResourceProvider::ResourceId>(-1)) { | 17 mask_resource_id(static_cast<ResourceProvider::ResourceId>(-1)) { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 filters.AsValueInto(value); | 105 filters.AsValueInto(value); |
106 value->EndDictionary(); | 106 value->EndDictionary(); |
107 MathUtil::AddToTracedValue("filters_scale", filters_scale, value); | 107 MathUtil::AddToTracedValue("filters_scale", filters_scale, value); |
108 | 108 |
109 value->BeginDictionary("background_filters"); | 109 value->BeginDictionary("background_filters"); |
110 background_filters.AsValueInto(value); | 110 background_filters.AsValueInto(value); |
111 value->EndDictionary(); | 111 value->EndDictionary(); |
112 } | 112 } |
113 | 113 |
114 } // namespace cc | 114 } // namespace cc |
OLD | NEW |