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
3 // found in the LICENSE file.
5 #include "cc/resources/software_rasterizer.h"
9 scoped_ptr
<SoftwareRasterizer
> SoftwareRasterizer::Create() {
10 return make_scoped_ptr
<SoftwareRasterizer
>(new SoftwareRasterizer());
13 SoftwareRasterizer::SoftwareRasterizer() {
16 SoftwareRasterizer::~SoftwareRasterizer() {
19 PrepareTilesMode
SoftwareRasterizer::GetPrepareTilesMode() {
20 return PrepareTilesMode::RASTERIZE_PRIORITIZED_TILES
;
23 void SoftwareRasterizer::RasterizeTiles(
24 const TileVector
& tiles
,
25 ResourcePool
* resource_pool
,
26 const UpdateTileDrawInfoCallback
& update_tile_draw_info
) {