| 293 | |
| 294 | bool Runtime::hasViewNodeTreeForContext(const SharedContext& context) const { |
| 295 | return _viewNodeManager.getViewNodeTreeForContextId(context->getContextId()) != nullptr; |
| 296 | } |
| 297 | |
| 298 | SharedViewNodeTree Runtime::createViewNodeTree(const SharedContext& context, |
| 299 | ViewNodeTreeThreadAffinity threadAffinity) { |
| 300 | return _viewNodeManager.createViewNodeTreeForContext(context, threadAffinity); |
| 301 | } |