Skip to content
Snippets Groups Projects
  1. Nov 20, 2021
  2. Nov 15, 2021
    • Andrey Kleshchev's avatar
      SL-15756 Removed mHasGeneratedFaces · 3641541c
      Andrey Kleshchev authored
      mHasGeneratedFaces is always true for some types of models and glod was treating faces as one mesh by default, so meshoptimizer should do the same regardles of mHasGeneratedFaces
      3641541c
  3. Oct 14, 2021
  4. Sep 20, 2021
  5. Sep 09, 2021
  6. Aug 04, 2021
  7. Aug 03, 2021
  8. Jul 28, 2021
  9. May 26, 2021
  10. Apr 28, 2021
  11. Apr 12, 2021
  12. Apr 06, 2021
  13. Mar 26, 2021
  14. Mar 23, 2021
  15. Mar 22, 2021
  16. Jan 11, 2021
  17. Dec 10, 2020
  18. Dec 09, 2020
  19. Nov 23, 2020
  20. Nov 09, 2020
  21. Oct 28, 2020
  22. Oct 19, 2020
  23. Aug 28, 2020
  24. Aug 11, 2020
  25. Aug 03, 2020
  26. Jul 06, 2020
  27. Jul 02, 2020
  28. Apr 23, 2020
  29. Mar 27, 2020
  30. Mar 26, 2020
  31. Mar 25, 2020
    • Anchor's avatar
      32f1dfa5
    • 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
  32. Nov 27, 2019
  33. Aug 05, 2019
  34. Jul 24, 2019
  35. Apr 01, 2019
  36. Mar 29, 2019
    • Geenz's avatar
      Tweaked naming a bit, also white space. · 0272c47e
      Geenz authored
      Will wait for a response from @graham_linden regarding moving the sRGB conversion functions in llmath.h to llrender.
      0272c47e
    • Geenz's avatar
      Gamma correction pass 2: · 57d88a8a
      Geenz authored
      Make sure lights are in the correct color space.
      Bonus: cache the sRGB color in setLightColor on point and spot lights.  Frees up a pow and some multiplies on the CPU every frame.
      57d88a8a
Loading