Searched refs:cachedContext (Results 1 – 2 of 2) sorted by relevance
104 sk_sp<GrDirectContext> cachedContext; in renderLayersImpl() local162 if (cachedContext.get() != currentContext) { in renderLayersImpl()163 if (cachedContext.get()) { in renderLayersImpl()165 cachedContext->flushAndSubmit(); in renderLayersImpl()167 cachedContext.reset(SkSafeRef(currentContext)); in renderLayersImpl()171 if (cachedContext.get()) { in renderLayersImpl()173 cachedContext->flushAndSubmit(); in renderLayersImpl()
8400 Context cachedContext = sContext.get(); in hasHapticChannels() local8401 if (cachedContext != null) { in hasHapticChannels()8405 return hasHapticChannelsImpl(cachedContext, uri); in hasHapticChannels()