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

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

Issue 1063493002: cc: Remove all traces of synchronous GPU rasterization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 8 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/resource_provider.cc ('k') | cc/resources/software_rasterizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
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 // This class only returns |PrepareTilesMode::RASTERIZE_PRIORITIZED_TILES| in
16 // |GetPrepareTilesMode()| to tell rasterize as scheduled tasks.
17 class CC_EXPORT SoftwareRasterizer : public Rasterizer {
18 public:
19 ~SoftwareRasterizer() override;
20
21 static scoped_ptr<SoftwareRasterizer> Create();
22
23 PrepareTilesMode GetPrepareTilesMode() override;
24 void RasterizeTiles(
25 const TileVector& tiles,
26 ResourcePool* resource_pool,
27 ResourceFormat resource_format,
28 const UpdateTileDrawInfoCallback& update_tile_draw_info) override;
29
30 private:
31 SoftwareRasterizer();
32
33 DISALLOW_COPY_AND_ASSIGN(SoftwareRasterizer);
34 };
35
36 } // namespace cc
37
38 #endif // CC_RESOURCES_SOFTWARE_RASTERIZER_H_
OLDNEW
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | cc/resources/software_rasterizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698