| 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_RASTER_RASTER_BUFFER_PROVIDER_H_ | 5 #ifndef CC_RASTER_RASTER_BUFFER_PROVIDER_H_ |
| 6 #define CC_RASTER_RASTER_BUFFER_PROVIDER_H_ | 6 #define CC_RASTER_RASTER_BUFFER_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "cc/playback/raster_source.h" | |
| 11 #include "cc/raster/raster_buffer.h" | 10 #include "cc/raster/raster_buffer.h" |
| 11 #include "cc/raster/raster_source.h" |
| 12 #include "cc/raster/task_graph_runner.h" | 12 #include "cc/raster/task_graph_runner.h" |
| 13 #include "cc/raster/tile_task.h" | 13 #include "cc/raster/tile_task.h" |
| 14 #include "cc/resources/resource_format.h" | 14 #include "cc/resources/resource_format.h" |
| 15 #include "cc/resources/resource_provider.h" | 15 #include "cc/resources/resource_provider.h" |
| 16 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
| 17 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 class Resource; | 20 class Resource; |
| 21 | 21 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 virtual void Shutdown() = 0; | 82 virtual void Shutdown() = 0; |
| 83 | 83 |
| 84 protected: | 84 protected: |
| 85 // Check if resource format matches output format. | 85 // Check if resource format matches output format. |
| 86 static bool ResourceFormatRequiresSwizzle(ResourceFormat format); | 86 static bool ResourceFormatRequiresSwizzle(ResourceFormat format); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace cc | 89 } // namespace cc |
| 90 | 90 |
| 91 #endif // CC_RASTER_RASTER_BUFFER_PROVIDER_H_ | 91 #endif // CC_RASTER_RASTER_BUFFER_PROVIDER_H_ |
| OLD | NEW |