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

Side by Side Diff: cc/resources/rasterizer.h

Issue 860813002: Remove the default format from ResourcePool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ResourceFormat from TileManager and call TileTaskRunner::GetResourceFormat() directly instea… 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
« no previous file with comments | « cc/resources/pixel_buffer_tile_task_worker_pool.cc ('k') | cc/resources/resource_pool.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CC_RESOURCES_RASTERIZER_H_ 5 #ifndef CC_RESOURCES_RASTERIZER_H_
6 #define CC_RESOURCES_RASTERIZER_H_ 6 #define CC_RESOURCES_RASTERIZER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 15 matching lines...) Expand all
26 using UpdateTileDrawInfoCallback = 26 using UpdateTileDrawInfoCallback =
27 base::Callback<void(Tile*, 27 base::Callback<void(Tile*,
28 scoped_ptr<ScopedResource>, 28 scoped_ptr<ScopedResource>,
29 const RasterSource::SolidColorAnalysis&)>; 29 const RasterSource::SolidColorAnalysis&)>;
30 30
31 virtual ~Rasterizer() {} 31 virtual ~Rasterizer() {}
32 virtual PrepareTilesMode GetPrepareTilesMode() = 0; 32 virtual PrepareTilesMode GetPrepareTilesMode() = 0;
33 virtual void RasterizeTiles( 33 virtual void RasterizeTiles(
34 const TileVector& tiles, 34 const TileVector& tiles,
35 ResourcePool* resource_pool, 35 ResourcePool* resource_pool,
36 ResourceFormat resource_format,
36 const UpdateTileDrawInfoCallback& update_tile_draw_info) = 0; 37 const UpdateTileDrawInfoCallback& update_tile_draw_info) = 0;
37 38
38 protected: 39 protected:
39 Rasterizer() {} 40 Rasterizer() {}
40 41
41 private: 42 private:
42 DISALLOW_COPY_AND_ASSIGN(Rasterizer); 43 DISALLOW_COPY_AND_ASSIGN(Rasterizer);
43 }; 44 };
44 45
45 } // namespace cc 46 } // namespace cc
46 47
47 #endif // CC_RESOURCES_RASTERIZER_H_ 48 #endif // CC_RESOURCES_RASTERIZER_H_
OLDNEW
« no previous file with comments | « cc/resources/pixel_buffer_tile_task_worker_pool.cc ('k') | cc/resources/resource_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698