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

Side by Side Diff: cc/trees/layer_tree_host_impl.cc

Issue 774413002: Update from https://crrev.com/306724 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_impl.h » ('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_impl.h" 5 #include "cc/trees/layer_tree_host_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 const LayerTreeSettings& settings, 184 const LayerTreeSettings& settings,
185 LayerTreeHostImplClient* client, 185 LayerTreeHostImplClient* client,
186 Proxy* proxy, 186 Proxy* proxy,
187 RenderingStatsInstrumentation* rendering_stats_instrumentation, 187 RenderingStatsInstrumentation* rendering_stats_instrumentation,
188 SharedBitmapManager* shared_bitmap_manager, 188 SharedBitmapManager* shared_bitmap_manager,
189 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, 189 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
190 int id) 190 int id)
191 : client_(client), 191 : client_(client),
192 proxy_(proxy), 192 proxy_(proxy),
193 use_gpu_rasterization_(false), 193 use_gpu_rasterization_(false),
194 gpu_rasterization_status_(GpuRasterizationStatus::OFF_DEVICE),
194 input_handler_client_(NULL), 195 input_handler_client_(NULL),
195 did_lock_scrolling_layer_(false), 196 did_lock_scrolling_layer_(false),
196 should_bubble_scrolls_(false), 197 should_bubble_scrolls_(false),
197 wheel_scrolling_(false), 198 wheel_scrolling_(false),
198 scroll_affects_scroll_handler_(false), 199 scroll_affects_scroll_handler_(false),
199 scroll_layer_id_when_mouse_over_scrollbar_(0), 200 scroll_layer_id_when_mouse_over_scrollbar_(0),
200 tile_priorities_dirty_(false), 201 tile_priorities_dirty_(false),
201 root_layer_scroll_offset_delegate_(NULL), 202 root_layer_scroll_offset_delegate_(NULL),
202 settings_(settings), 203 settings_(settings),
203 visible_(true), 204 visible_(true),
(...skipping 3282 matching lines...) Expand 10 before | Expand all | Expand 10 after
3486 } 3487 }
3487 3488
3488 void LayerTreeHostImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) { 3489 void LayerTreeHostImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) {
3489 std::vector<PictureLayerImpl*>::iterator it = 3490 std::vector<PictureLayerImpl*>::iterator it =
3490 std::find(picture_layers_.begin(), picture_layers_.end(), layer); 3491 std::find(picture_layers_.begin(), picture_layers_.end(), layer);
3491 DCHECK(it != picture_layers_.end()); 3492 DCHECK(it != picture_layers_.end());
3492 picture_layers_.erase(it); 3493 picture_layers_.erase(it);
3493 } 3494 }
3494 3495
3495 } // namespace cc 3496 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698