OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RESOURCES_PIXEL_BUFFER_RASTER_WORKER_POOL_H_ | 5 #ifndef CC_RESOURCES_PIXEL_BUFFER_RASTER_WORKER_POOL_H_ |
6 #define CC_RESOURCES_PIXEL_BUFFER_RASTER_WORKER_POOL_H_ | 6 #define CC_RESOURCES_PIXEL_BUFFER_RASTER_WORKER_POOL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 size_t scheduled_raster_task_count_; | 76 size_t scheduled_raster_task_count_; |
77 size_t bytes_pending_upload_; | 77 size_t bytes_pending_upload_; |
78 size_t max_bytes_pending_upload_; | 78 size_t max_bytes_pending_upload_; |
79 bool has_performed_uploads_since_last_flush_; | 79 bool has_performed_uploads_since_last_flush_; |
80 base::CancelableClosure check_for_completed_raster_tasks_callback_; | 80 base::CancelableClosure check_for_completed_raster_tasks_callback_; |
81 bool check_for_completed_raster_tasks_pending_; | 81 bool check_for_completed_raster_tasks_pending_; |
82 | 82 |
83 bool should_notify_client_if_no_tasks_are_pending_; | 83 bool should_notify_client_if_no_tasks_are_pending_; |
84 bool should_notify_client_if_no_tasks_required_for_activation_are_pending_; | 84 bool should_notify_client_if_no_tasks_required_for_activation_are_pending_; |
| 85 bool raster_finished_task_pending_; |
| 86 bool raster_required_for_activation_finished_task_pending_; |
85 ResourceFormat format_; | 87 ResourceFormat format_; |
86 | 88 |
87 DISALLOW_COPY_AND_ASSIGN(PixelBufferRasterWorkerPool); | 89 DISALLOW_COPY_AND_ASSIGN(PixelBufferRasterWorkerPool); |
88 }; | 90 }; |
89 | 91 |
90 } // namespace cc | 92 } // namespace cc |
91 | 93 |
92 #endif // CC_RESOURCES_PIXEL_BUFFER_RASTER_WORKER_POOL_H_ | 94 #endif // CC_RESOURCES_PIXEL_BUFFER_RASTER_WORKER_POOL_H_ |
OLD | NEW |