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

Unified Diff: cc/resources/rasterizer.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/raster_tile_priority_queue_required.cc ('k') | cc/resources/recording_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/rasterizer.h
diff --git a/cc/resources/rasterizer.h b/cc/resources/rasterizer.h
deleted file mode 100644
index 43df0b0c3d9ba9c4db27e354b6271a0322fe2bbc..0000000000000000000000000000000000000000
--- a/cc/resources/rasterizer.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_RESOURCES_RASTERIZER_H_
-#define CC_RESOURCES_RASTERIZER_H_
-
-#include <vector>
-
-#include "cc/base/cc_export.h"
-#include "cc/resources/resource_pool.h"
-#include "cc/resources/tile.h"
-
-namespace cc {
-class TileManager;
-
-enum class PrepareTilesMode {
- RASTERIZE_PRIORITIZED_TILES,
- PREPARE_NONE
-};
-
-class CC_EXPORT Rasterizer {
- public:
- using TileVector = std::vector<Tile*>;
- using UpdateTileDrawInfoCallback =
- base::Callback<void(Tile*,
- scoped_ptr<ScopedResource>,
- const RasterSource::SolidColorAnalysis&)>;
-
- virtual ~Rasterizer() {}
- virtual PrepareTilesMode GetPrepareTilesMode() = 0;
- virtual void RasterizeTiles(
- const TileVector& tiles,
- ResourcePool* resource_pool,
- ResourceFormat resource_format,
- const UpdateTileDrawInfoCallback& update_tile_draw_info) = 0;
-
- protected:
- Rasterizer() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(Rasterizer);
-};
-
-} // namespace cc
-
-#endif // CC_RESOURCES_RASTERIZER_H_
« no previous file with comments | « cc/resources/raster_tile_priority_queue_required.cc ('k') | cc/resources/recording_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698