aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar ethannicholas <ethannicholas@google.com>2016-02-18 13:45:39 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-18 13:45:40 -0800
commitc85d9fbc0adacc9acb9faa3fe107652f0d76760a (patch)
tree027ad09898934c697b643351105f867574395e4f /src/gpu
parentdd9ffea9ce051a49dbc6544e6aa3cb68fe987f47 (diff)
GrAuditTrail can now be enabled/disabled at runtime
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1712753002 TBR=bsalomon@google.com Doesn't actually change the public API Review URL: https://codereview.chromium.org/1712753002
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/SkGpuDevice.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index df5c7a73a1..0b44a4281a 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -1761,13 +1761,6 @@ bool SkGpuDevice::onShouldDisableLCD(const SkPaint& paint) const {
void SkGpuDevice::flush() {
ASSERT_SINGLE_OWNER
- // Clear batch debugging output
- // TODO not exactly sure where this should live
- if (GR_BATCH_DEBUGGING_OUTPUT) {
- SkDebugf("%s\n", fContext->getAuditTrail()->toJson().c_str());
- // TODO This currently crashes because not all ops are accounted for
- GR_AUDIT_TRAIL_RESET(fContext->getAuditTrail());
- }
fRenderTarget->prepareForExternalIO();
}