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

Unified Diff: cc/output/bsp_walk_action.cc

Issue 1533773002: Delete CC. (Closed) Base URL: git@github.com:domokit/mojo.git@cl-2e
Patch Set: rebase Created 5 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
« no previous file with comments | « cc/output/bsp_walk_action.h ('k') | cc/output/compositor_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/bsp_walk_action.cc
diff --git a/cc/output/bsp_walk_action.cc b/cc/output/bsp_walk_action.cc
deleted file mode 100644
index 9ffc2998d5ef2afa60d7a068179ce3b4da236e52..0000000000000000000000000000000000000000
--- a/cc/output/bsp_walk_action.cc
+++ /dev/null
@@ -1,45 +0,0 @@
-// 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/output/bsp_walk_action.h"
-
-#include <vector>
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/output/direct_renderer.h"
-#include "cc/quads/draw_polygon.h"
-#include "cc/quads/draw_quad.h"
-
-namespace cc {
-
-BspWalkActionDrawPolygon::BspWalkActionDrawPolygon(
- DirectRenderer* renderer,
- DirectRenderer::DrawingFrame* frame,
- const gfx::Rect& render_pass_scissor,
- bool using_scissor_as_optimization)
- : renderer_(renderer),
- frame_(frame),
- render_pass_scissor_(render_pass_scissor),
- using_scissor_as_optimization_(using_scissor_as_optimization) {
-}
-
-void BspWalkActionDrawPolygon::operator()(DrawPolygon* item) {
- gfx::Transform inverse_transform;
- bool invertible =
- item->original_ref()->quadTransform().GetInverse(&inverse_transform);
- DCHECK(invertible);
- item->TransformToLayerSpace(inverse_transform);
- renderer_->DoDrawPolygon(*item, frame_, render_pass_scissor_,
- using_scissor_as_optimization_);
-}
-
-BspWalkActionToVector::BspWalkActionToVector(std::vector<DrawPolygon*>* in_list)
- : list_(in_list) {
-}
-
-void BspWalkActionToVector::operator()(DrawPolygon* item) {
- list_->push_back(item);
-}
-
-} // namespace cc
« no previous file with comments | « cc/output/bsp_walk_action.h ('k') | cc/output/compositor_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698