diff options
author | Robert Phillips <robertphillips@google.com> | 2018-04-20 12:43:18 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-20 17:47:55 +0000 |
commit | 2748391716b04f700a689ac99bc13fd67d812418 (patch) | |
tree | 17e254f62a1944bc0c621454e1bcf3214420aaca /include/private/GrOpList.h | |
parent | d7c97861c7cdcc292c80f2dbe7172fc997ef5c50 (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 'include/private/GrOpList.h')
-rw-r--r-- | include/private/GrOpList.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }) |