[Commits] [wesnoth/wesnoth] 083f8f: GUI2/Canvas: disable surface manip w/ accelerated ...

GitHub noreply at github.com
Wed Jun 7 16:47:37 UTC 2017


  Branch: refs/heads/accelerated_rendering
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 083f8fba761f99067f76981b5b3a07c847559e95
      https://github.com/wesnoth/wesnoth/commit/083f8fba761f99067f76981b5b3a07c847559e95
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
    M src/gui/core/canvas.cpp

  Log Message:
  -----------
  GUI2/Canvas: disable surface manip w/ accelerated rendering for stretch resize mode

RenderCopy handles that automatically.


  Commit: a59bd9d54c38113df1871986e31a8e583fcdea33
      https://github.com/wesnoth/wesnoth/commit/a59bd9d54c38113df1871986e31a8e583fcdea33
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-08 (Thu, 08 Jun 2017)

  Changed paths:
    M src/sdl/render_utils.hpp

  Log Message:
  -----------
  Fixed raii renderer rect setters

This fixes a problem that occurred if no previous set rect was available. In that case, both SDL_RenderGetClipRect
and SDL_RenderGetViewport returned empty rects and those were being set as the appropriate clip rects when the raii
object was destroyed.


  Commit: 3e57888945dadcc5fbf12e677731c85e12bfe14b
      https://github.com/wesnoth/wesnoth/commit/3e57888945dadcc5fbf12e677731c85e12bfe14b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-08 (Thu, 08 Jun 2017)

  Changed paths:
    M src/display.cpp
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Enabled drawing of minimap in-game


  Commit: ebf6c33eb796f4cfd27d3c15a2035b9fc344782a
      https://github.com/wesnoth/wesnoth/commit/ebf6c33eb796f4cfd27d3c15a2035b9fc344782a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-08 (Thu, 08 Jun 2017)

  Changed paths:
    M src/controller_base.cpp
    M src/editor/controller/editor_controller.cpp
    M src/events.cpp
    M src/events.hpp
    M src/gui/core/event/handler.cpp
    M src/gui/widgets/window.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Moved GUI2's per-frame drawing trigger to global scope

This is derived from work originally done by @aginor (48bcb277d4). I cherry-picked that commit and made a few alterations.


Compare: https://github.com/wesnoth/wesnoth/compare/68d94088ab85...ebf6c33eb796


More information about the Commits mailing list