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

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

Issue 2318953004: cc: Remove unused TextureMailboxDeleter from LayerTreeHostImpl. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | no next file » | 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 <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "cc/layers/layer_impl.h" 46 #include "cc/layers/layer_impl.h"
47 #include "cc/layers/layer_iterator.h" 47 #include "cc/layers/layer_iterator.h"
48 #include "cc/layers/painted_scrollbar_layer_impl.h" 48 #include "cc/layers/painted_scrollbar_layer_impl.h"
49 #include "cc/layers/render_surface_impl.h" 49 #include "cc/layers/render_surface_impl.h"
50 #include "cc/layers/scrollbar_layer_impl_base.h" 50 #include "cc/layers/scrollbar_layer_impl_base.h"
51 #include "cc/layers/surface_layer_impl.h" 51 #include "cc/layers/surface_layer_impl.h"
52 #include "cc/layers/viewport.h" 52 #include "cc/layers/viewport.h"
53 #include "cc/output/compositor_frame.h" 53 #include "cc/output/compositor_frame.h"
54 #include "cc/output/compositor_frame_metadata.h" 54 #include "cc/output/compositor_frame_metadata.h"
55 #include "cc/output/copy_output_request.h" 55 #include "cc/output/copy_output_request.h"
56 #include "cc/output/texture_mailbox_deleter.h"
57 #include "cc/quads/render_pass_draw_quad.h" 56 #include "cc/quads/render_pass_draw_quad.h"
58 #include "cc/quads/shared_quad_state.h" 57 #include "cc/quads/shared_quad_state.h"
59 #include "cc/quads/solid_color_draw_quad.h" 58 #include "cc/quads/solid_color_draw_quad.h"
60 #include "cc/quads/texture_draw_quad.h" 59 #include "cc/quads/texture_draw_quad.h"
61 #include "cc/raster/bitmap_raster_buffer_provider.h" 60 #include "cc/raster/bitmap_raster_buffer_provider.h"
62 #include "cc/raster/gpu_raster_buffer_provider.h" 61 #include "cc/raster/gpu_raster_buffer_provider.h"
63 #include "cc/raster/one_copy_raster_buffer_provider.h" 62 #include "cc/raster/one_copy_raster_buffer_provider.h"
64 #include "cc/raster/raster_buffer_provider.h" 63 #include "cc/raster/raster_buffer_provider.h"
65 #include "cc/raster/synchronous_task_graph_runner.h" 64 #include "cc/raster/synchronous_task_graph_runner.h"
66 #include "cc/raster/zero_copy_raster_buffer_provider.h" 65 #include "cc/raster/zero_copy_raster_buffer_provider.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ? std::numeric_limits<size_t>::max() 223 ? std::numeric_limits<size_t>::max()
225 : settings.scheduled_raster_task_limit, 224 : settings.scheduled_raster_task_limit,
226 settings.use_partial_raster, 225 settings.use_partial_raster,
227 settings.max_preraster_distance_in_screen_pixels), 226 settings.max_preraster_distance_in_screen_pixels),
228 pinch_gesture_active_(false), 227 pinch_gesture_active_(false),
229 pinch_gesture_end_should_clear_scrolling_layer_(false), 228 pinch_gesture_end_should_clear_scrolling_layer_(false),
230 fps_counter_( 229 fps_counter_(
231 FrameRateCounter::Create(task_runner_provider_->HasImplThread())), 230 FrameRateCounter::Create(task_runner_provider_->HasImplThread())),
232 memory_history_(MemoryHistory::Create()), 231 memory_history_(MemoryHistory::Create()),
233 debug_rect_history_(DebugRectHistory::Create()), 232 debug_rect_history_(DebugRectHistory::Create()),
234 texture_mailbox_deleter_(new TextureMailboxDeleter(GetTaskRunner())),
235 max_memory_needed_bytes_(0), 233 max_memory_needed_bytes_(0),
236 resourceless_software_draw_(false), 234 resourceless_software_draw_(false),
237 animation_host_(std::move(animation_host)), 235 animation_host_(std::move(animation_host)),
238 rendering_stats_instrumentation_(rendering_stats_instrumentation), 236 rendering_stats_instrumentation_(rendering_stats_instrumentation),
239 micro_benchmark_controller_(this), 237 micro_benchmark_controller_(this),
240 shared_bitmap_manager_(shared_bitmap_manager), 238 shared_bitmap_manager_(shared_bitmap_manager),
241 gpu_memory_buffer_manager_(gpu_memory_buffer_manager), 239 gpu_memory_buffer_manager_(gpu_memory_buffer_manager),
242 task_graph_runner_(task_graph_runner), 240 task_graph_runner_(task_graph_runner),
243 id_(id), 241 id_(id),
244 requires_high_res_to_draw_(false), 242 requires_high_res_to_draw_(false),
(...skipping 3935 matching lines...) Expand 10 before | Expand all | Expand 10 after
4180 if (is_visible) { 4178 if (is_visible) {
4181 worker_context_visibility_ = 4179 worker_context_visibility_ =
4182 worker_context->CacheController()->ClientBecameVisible(); 4180 worker_context->CacheController()->ClientBecameVisible();
4183 } else { 4181 } else {
4184 worker_context->CacheController()->ClientBecameNotVisible( 4182 worker_context->CacheController()->ClientBecameNotVisible(
4185 std::move(worker_context_visibility_)); 4183 std::move(worker_context_visibility_));
4186 } 4184 }
4187 } 4185 }
4188 4186
4189 } // namespace cc 4187 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698