| 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_IMAGE_RASTER_WORKER_POOL_H_ | 5 #ifndef CC_RESOURCES_IMAGE_RASTER_WORKER_POOL_H_ |
| 6 #define CC_RESOURCES_IMAGE_RASTER_WORKER_POOL_H_ | 6 #define CC_RESOURCES_IMAGE_RASTER_WORKER_POOL_H_ |
| 7 | 7 |
| 8 #include "cc/resources/raster_worker_pool.h" | 8 #include "cc/resources/raster_worker_pool.h" |
| 9 | 9 |
| 10 namespace cc { | 10 namespace cc { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 virtual void OnRasterTasksFinished() OVERRIDE; | 43 virtual void OnRasterTasksFinished() OVERRIDE; |
| 44 virtual void OnRasterTasksRequiredForActivationFinished() OVERRIDE; | 44 virtual void OnRasterTasksRequiredForActivationFinished() OVERRIDE; |
| 45 | 45 |
| 46 scoped_ptr<base::Value> StateAsValue() const; | 46 scoped_ptr<base::Value> StateAsValue() const; |
| 47 | 47 |
| 48 const unsigned texture_target_; | 48 const unsigned texture_target_; |
| 49 | 49 |
| 50 bool raster_tasks_pending_; | 50 bool raster_tasks_pending_; |
| 51 bool raster_tasks_required_for_activation_pending_; | 51 bool raster_tasks_required_for_activation_pending_; |
| 52 | 52 |
| 53 // Task graph used when scheduling tasks and vector used to gather |
| 54 // completed tasks. |
| 55 internal::TaskGraph graph_; |
| 56 internal::Task::Vector completed_tasks_; |
| 57 |
| 53 DISALLOW_COPY_AND_ASSIGN(ImageRasterWorkerPool); | 58 DISALLOW_COPY_AND_ASSIGN(ImageRasterWorkerPool); |
| 54 }; | 59 }; |
| 55 | 60 |
| 56 } // namespace cc | 61 } // namespace cc |
| 57 | 62 |
| 58 #endif // CC_RESOURCES_IMAGE_RASTER_WORKER_POOL_H_ | 63 #endif // CC_RESOURCES_IMAGE_RASTER_WORKER_POOL_H_ |
| OLD | NEW |