Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CC_RESOURCES_SOFTWARE_RASTERIZER_H_ | |
| 6 #define CC_RESOURCES_SOFTWARE_RASTERIZER_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "cc/base/cc_export.h" | |
| 11 #include "cc/resources/rasterizer.h" | |
| 12 | |
| 13 namespace cc { | |
| 14 | |
| 15 class CC_EXPORT SoftwareRasterizer : public Rasterizer { | |
|
vmpstr
2014/12/30 22:55:23
Make a comment here describing what this class doe
hendrikw
2014/12/31 00:03:56
Done.
| |
| 16 public: | |
| 17 ~SoftwareRasterizer(); | |
| 18 | |
| 19 static scoped_ptr<SoftwareRasterizer> Create(); | |
| 20 | |
| 21 PrepareTilesMode GetPrepareTilesMode() override; | |
| 22 void RasterizeTiles( | |
| 23 const TileVector& tiles, | |
| 24 ResourcePool* resource_pool, | |
| 25 const UpdateTileDrawInfoCallback& update_tile_draw_info) override; | |
| 26 | |
| 27 private: | |
| 28 SoftwareRasterizer(); | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(SoftwareRasterizer); | |
| 31 }; | |
| 32 | |
| 33 } // namespace cc | |
| 34 | |
| 35 #endif // CC_RESOURCES_SOFTWARE_RASTERIZER_H_ | |
| OLD | NEW |