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

Unified Diff: src/gpu/GrDrawTarget.h

Issue 1577093003: Add batch names and bounds to json debug information (Closed) Base URL: https://skia.googlesource.com/skia.git@audittrail-wireupcontext
Patch Set: rebase Created 4 years, 11 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 | « src/gpu/GrAuditTrail.cpp ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 7117ad3fe82ca0df78a9e042da835bcbf1d71fc1..72ab46e934d1f3419e74bef59a0adb0a3e8ce9d0 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -34,6 +34,7 @@
//#define ENABLE_MDB 1
+class GrAuditTrail;
class GrBatch;
class GrClip;
class GrCaps;
@@ -50,7 +51,7 @@ public:
int fMaxBatchLookback;
};
- GrDrawTarget(GrRenderTarget*, GrGpu*, GrResourceProvider*, const Options&);
+ GrDrawTarget(GrRenderTarget*, GrGpu*, GrResourceProvider*, GrAuditTrail*, const Options&);
~GrDrawTarget() override;
@@ -288,6 +289,7 @@ private:
GrContext* fContext;
GrGpu* fGpu;
GrResourceProvider* fResourceProvider;
+ GrAuditTrail* fAuditTrail;
SkDEBUGCODE(int fDebugID;)
uint32_t fFlags;
« no previous file with comments | « src/gpu/GrAuditTrail.cpp ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698