| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_TILES_TILE_MANAGER_H_ | 5 #ifndef CC_TILES_TILE_MANAGER_H_ |
| 6 #define CC_TILES_TILE_MANAGER_H_ | 6 #define CC_TILES_TILE_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 const gfx::ColorSpace& raster_color_space, | 338 const gfx::ColorSpace& raster_color_space, |
| 339 CheckerImageTracker::ImageDecodeQueue* image_decode_queue); | 339 CheckerImageTracker::ImageDecodeQueue* image_decode_queue); |
| 340 | 340 |
| 341 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> | 341 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> |
| 342 ScheduledTasksStateAsValue() const; | 342 ScheduledTasksStateAsValue() const; |
| 343 | 343 |
| 344 bool UsePartialRaster() const; | 344 bool UsePartialRaster() const; |
| 345 | 345 |
| 346 void CheckPendingGpuWorkTiles(bool issue_signals); | 346 void CheckPendingGpuWorkTiles(bool issue_signals); |
| 347 | 347 |
| 348 gfx::ColorSpace GetTileColorSpace( |
| 349 const PrioritizedTile& prioritized_tile) const; |
| 350 |
| 348 TileManagerClient* client_; | 351 TileManagerClient* client_; |
| 349 base::SequencedTaskRunner* task_runner_; | 352 base::SequencedTaskRunner* task_runner_; |
| 350 ResourcePool* resource_pool_; | 353 ResourcePool* resource_pool_; |
| 351 std::unique_ptr<TileTaskManager> tile_task_manager_; | 354 std::unique_ptr<TileTaskManager> tile_task_manager_; |
| 352 RasterBufferProvider* raster_buffer_provider_; | 355 RasterBufferProvider* raster_buffer_provider_; |
| 353 GlobalStateThatImpactsTilePriority global_state_; | 356 GlobalStateThatImpactsTilePriority global_state_; |
| 354 size_t scheduled_raster_task_limit_; | 357 size_t scheduled_raster_task_limit_; |
| 355 | 358 |
| 356 const TileManagerSettings tile_manager_settings_; | 359 const TileManagerSettings tile_manager_settings_; |
| 357 bool use_gpu_rasterization_; | 360 bool use_gpu_rasterization_; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; | 406 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; |
| 404 // The |ready_to_draw_callback_weak_ptr_factory_| is never invalidated. | 407 // The |ready_to_draw_callback_weak_ptr_factory_| is never invalidated. |
| 405 base::WeakPtrFactory<TileManager> ready_to_draw_callback_weak_ptr_factory_; | 408 base::WeakPtrFactory<TileManager> ready_to_draw_callback_weak_ptr_factory_; |
| 406 | 409 |
| 407 DISALLOW_COPY_AND_ASSIGN(TileManager); | 410 DISALLOW_COPY_AND_ASSIGN(TileManager); |
| 408 }; | 411 }; |
| 409 | 412 |
| 410 } // namespace cc | 413 } // namespace cc |
| 411 | 414 |
| 412 #endif // CC_TILES_TILE_MANAGER_H_ | 415 #endif // CC_TILES_TILE_MANAGER_H_ |
| OLD | NEW |