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

Unified Diff: cc/resources/software_rasterizer.cc

Issue 820743002: cc: GPU rasterize tiles synchronously in PrepareToDraw. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format and merge Created 6 years 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
Index: cc/resources/software_rasterizer.cc
diff --git a/cc/resources/software_rasterizer.cc b/cc/resources/software_rasterizer.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4976c8aacffd3c5d1656346fd15d59f0b7e52630
--- /dev/null
+++ b/cc/resources/software_rasterizer.cc
@@ -0,0 +1,28 @@
+// Copyright 2014 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.
+
+#include "cc/resources/software_rasterizer.h"
+
+namespace cc {
+
+scoped_ptr<SoftwareRasterizer> SoftwareRasterizer::Create() {
+ return make_scoped_ptr<SoftwareRasterizer>(new SoftwareRasterizer());
+}
+
+SoftwareRasterizer::SoftwareRasterizer() {
+}
+
+SoftwareRasterizer::~SoftwareRasterizer() {
+}
+
+PrepareTilesMode SoftwareRasterizer::GetPrepareTilesMode() {
+ return PrepareTilesMode::RASTERIZE_PRIORITIZED_TILES;
+}
+
+void SoftwareRasterizer::RasterizeTiles(const TileVector& tiles,
+ ResourcePool* resource_pool,
+ TileManager* tile_manager) {
+}
+
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698