Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: cc/resources/software_rasterizer.cc

Issue 860813002: Remove the default format from ResourcePool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error in perftest. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698