From dfbfc738a9edfff7a9804253175e380c230f3d21 Mon Sep 17 00:00:00 2001 From: Ethan Nicholas Date: Mon, 18 Jun 2018 14:14:13 -0400 Subject: added GrSkSLFP and converted DitherEffect to use it Bug: skia: Change-Id: I84b71165eab1712355f3c7669cee2d33d259f3df Reviewed-on: https://skia-review.googlesource.com/124504 Commit-Queue: Ethan Nicholas Reviewed-by: Brian Salomon --- include/gpu/GrContext.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/gpu') diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 5a2ba4780f..e1c38ff035 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -49,6 +49,7 @@ class GrTextureProxy; class GrTextureStripAtlasManager; class GrVertexBuffer; struct GrVkBackendContext; +class GrSkSLFPFactoryCache; class SkImage; class SkSurfaceCharacterization; @@ -332,6 +333,8 @@ private: GrContextOptions::PersistentCache* fPersistentCache; + GrSkSLFPFactoryCache* fFPFactories = nullptr; + // TODO: have the GrClipStackClip use renderTargetContexts and rm this friending friend class GrContextPriv; -- cgit v1.2.3