diff options
Diffstat (limited to 'src/gpu/GrSurfaceProxyPriv.h')
-rw-r--r-- | src/gpu/GrSurfaceProxyPriv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpu/GrSurfaceProxyPriv.h b/src/gpu/GrSurfaceProxyPriv.h index 2de820d625..e5d1f906a2 100644 --- a/src/gpu/GrSurfaceProxyPriv.h +++ b/src/gpu/GrSurfaceProxyPriv.h @@ -70,6 +70,14 @@ public: bool doLazyInstantiation(GrResourceProvider*); + GrSurfaceProxy::LazyInstantiationType lazyInstantiationType() const { + return fProxy->fLazyInstantiationType; + } + + void testingOnly_setLazyInstantiationType(GrSurfaceProxy::LazyInstantiationType lazyType) { + fProxy->fLazyInstantiationType = lazyType; + } + static bool AttachStencilIfNeeded(GrResourceProvider*, GrSurface*, bool needsStencil); private: |