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