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

Unified Diff: include/gpu/GrContext.h

Issue 1567093002: Guard SkGpuDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@gpudeviceguards2
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 | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index de7644465a4db8331f5914ce561054bbf8873e4f..b60aea08130a618b98525cdcf3e661d66dd686f8 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -361,6 +361,9 @@ public:
GrAuditTrail* getAuditTrail() { return &fAuditTrail; }
+ /** This is only useful for debug purposes */
+ SkDEBUGCODE(GrSingleOwner* debugSingleOwner() const { return &fSingleOwner; } )
+
private:
GrGpu* fGpu;
const GrCaps* fCaps;
« no previous file with comments | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698