aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetOpList.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-04-20 12:43:18 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-20 17:47:55 +0000
commit2748391716b04f700a689ac99bc13fd67d812418 (patch)
tree17e254f62a1944bc0c621454e1bcf3214420aaca /src/gpu/GrRenderTargetOpList.h
parentd7c97861c7cdcc292c80f2dbe7172fc997ef5c50 (diff)
Add ability to dump opList info at flush-time
When debugging DDL it is useful to just see which ops are being drawn instead of the entire reordering history. Change-Id: I89708fecbd53c097b00e65b0da426bfb8046b0ee Reviewed-on: https://skia-review.googlesource.com/122780 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetOpList.h')
-rw-r--r--src/gpu/GrRenderTargetOpList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetOpList.h b/src/gpu/GrRenderTargetOpList.h
index c0a72333da..938f69aba6 100644
--- a/src/gpu/GrRenderTargetOpList.h
+++ b/src/gpu/GrRenderTargetOpList.h
@@ -109,7 +109,7 @@ public:
GrRenderTargetOpList* asRenderTargetOpList() override { return this; }
- SkDEBUGCODE(void dump() const override;)
+ SkDEBUGCODE(void dump(bool printDependencies) const override;)
SkDEBUGCODE(int numOps() const override { return fRecordedOps.count(); })
SkDEBUGCODE(int numClips() const override { return fNumClips; })