Searched refs:cachedContext (Results 1 – 2 of 2) sorted by relevance
37 sk_sp<GrDirectContext> cachedContext; in renderLayersImpl() local56 if (cachedContext.get() != currentContext) { in renderLayersImpl()57 if (cachedContext.get()) { in renderLayersImpl()59 cachedContext->flushAndSubmit(); in renderLayersImpl()61 cachedContext.reset(SkSafeRef(currentContext)); in renderLayersImpl()64 if (cachedContext.get()) { in renderLayersImpl()66 cachedContext->flushAndSubmit(); in renderLayersImpl()
8728 Context cachedContext = sContext.get(); in hasHapticChannels() local8729 if (cachedContext != null) { in hasHapticChannels()8733 return hasHapticChannelsImpl(cachedContext, uri); in hasHapticChannels()