aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrDrawOp.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-07-21 16:15:19 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-24 13:47:49 +0000
commitb7506c3ecf8c347778c85e9085e50f08e290086a (patch)
treeeba837f6410b0766dd5856a30722e23f122527b1 /src/gpu/ops/GrDrawOp.cpp
parente44ef10ebbc7f64b627a9ac3a562bd87b3001b0c (diff)
Remove unused function GrDrawOp::DumpPipelineInfo
This was used by subclasses of GrLegacyMeshDrawOp. Change-Id: I421589dfdc253bdf43aeac9fa9af0647c70811dd Reviewed-on: https://skia-review.googlesource.com/25804 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/ops/GrDrawOp.cpp')
-rw-r--r--src/gpu/ops/GrDrawOp.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/gpu/ops/GrDrawOp.cpp b/src/gpu/ops/GrDrawOp.cpp
deleted file mode 100644
index 4bbb80e397..0000000000
--- a/src/gpu/ops/GrDrawOp.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "GrDrawOp.h"
-
-#include "GrRenderTarget.h"
-
-SkString GrDrawOp::DumpPipelineInfo(const GrPipeline& pipeline) {
- SkString string;
- string.appendf("RT: %d\n", pipeline.getRenderTarget()->uniqueID().asUInt());
- string.append("ColorStages:\n");
- for (int i = 0; i < pipeline.numColorFragmentProcessors(); i++) {
- string.appendf("\t\t%s\n\t\t%s\n",
- pipeline.getColorFragmentProcessor(i).name(),
- pipeline.getColorFragmentProcessor(i).dumpInfo().c_str());
- }
- string.append("CoverageStages:\n");
- for (int i = 0; i < pipeline.numCoverageFragmentProcessors(); i++) {
- string.appendf("\t\t%s\n\t\t%s\n",
- pipeline.getCoverageFragmentProcessor(i).name(),
- pipeline.getCoverageFragmentProcessor(i).dumpInfo().c_str());
- }
- string.appendf("XP: %s\n", pipeline.getXferProcessor().name());
-
- bool scissorEnabled = pipeline.getScissorState().enabled();
- string.appendf("Scissor: ");
- if (scissorEnabled) {
- string.appendf("[L: %d, T: %d, R: %d, B: %d]\n",
- pipeline.getScissorState().rect().fLeft,
- pipeline.getScissorState().rect().fTop,
- pipeline.getScissorState().rect().fRight,
- pipeline.getScissorState().rect().fBottom);
- } else {
- string.appendf("<disabled>\n");
- }
- return string;
-}