| 107 | } |
| 108 | |
| 109 | bool Registry::isContextRegistered(const glbinding::ContextHandle contextId) |
| 110 | { |
| 111 | std::lock_guard<std::recursive_mutex> lock(g_mutex); |
| 112 | |
| 113 | bool found = s_registries.find(contextId) != s_registries.end(); |
| 114 | |
| 115 | return found; |
| 116 | } |
| 117 | |
| 118 | void Registry::setCurrentRegistry(const glbinding::ContextHandle contextId) |
| 119 | { |