| 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/layers/heads_up_display_layer_impl.h" | 5 #include "cc/layers/heads_up_display_layer_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/numerics/safe_conversions.h" | 13 #include "base/numerics/safe_conversions.h" |
| 14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 15 #include "base/trace_event/trace_event.h" | 15 #include "base/trace_event/trace_event.h" |
| 16 #include "base/trace_event/trace_event_argument.h" | 16 #include "base/trace_event/trace_event_argument.h" |
| 17 #include "cc/debug/debug_colors.h" | 17 #include "cc/debug/debug_colors.h" |
| 18 #include "cc/debug/frame_rate_counter.h" | 18 #include "cc/debug/frame_rate_counter.h" |
| 19 #include "cc/output/begin_frame_args.h" | 19 #include "cc/output/begin_frame_args.h" |
| 20 #include "cc/output/renderer.h" | |
| 21 #include "cc/quads/texture_draw_quad.h" | 20 #include "cc/quads/texture_draw_quad.h" |
| 22 #include "cc/resources/memory_history.h" | 21 #include "cc/resources/memory_history.h" |
| 23 #include "cc/trees/layer_tree_host_impl.h" | 22 #include "cc/trees/layer_tree_host_impl.h" |
| 24 #include "cc/trees/layer_tree_impl.h" | 23 #include "cc/trees/layer_tree_impl.h" |
| 25 #include "skia/ext/platform_canvas.h" | 24 #include "skia/ext/platform_canvas.h" |
| 26 #include "third_party/skia/include/core/SkCanvas.h" | 25 #include "third_party/skia/include/core/SkCanvas.h" |
| 27 #include "third_party/skia/include/core/SkPaint.h" | 26 #include "third_party/skia/include/core/SkPaint.h" |
| 28 #include "third_party/skia/include/core/SkPath.h" | 27 #include "third_party/skia/include/core/SkPath.h" |
| 29 #include "third_party/skia/include/core/SkTypeface.h" | 28 #include "third_party/skia/include/core/SkTypeface.h" |
| 30 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" | 29 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" |
| (...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 return "cc::HeadsUpDisplayLayerImpl"; | 797 return "cc::HeadsUpDisplayLayerImpl"; |
| 799 } | 798 } |
| 800 | 799 |
| 801 void HeadsUpDisplayLayerImpl::AsValueInto( | 800 void HeadsUpDisplayLayerImpl::AsValueInto( |
| 802 base::trace_event::TracedValue* dict) const { | 801 base::trace_event::TracedValue* dict) const { |
| 803 LayerImpl::AsValueInto(dict); | 802 LayerImpl::AsValueInto(dict); |
| 804 dict->SetString("layer_name", "Heads Up Display Layer"); | 803 dict->SetString("layer_name", "Heads Up Display Layer"); |
| 805 } | 804 } |
| 806 | 805 |
| 807 } // namespace cc | 806 } // namespace cc |
| OLD | NEW |