| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 233825d489ed9e912662e84857bea904a74bb0ff..5de10000857fddbedc6298d341e0112aab87a973 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -1784,6 +1784,14 @@ bool SkGpuDevice::onShouldDisableLCD(const SkPaint& paint) const {
|
| void SkGpuDevice::flush() {
|
| ASSERT_SINGLE_OWNER
|
| DO_DEFERRED_CLEAR();
|
| +
|
| + // 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();
|
| }
|
|
|
|
|