[Commits] [wesnoth/wesnoth] 23c888: Replace hand-written circular buffer with the boos...

GitHub noreply at github.com
Sun Nov 5 14:45:18 UTC 2017


  Branch: refs/heads/blur-refactor
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 23c888620e7a775f1e2db21dd4fe43e7c56ee7cf
      https://github.com/wesnoth/wesnoth/commit/23c888620e7a775f1e2db21dd4fe43e7c56ee7cf
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-05 (Sun, 05 Nov 2017)

  Changed paths:
    M src/sdl/utils.cpp

  Log Message:
  -----------
  Replace hand-written circular buffer with the boost one


  Commit: 23af2a3273ca93309f5f587cd7d54815ce14fe68
      https://github.com/wesnoth/wesnoth/commit/23af2a3273ca93309f5f587cd7d54815ce14fe68
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-05 (Sun, 05 Nov 2017)

  Changed paths:
    M data/scenario-test.cfg

  Log Message:
  -----------
  Add larger blur testcase


  Commit: 0df5fe8705fe1270616ca4dfd1456e1e45f3ed61
      https://github.com/wesnoth/wesnoth/commit/0df5fe8705fe1270616ca4dfd1456e1e45f3ed61
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-05 (Sun, 05 Nov 2017)

  Changed paths:
    M src/sdl/utils.cpp

  Log Message:
  -----------
  Properly size circular buffer

In most cases, it should now use less memory and be faster to construct.
In the other cases, blurring used to be incorrect because the buffer was too small.


  Commit: 7894b6044ca390280cf77b504369a759d4e27c63
      https://github.com/wesnoth/wesnoth/commit/7894b6044ca390280cf77b504369a759d4e27c63
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-05 (Sun, 05 Nov 2017)

  Changed paths:
    M src/sdl/utils.cpp

  Log Message:
  -----------
  Get rid of avg, which is now redundant


  Commit: d08b94faf1f5da718fb855e4827adc0cec71bf37
      https://github.com/wesnoth/wesnoth/commit/d08b94faf1f5da718fb855e4827adc0cec71bf37
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-05 (Sun, 05 Nov 2017)

  Changed paths:
    M src/sdl/utils.cpp

  Log Message:
  -----------
  Add comments explaining how the blurring works


Compare: https://github.com/wesnoth/wesnoth/compare/23c888620e7a^...d08b94faf1f5


More information about the Commits mailing list