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

Side by Side Diff: trunk/src/cc/trees/layer_tree_host.cc

Issue 13316003: Revert 191364 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/cc/trees/layer_sorter.cc ('k') | trunk/src/cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 needs_full_tree_sync_(true), 79 needs_full_tree_sync_(true),
80 needs_filter_context_(false), 80 needs_filter_context_(false),
81 client_(client), 81 client_(client),
82 commit_number_(0), 82 commit_number_(0),
83 rendering_stats_instrumentation_(RenderingStatsInstrumentation::Create()), 83 rendering_stats_instrumentation_(RenderingStatsInstrumentation::Create()),
84 renderer_initialized_(false), 84 renderer_initialized_(false),
85 output_surface_lost_(false), 85 output_surface_lost_(false),
86 num_failed_recreate_attempts_(0), 86 num_failed_recreate_attempts_(0),
87 settings_(settings), 87 settings_(settings),
88 debug_state_(settings.initial_debug_state), 88 debug_state_(settings.initial_debug_state),
89 overdraw_bottom_height_(0.f),
90 device_scale_factor_(1.f), 89 device_scale_factor_(1.f),
91 visible_(true), 90 visible_(true),
92 page_scale_factor_(1.f), 91 page_scale_factor_(1.f),
93 min_page_scale_factor_(1.f), 92 min_page_scale_factor_(1.f),
94 max_page_scale_factor_(1.f), 93 max_page_scale_factor_(1.f),
94 overdraw_bottom_height_(0.f),
95 trigger_idle_updates_(true), 95 trigger_idle_updates_(true),
96 background_color_(SK_ColorWHITE), 96 background_color_(SK_ColorWHITE),
97 has_transparent_background_(false), 97 has_transparent_background_(false),
98 partial_texture_update_requests_(0) { 98 partial_texture_update_requests_(0) {
99 if (settings_.accelerated_animation_enabled) 99 if (settings_.accelerated_animation_enabled)
100 animation_registrar_ = AnimationRegistrar::Create(); 100 animation_registrar_ = AnimationRegistrar::Create();
101 s_num_layer_tree_instances++; 101 s_num_layer_tree_instances++;
102 102
103 rendering_stats_instrumentation_->set_record_rendering_stats( 103 rendering_stats_instrumentation_->set_record_rendering_stats(
104 debug_state_.RecordRenderingStats()); 104 debug_state_.RecordRenderingStats());
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 SetAnimationEventsRecursive(events, 1077 SetAnimationEventsRecursive(events,
1078 layer->children()[child_index].get(), 1078 layer->children()[child_index].get(),
1079 wall_clock_time); 1079 wall_clock_time);
1080 } 1080 }
1081 1081
1082 skia::RefPtr<SkPicture> LayerTreeHost::CapturePicture() { 1082 skia::RefPtr<SkPicture> LayerTreeHost::CapturePicture() {
1083 return proxy_->CapturePicture(); 1083 return proxy_->CapturePicture();
1084 } 1084 }
1085 1085
1086 } // namespace cc 1086 } // namespace cc
OLDNEW
« no previous file with comments | « trunk/src/cc/trees/layer_sorter.cc ('k') | trunk/src/cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698