static EXTThreadLocalContext create(
      java.util.Set<String> ext, FunctionProviderLocal provider, long device) {
    if (!ext.contains("ALC_EXT_thread_local_context")) return null;

    EXTThreadLocalContext funcs = new EXTThreadLocalContext(provider, device);

    boolean supported = checkFunctions(funcs.SetThreadContext, funcs.GetThreadContext);

    return ALC.checkExtension("ALC_EXT_thread_local_context", funcs, supported);
  }
 /** Returns the {@link EXTThreadLocalContext} instance of the current context. */
 public static EXTThreadLocalContext getInstance() {
   return getInstance(ALC.getCapabilities());
 }