From bde96c6263112de755a2573f6f5f02703386f328 Mon Sep 17 00:00:00 2001 From: csmartdalton Date: Wed, 31 Aug 2016 12:54:46 -0700 Subject: Move clip mask generation into GrReducedClip This is a temporary solution to facilitate window rectangles and make clip mask generation more accessible for testing. The eventual goal is to simplify clips and merge GrReducedClip into GrClipStackClip. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2263343002 Review-Url: https://codereview.chromium.org/2263343002 --- include/gpu/GrContext.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 41292fe5cd..5785553dfd 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -430,12 +430,8 @@ private: GrAuditTrail fAuditTrail; // TODO: have the GrClipStackClip use drawContexts and rm this friending - friend class GrClipStackClip; // for access to drawingManager - friend class GrDrawingManager; // for access to drawingManager for ProgramUnitTest friend class GrContextPriv; - GrDrawingManager* drawingManager() { return fDrawingManager; } - GrContext(); // init must be called after the constructor. bool init(GrBackend, GrBackendContext, const GrContextOptions& options); -- cgit v1.2.3