OLD | NEW |
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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 bool IsSingleThreaded() const; | 414 bool IsSingleThreaded() const; |
415 bool IsThreaded() const; | 415 bool IsThreaded() const; |
416 bool IsRemoteServer() const; | 416 bool IsRemoteServer() const; |
417 bool IsRemoteClient() const; | 417 bool IsRemoteClient() const; |
418 void BuildPropertyTreesForTesting(); | 418 void BuildPropertyTreesForTesting(); |
419 | 419 |
420 ImageSerializationProcessor* image_serialization_processor() const { | 420 ImageSerializationProcessor* image_serialization_processor() const { |
421 return image_serialization_processor_; | 421 return image_serialization_processor_; |
422 } | 422 } |
423 | 423 |
| 424 void ReportFixedRasterScaleUseCounters( |
| 425 bool has_fixed_raster_scale_blurry_content, |
| 426 bool has_fixed_raster_scale_potential_performance_regression); |
| 427 |
424 protected: | 428 protected: |
425 LayerTreeHost(InitParams* params, CompositorMode mode); | 429 LayerTreeHost(InitParams* params, CompositorMode mode); |
426 void InitializeThreaded( | 430 void InitializeThreaded( |
427 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, | 431 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
428 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner, | 432 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner, |
429 std::unique_ptr<BeginFrameSource> external_begin_frame_source); | 433 std::unique_ptr<BeginFrameSource> external_begin_frame_source); |
430 void InitializeSingleThreaded( | 434 void InitializeSingleThreaded( |
431 LayerTreeHostSingleThreadClient* single_thread_client, | 435 LayerTreeHostSingleThreadClient* single_thread_client, |
432 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, | 436 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
433 std::unique_ptr<BeginFrameSource> external_begin_frame_source); | 437 std::unique_ptr<BeginFrameSource> external_begin_frame_source); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 | 592 |
589 uint32_t surface_id_namespace_; | 593 uint32_t surface_id_namespace_; |
590 uint32_t next_surface_sequence_; | 594 uint32_t next_surface_sequence_; |
591 | 595 |
592 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 596 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
593 }; | 597 }; |
594 | 598 |
595 } // namespace cc | 599 } // namespace cc |
596 | 600 |
597 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 601 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |