Skip to content
Snippets Groups Projects
  1. Oct 23, 2022
  2. Mar 08, 2021
  3. Feb 11, 2021
  4. Sep 17, 2020
  5. Sep 16, 2020
    • Callum Prentice's avatar
      First part of change to remove LLVFS from the Viewer. Consists of code changes... · 3fc07dea
      Callum Prentice authored
      First part of change to remove LLVFS from the Viewer. Consists of code changes to remove LLVFS and LLVFSThread classes along with the associated source files. The existing llvfs folder is renamed to llcache. Also includes changes to CMake script in many places to reflect changes. Eventually, llvfile source file and class will be renamed but that is not in this change.
      3fc07dea
  6. Mar 25, 2020
    • Nat Goodspeed's avatar
      SL-793: Use Boost.Fiber instead of the "dcoroutine" library. · 66981fab
      Nat Goodspeed authored
      Longtime fans will remember that the "dcoroutine" library is a Google Summer
      of Code project by Giovanni P. Deretta. He originally called it
      "Boost.Coroutine," and we originally added it to our 3p-boost autobuild
      package as such. But when the official Boost.Coroutine library came along
      (with a very different API), and we still needed the API of the GSoC project,
      we renamed the unofficial one "dcoroutine" to allow coexistence.
      
      The "dcoroutine" library had an internal low-level API more or less analogous
      to Boost.Context. We later introduced an implementation of that internal API
      based on Boost.Context, a step towards eliminating the GSoC code in favor of
      official, supported Boost code.
      
      However, recent versions of Boost.Context no longer support the API on which
      we built the shim for "dcoroutine." We started down the path of reimplementing
      that shim using the current Boost.Context API -- then realized that it's time
      to bite the bullet and replace the "dcoroutine" API with the Boost.Fiber API,
      which we've been itching to do for literally years now.
      
      Naturally, most of the heavy lifting is in llcoros.{h,cpp} and
      lleventcoro.{h,cpp} -- which is good: the LLCoros layer abstracts away most of
      the differences between "dcoroutine" and Boost.Fiber.
      
      The one feature Boost.Fiber does not provide is the ability to forcibly
      terminate some other fiber. Accordingly, disable LLCoros::kill() and
      LLCoprocedureManager::shutdown(). The only known shutdown() call was in
      LLCoprocedurePool's destructor.
      
      We also took the opportunity to remove postAndSuspend2() and its associated
      machinery: FutureListener2, LLErrorEvent, errorException(), errorLog(),
      LLCoroEventPumps. All that dual-LLEventPump stuff was introduced at a time
      when the Responder pattern was king, and we assumed we'd want to listen on one
      LLEventPump with the success handler and on another with the error handler. We
      have never actually used that in practice. Remove associated tests, of course.
      
      There is one other semantic difference that necessitates patching a number of
      tests: with "dcoroutine," fulfilling a future IMMEDIATELY resumes the waiting
      coroutine. With Boost.Fiber, fulfilling a future merely marks the fiber as
      ready to resume next time the scheduler gets around to it. To observe the test
      side effects, we've inserted a number of llcoro::suspend() calls -- also in
      the main loop.
      
      For a long time we retained a single unit test exercising the raw "dcoroutine"
      API. Remove that.
      
      Eliminate llcoro_get_id.{h,cpp}, which provided llcoro::get_id(), which was a
      hack to emulate fiber-local variables. Since Boost.Fiber has an actual API for
      that, remove the hack.
      
      In fact, use (new alias) LLCoros::local_ptr for LLSingleton's dependency
      tracking in place of llcoro::get_id().
      
      In CMake land, replace BOOST_COROUTINE_LIBRARY with BOOST_FIBER_LIBRARY. We
      don't actually use the Boost.Coroutine for anything (though there exist
      plausible use cases).
      66981fab
  7. Jan 03, 2019
  8. Sep 07, 2018
  9. Sep 05, 2018
  10. Jul 18, 2018
  11. Jun 07, 2018
  12. Feb 03, 2017
  13. Nov 10, 2015
  14. Sep 02, 2015
  15. Sep 01, 2015
  16. Aug 19, 2015
  17. Aug 18, 2015
  18. Aug 17, 2015
  19. Oct 08, 2014
  20. Oct 07, 2014
  21. Sep 22, 2014
  22. Jul 30, 2013
  23. Jul 25, 2013
  24. Apr 30, 2013
  25. Apr 11, 2013
  26. Mar 29, 2013
  27. Mar 13, 2013
  28. Mar 12, 2013
    • Nyx Linden's avatar
      SH-3944 WIP CHUI merge fixing · 1586107e
      Nyx Linden authored
      re-introduced don's refactor of low-level openGL calls pulling out of llui
      and putting them into llrender. Took the new code from their updated versions
      from the CHUI merge, but put them in a place accessible to appearance utility.
      1586107e
    • Nyx Linden's avatar
      SH-3944 WIP CHUI merge fixing · 34fe6ad5
      Nyx Linden authored
      re-introduced don's refactor of low-level openGL calls pulling out of llui
      and putting them into llrender. Took the new code from their updated versions
      from the CHUI merge, but put them in a place accessible to appearance utility.
      34fe6ad5
  29. Dec 03, 2012
  30. Nov 16, 2012
  31. Oct 10, 2012
  32. Oct 03, 2012
  33. Sep 21, 2012
  34. Sep 08, 2012
  35. Aug 08, 2012
  36. Jul 04, 2012
Loading