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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 2259083002: cc: Correct elastic overscroll synchronization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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.cc ('k') | cc/trees/layer_tree_host.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 #ifndef CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 415
416 const LayerTreeSettings settings_; 416 const LayerTreeSettings settings_;
417 LayerTreeDebugState debug_state_; 417 LayerTreeDebugState debug_state_;
418 418
419 bool visible_; 419 bool visible_;
420 420
421 bool has_gpu_rasterization_trigger_; 421 bool has_gpu_rasterization_trigger_;
422 bool content_is_suitable_for_gpu_rasterization_; 422 bool content_is_suitable_for_gpu_rasterization_;
423 bool gpu_rasterization_histogram_recorded_; 423 bool gpu_rasterization_histogram_recorded_;
424 424
425 gfx::Vector2dF elastic_overscroll_;
426
427 // If set, then page scale animation has completed, but the client hasn't been 425 // If set, then page scale animation has completed, but the client hasn't been
428 // notified about it yet. 426 // notified about it yet.
429 bool did_complete_scale_animation_; 427 bool did_complete_scale_animation_;
430 428
431 int id_; 429 int id_;
432 bool next_commit_forces_redraw_; 430 bool next_commit_forces_redraw_;
433 431
434 SharedBitmapManager* shared_bitmap_manager_; 432 SharedBitmapManager* shared_bitmap_manager_;
435 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; 433 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_;
436 TaskGraphRunner* task_graph_runner_; 434 TaskGraphRunner* task_graph_runner_;
437 435
438 ImageSerializationProcessor* image_serialization_processor_; 436 ImageSerializationProcessor* image_serialization_processor_;
439 std::unique_ptr<EnginePictureCache> engine_picture_cache_; 437 std::unique_ptr<EnginePictureCache> engine_picture_cache_;
440 std::unique_ptr<ClientPictureCache> client_picture_cache_; 438 std::unique_ptr<ClientPictureCache> client_picture_cache_;
441 439
442 std::vector<std::unique_ptr<SwapPromise>> swap_promise_list_; 440 std::vector<std::unique_ptr<SwapPromise>> swap_promise_list_;
443 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 441 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
444 442
445 uint32_t surface_client_id_; 443 uint32_t surface_client_id_;
446 uint32_t next_surface_sequence_; 444 uint32_t next_surface_sequence_;
447 uint32_t num_consecutive_frames_suitable_for_gpu_ = 0; 445 uint32_t num_consecutive_frames_suitable_for_gpu_ = 0;
448 446
449 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 447 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
450 }; 448 };
451 449
452 } // namespace cc 450 } // namespace cc
453 451
454 #endif // CC_TREES_LAYER_TREE_HOST_H_ 452 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698