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

Unified Diff: src/gpu/GrAddPathRenderers_default.cpp

Issue 1311673014: Remove GrAddPathRenderers_default (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 3 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 | « gyp/gpu.gypi ('k') | src/gpu/GrDefaultPathRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAddPathRenderers_default.cpp
diff --git a/src/gpu/GrAddPathRenderers_default.cpp b/src/gpu/GrAddPathRenderers_default.cpp
deleted file mode 100644
index a20c35cbfab3909d1dce9b6c4f8ebeceab0f67d7..0000000000000000000000000000000000000000
--- a/src/gpu/GrAddPathRenderers_default.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-
-#include "GrContext.h"
-#include "GrGpu.h"
-
-#include "batches/GrAAConvexPathRenderer.h"
-#include "batches/GrAAHairLinePathRenderer.h"
-#include "batches/GrAALinearizingConvexPathRenderer.h"
-#include "batches/GrAADistanceFieldPathRenderer.h"
-#include "batches/GrDashLinePathRenderer.h"
-#include "batches/GrStencilAndCoverPathRenderer.h"
-#include "batches/GrTessellatingPathRenderer.h"
-
-void GrPathRenderer::AddPathRenderers(GrContext* ctx, GrPathRendererChain* chain) {
- chain->addPathRenderer(new GrDashLinePathRenderer)->unref();
-
- if (GrPathRenderer* pr = GrStencilAndCoverPathRenderer::Create(ctx->resourceProvider(),
- *ctx->caps())) {
- chain->addPathRenderer(pr)->unref();
- }
- chain->addPathRenderer(new GrTessellatingPathRenderer)->unref();
- if (GrPathRenderer* pr = GrAAHairLinePathRenderer::Create()) {
- chain->addPathRenderer(pr)->unref();
- }
- chain->addPathRenderer(new GrAAConvexPathRenderer)->unref();
- chain->addPathRenderer(new GrAALinearizingConvexPathRenderer)->unref();
- chain->addPathRenderer(new GrAADistanceFieldPathRenderer)->unref();
-}
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrDefaultPathRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698