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

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

Issue 2144303002: Made layout viewport scroll updates from compositor work like ordinary layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rootScrollerOnCompositor
Patch Set: Created 4 years, 5 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
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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 467
468 MicroBenchmarkController micro_benchmark_controller_; 468 MicroBenchmarkController micro_benchmark_controller_;
469 469
470 void OnCommitForSwapPromises(); 470 void OnCommitForSwapPromises();
471 471
472 void RecordGpuRasterizationHistogram(); 472 void RecordGpuRasterizationHistogram();
473 473
474 private: 474 private:
475 friend class LayerTreeHostSerializationTest; 475 friend class LayerTreeHostSerializationTest;
476 476
477 void ApplyViewportDeltas(ScrollAndScaleSet* info);
477 void InitializeProxy( 478 void InitializeProxy(
478 std::unique_ptr<Proxy> proxy, 479 std::unique_ptr<Proxy> proxy,
479 std::unique_ptr<BeginFrameSource> external_begin_frame_source); 480 std::unique_ptr<BeginFrameSource> external_begin_frame_source);
480 481
481 bool DoUpdateLayers(Layer* root_layer); 482 bool DoUpdateLayers(Layer* root_layer);
482 void UpdateHudLayer(); 483 void UpdateHudLayer();
483 484
484 bool AnimateLayersRecursive(Layer* current, base::TimeTicks time); 485 bool AnimateLayersRecursive(Layer* current, base::TimeTicks time);
485 486
486 struct UIResourceClientData { 487 struct UIResourceClientData {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 601
601 uint32_t surface_id_namespace_; 602 uint32_t surface_id_namespace_;
602 uint32_t next_surface_sequence_; 603 uint32_t next_surface_sequence_;
603 604
604 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 605 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
605 }; 606 };
606 607
607 } // namespace cc 608 } // namespace cc
608 609
609 #endif // CC_TREES_LAYER_TREE_HOST_H_ 610 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | third_party/WebKit/Source/web/tests/VisualViewportTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698