Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: src/gpu/SkGpuDevice.cpp

Issue 1712753002: GrAuditTrail can now be enabled/disabled at runtime (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: removed one more reference to GR_BATCH_DEBUGGING_OUTPUT Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/private/GrAuditTrail.h ('k') | tools/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGpuDevice.cpp
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index df5c7a73a11a18b68df092008608db8e6b5b91f0..0b44a4281ae0522c634e4b3a9427eb2206dbcdda 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();
}
« no previous file with comments | « include/private/GrAuditTrail.h ('k') | tools/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698