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

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

Issue 2231093003: cc: Remove FinishAllRendering, as it doesn't do anything anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: finishallrendering: . 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_host.cc ('k') | cc/trees/layer_tree_host_impl.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_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 void OnCanDrawStateChangedForTree(); 391 void OnCanDrawStateChangedForTree();
392 392
393 // Implementation. 393 // Implementation.
394 int id() const { return id_; } 394 int id() const { return id_; }
395 bool CanDraw() const; 395 bool CanDraw() const;
396 OutputSurface* output_surface() const { return output_surface_; } 396 OutputSurface* output_surface() const { return output_surface_; }
397 void ReleaseOutputSurface(); 397 void ReleaseOutputSurface();
398 398
399 std::string LayerTreeAsJson() const; 399 std::string LayerTreeAsJson() const;
400 400
401 void FinishAllRendering();
402 int RequestedMSAASampleCount() const; 401 int RequestedMSAASampleCount() const;
403 402
404 virtual bool InitializeRenderer(OutputSurface* output_surface); 403 virtual bool InitializeRenderer(OutputSurface* output_surface);
405 TileManager* tile_manager() { return &tile_manager_; } 404 TileManager* tile_manager() { return &tile_manager_; }
406 405
407 void SetHasGpuRasterizationTrigger(bool flag) { 406 void SetHasGpuRasterizationTrigger(bool flag) {
408 has_gpu_rasterization_trigger_ = flag; 407 has_gpu_rasterization_trigger_ = flag;
409 UpdateGpuRasterizationStatus(); 408 UpdateGpuRasterizationStatus();
410 } 409 }
411 void SetContentIsSuitableForGpuRasterization(bool flag) { 410 void SetContentIsSuitableForGpuRasterization(bool flag) {
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 844
846 std::unique_ptr<PendingTreeDurationHistogramTimer> 845 std::unique_ptr<PendingTreeDurationHistogramTimer>
847 pending_tree_duration_timer_; 846 pending_tree_duration_timer_;
848 847
849 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 848 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
850 }; 849 };
851 850
852 } // namespace cc 851 } // namespace cc
853 852
854 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 853 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698