OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "cc/resources/software_rasterizer.h" | 5 #include "cc/resources/software_rasterizer.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 | 8 |
9 scoped_ptr<SoftwareRasterizer> SoftwareRasterizer::Create() { | 9 scoped_ptr<SoftwareRasterizer> SoftwareRasterizer::Create() { |
10 return make_scoped_ptr<SoftwareRasterizer>(new SoftwareRasterizer()); | 10 return make_scoped_ptr<SoftwareRasterizer>(new SoftwareRasterizer()); |
11 } | 11 } |
12 | 12 |
13 SoftwareRasterizer::SoftwareRasterizer() { | 13 SoftwareRasterizer::SoftwareRasterizer() { |
14 } | 14 } |
15 | 15 |
16 SoftwareRasterizer::~SoftwareRasterizer() { | 16 SoftwareRasterizer::~SoftwareRasterizer() { |
17 } | 17 } |
18 | 18 |
19 PrepareTilesMode SoftwareRasterizer::GetPrepareTilesMode() { | 19 PrepareTilesMode SoftwareRasterizer::GetPrepareTilesMode() { |
20 return PrepareTilesMode::RASTERIZE_PRIORITIZED_TILES; | 20 return PrepareTilesMode::RASTERIZE_PRIORITIZED_TILES; |
21 } | 21 } |
22 | 22 |
23 void SoftwareRasterizer::RasterizeTiles( | 23 void SoftwareRasterizer::RasterizeTiles( |
24 const TileVector& tiles, | 24 const TileVector& tiles, |
25 ResourcePool* resource_pool, | 25 ResourcePool* resource_pool, |
| 26 ResourceFormat resource_format, |
26 const UpdateTileDrawInfoCallback& update_tile_draw_info) { | 27 const UpdateTileDrawInfoCallback& update_tile_draw_info) { |
27 } | 28 } |
28 | 29 |
29 } // namespace cc | 30 } // namespace cc |
OLD | NEW |