From 2748391716b04f700a689ac99bc13fd67d812418 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 20 Apr 2018 12:43:18 -0400 Subject: 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 Commit-Queue: Robert Phillips --- include/private/GrOpList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/private/GrOpList.h') diff --git a/include/private/GrOpList.h b/include/private/GrOpList.h index f183081bde..4ec909c72c 100644 --- a/include/private/GrOpList.h +++ b/include/private/GrOpList.h @@ -91,7 +91,7 @@ public: /* * Dump out the GrOpList dependency DAG */ - SkDEBUGCODE(virtual void dump() const;) + SkDEBUGCODE(virtual void dump(bool printDependencies) const;) SkDEBUGCODE(virtual int numOps() const = 0;) SkDEBUGCODE(virtual int numClips() const { return 0; }) -- cgit v1.2.3