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

GitHub noreply at github.com
Mon Nov 6 04:58:24 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 39b8a5cdc9dfcd362ff529391dcd3cfd8ced8951
      https://github.com/wesnoth/wesnoth/commit/39b8a5cdc9dfcd362ff529391dcd3cfd8ced8951
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-06 (Mon, 06 Nov 2017)

  Changed paths:
    M src/sdl/utils.cpp

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


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

  Changed paths:
    M data/scenario-test.cfg

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


  Commit: 0f75e9eea0e35ea59cddc3f35707851562e0c35e
      https://github.com/wesnoth/wesnoth/commit/0f75e9eea0e35ea59cddc3f35707851562e0c35e
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-06 (Mon, 06 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: cd886048dcb3c97fe8c9ccdf7ba79d0733e8d3a0
      https://github.com/wesnoth/wesnoth/commit/cd886048dcb3c97fe8c9ccdf7ba79d0733e8d3a0
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-06 (Mon, 06 Nov 2017)

  Changed paths:
    M src/sdl/utils.cpp

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


  Commit: 403a45ecf406863698e917b387fb7c70ca27a89a
      https://github.com/wesnoth/wesnoth/commit/403a45ecf406863698e917b387fb7c70ca27a89a
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-06 (Mon, 06 Nov 2017)

  Changed paths:
    M src/sdl/utils.cpp

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


  Commit: 03009137155622449434af9edfc07dc1a962613f
      https://github.com/wesnoth/wesnoth/commit/03009137155622449434af9edfc07dc1a962613f
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-06 (Mon, 06 Nov 2017)

  Changed paths:
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Improve doxygen comments


  Commit: 8f730f2dd3d8e8548b68bfe2e9b180a391dd013d
      https://github.com/wesnoth/wesnoth/commit/8f730f2dd3d8e8548b68bfe2e9b180a391dd013d
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2017-11-06 (Mon, 06 Nov 2017)

  Changed paths:
    M src/sdl/utils.cpp

  Log Message:
  -----------
  Further refactoring of blur algorithm

Logic is now repeated less and pixels are only decomposed once.


Compare: https://github.com/wesnoth/wesnoth/compare/1c73adb70f7c...8f730f2dd3d8


More information about the Commits mailing list