Searched refs:cachedContext (Results 1 – 2 of 2) sorted by relevance
93 sk_sp<GrDirectContext> cachedContext; in renderLayersImpl() local151 if (cachedContext.get() != currentContext) { in renderLayersImpl()152 if (cachedContext.get()) { in renderLayersImpl()154 cachedContext->flushAndSubmit(); in renderLayersImpl()156 cachedContext.reset(SkSafeRef(currentContext)); in renderLayersImpl()160 if (cachedContext.get()) { in renderLayersImpl()162 cachedContext->flushAndSubmit(); in renderLayersImpl()
7597 Context cachedContext = sContext.get(); in hasHapticChannels() local7598 if (cachedContext != null) { in hasHapticChannels()7602 return hasHapticChannelsImpl(cachedContext, uri); in hasHapticChannels()