[Commits] [wesnoth/wesnoth] d2922f: SDL/Window: set render scaling method to linear

GitHub noreply at github.com
Mon Jun 12 09:01:30 UTC 2017


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

  Changed paths:
    M src/sdl/window.cpp

  Log Message:
  -----------
  SDL/Window: set render scaling method to linear

This looks better than NN scaling (default);


  Commit: 7f04a38229c3d73f07509fcc9fb839b34f2af44e
      https://github.com/wesnoth/wesnoth/commit/7f04a38229c3d73f07509fcc9fb839b34f2af44e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/video.cpp

  Log Message:
  -----------
  Video: enabled accelerated rendering with texture target access


  Commit: 38d8829bf6e15e8d295f04b33c91b920ab5a1ab4
      https://github.com/wesnoth/wesnoth/commit/38d8829bf6e15e8d295f04b33c91b920ab5a1ab4
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M data/gui/widget/button_default.cfg
    M src/gui/core/canvas.cpp
    M src/gui/core/canvas.hpp
    M src/gui/core/canvas_private.hpp
    M src/gui/core/event/handler.cpp
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/window.cpp

  Log Message:
  -----------
  GUI2/Canvas: refactor surface blitting out of drawing routines

This entirely refactors surface blitting out of the canvas. Instead, each canvas owns a texture. This texture
is completely redrawn any time the canvas if marked dirty, else the result is cached and drawn to the screen
each draw cycle.

All windows are now redrawn every draw cycle. The use of the cached canvas textures means there's no noticeable
performance difference (likely a performance gain, actually) from using surface blitting.

There's still some code to clean up and a few things to fix.


  Commit: 3538bb666e597e88b1b32b542a5fecc666b18718
      https://github.com/wesnoth/wesnoth/commit/3538bb666e597e88b1b32b542a5fecc666b18718
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/widgets/window.cpp

  Log Message:
  -----------
  GUI2/Window: properly re-implement draw and restore code

We don't need all this dirty list or handling or surface restoration anymore.


  Commit: 306541d4a03556f3a7831b88d4a69add0950a932
      https://github.com/wesnoth/wesnoth/commit/306541d4a03556f3a7831b88d4a69add0950a932
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/core/event/handler.cpp
    M src/gui/dialogs/debug_clock.cpp
    M src/gui/dialogs/editor/custom_tod.cpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/gui/dialogs/outro.cpp
    M src/gui/dialogs/story_viewer.cpp
    M src/gui/dialogs/story_viewer.hpp
    M src/gui/dialogs/title_screen.cpp
    M src/gui/widgets/button.cpp
    M src/gui/widgets/container_base.cpp
    M src/gui/widgets/container_base.hpp
    M src/gui/widgets/generator.hpp
    M src/gui/widgets/generator_private.hpp
    M src/gui/widgets/grid.cpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/label.cpp
    M src/gui/widgets/list.cpp
    M src/gui/widgets/listbox.cpp
    M src/gui/widgets/listbox.hpp
    M src/gui/widgets/matrix.cpp
    M src/gui/widgets/matrix.hpp
    M src/gui/widgets/menu_button.cpp
    M src/gui/widgets/minimap.hpp
    M src/gui/widgets/multimenu_button.cpp
    M src/gui/widgets/pane.cpp
    M src/gui/widgets/pane.hpp
    M src/gui/widgets/progress_bar.cpp
    M src/gui/widgets/repeating_button.cpp
    M src/gui/widgets/scrollbar.cpp
    M src/gui/widgets/scrollbar_container.cpp
    M src/gui/widgets/scrollbar_container.hpp
    M src/gui/widgets/slider.hpp
    M src/gui/widgets/styled_widget.cpp
    M src/gui/widgets/text_box.cpp
    M src/gui/widgets/text_box_base.cpp
    M src/gui/widgets/toggle_button.cpp
    M src/gui/widgets/toggle_panel.cpp
    M src/gui/widgets/tree_view.cpp
    M src/gui/widgets/tree_view.hpp
    M src/gui/widgets/tree_view_node.cpp
    M src/gui/widgets/tree_view_node.hpp
    M src/gui/widgets/viewport.cpp
    M src/gui/widgets/viewport.hpp
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/widget.hpp
    M src/gui/widgets/window.hpp
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  GUI2: removed dirty widget interface

This is no longer needed since we redraw everything every frame. The dirty flag in the canvas remains
as that controls whether the cached texture is used or recreated.


  Commit: 5a4d98228e459838b51d7c47491c10344f59f26a
      https://github.com/wesnoth/wesnoth/commit/5a4d98228e459838b51d7c47491c10344f59f26a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/widgets/window.cpp
    M src/gui/widgets/window.hpp

  Log Message:
  -----------
  GUI2/Window: removed restore flag and restorer surface


  Commit: 9898dcd0f99171f56bbd97448828ce17947e701d
      https://github.com/wesnoth/wesnoth/commit/9898dcd0f99171f56bbd97448828ce17947e701d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/core/canvas.cpp
    M src/gui/core/canvas.hpp
    M src/gui/widgets/panel.cpp
    M src/gui/widgets/styled_widget.cpp

  Log Message:
  -----------
  GUI2/Canvas: renamed blit function and removed surface argument


  Commit: 33eb35279d60ed8e90f4ef0d46afaa595d1f54cf
      https://github.com/wesnoth/wesnoth/commit/33eb35279d60ed8e90f4ef0d46afaa595d1f54cf
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/widgets/container_base.cpp
    M src/gui/widgets/container_base.hpp
    M src/gui/widgets/generator.hpp
    M src/gui/widgets/generator_private.hpp
    M src/gui/widgets/grid.cpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/matrix.cpp
    M src/gui/widgets/matrix.hpp
    M src/gui/widgets/minimap.cpp
    M src/gui/widgets/minimap.hpp
    M src/gui/widgets/multi_page.cpp
    M src/gui/widgets/multi_page.hpp
    M src/gui/widgets/pane.cpp
    M src/gui/widgets/pane.hpp
    M src/gui/widgets/panel.cpp
    M src/gui/widgets/panel.hpp
    M src/gui/widgets/scrollbar_container.cpp
    M src/gui/widgets/scrollbar_container.hpp
    M src/gui/widgets/spacer.cpp
    M src/gui/widgets/spacer.hpp
    M src/gui/widgets/styled_widget.cpp
    M src/gui/widgets/styled_widget.hpp
    M src/gui/widgets/toggle_panel.cpp
    M src/gui/widgets/toggle_panel.hpp
    M src/gui/widgets/tree_view_node.cpp
    M src/gui/widgets/tree_view_node.hpp
    M src/gui/widgets/viewport.cpp
    M src/gui/widgets/viewport.hpp
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/widget.hpp
    M src/gui/widgets/window.cpp

  Log Message:
  -----------
  GUI2: removed framebuffer code from draw impl functions


  Commit: 271abd07c52b48f9b1d2185871a8c40fc9a80b8d
      https://github.com/wesnoth/wesnoth/commit/271abd07c52b48f9b1d2185871a8c40fc9a80b8d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/font/text.cpp

  Log Message:
  -----------
  Hack to get text to render right


  Commit: 8d8552f03d1b412dc7a2907421adf223eaf5e8ae
      https://github.com/wesnoth/wesnoth/commit/8d8552f03d1b412dc7a2907421adf223eaf5e8ae
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/core/canvas.cpp
    M src/gui/core/canvas.hpp
    M src/gui/widgets/panel.cpp
    M src/gui/widgets/styled_widget.cpp
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/widget.hpp

  Log Message:
  -----------
  GUI2: refactored viewport setting and re-added clip rect setting

It turns out I had removed the clip rect setting in error; it prevented items in, say, a listbox from drawing
outside the widget's boundaries. I've re-added that now.

I've also moved viewport setting to the same place. It turns out it didn't need to be set every canvas draw.
The only reason the old code was passing the blitting rect to the canvas was it was needed for the sdl_blit call.
Since I can now set the viewport independent of a canvas state, there's no longer a need to set the viewport in
the canvas.


  Commit: 0d9adbc24d3115af2f09434425ea7344b9ba55dc
      https://github.com/wesnoth/wesnoth/commit/0d9adbc24d3115af2f09434425ea7344b9ba55dc
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/core/event/handler.cpp
    M src/gui/dialogs/lua_interpreter.cpp

  Log Message:
  -----------
  Fixed some unused parameter warnings


  Commit: 92518ae4dc971930a1d20cee302b10c768f0ff8f
      https://github.com/wesnoth/wesnoth/commit/92518ae4dc971930a1d20cee302b10c768f0ff8f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/widgets/window.cpp

  Log Message:
  -----------
  Removed some debug output

[ci skip]


  Commit: 0f1a93af2597b2880a1a748e6bd0effe52350171
      https://github.com/wesnoth/wesnoth/commit/0f1a93af2597b2880a1a748e6bd0effe52350171
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/core/canvas.cpp
    M src/gui/widgets/widget.cpp
    M src/video.cpp

  Log Message:
  -----------
  Added some code to make my recent changes work with a software renderer


  Commit: 0d70093d6fe8b786dab315f92738e0f0907b15bc
      https://github.com/wesnoth/wesnoth/commit/0d70093d6fe8b786dab315f92738e0f0907b15bc
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/sdl/window.cpp

  Log Message:
  -----------
  Enable SDL_HINT_FRAMEBUFFER_ACCELERATION

Not sure if this does anything, really.


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

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

  Log Message:
  -----------
  GUI2/Canvas: removed surface_lock objects

The canvas surface isn't even passed to these functions anymore so I have no idea how this built.


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

  Changed paths:
    M src/gui/core/event/handler.cpp

  Log Message:
  -----------
  Small code simplification


  Commit: 1db57d2d9968b1832d8cfa6577c79a69f7e8ac9a
      https://github.com/wesnoth/wesnoth/commit/1db57d2d9968b1832d8cfa6577c79a69f7e8ac9a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

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

  Log Message:
  -----------
  GUI2/Canvas: add error logging if canvas texture creation fails


  Commit: 91f153943d9611fd6bba87910e5c03fa7bd41346
      https://github.com/wesnoth/wesnoth/commit/91f153943d9611fd6bba87910e5c03fa7bd41346
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M source_lists/libwesnoth_sdl
    M src/display.cpp
    M src/gui/core/canvas.cpp
    M src/gui/core/canvas.hpp
    M src/gui/core/event/handler.cpp
    M src/help/help.cpp
    A src/sdl/texture.cpp
    A src/sdl/texture.hpp
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  Added SDL_Texture wrapper class and some utility functions


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

  Changed paths:
    M src/gui/widgets/minimap.cpp

  Log Message:
  -----------
  GUI2/Minimap: quick fix to get the minimap drawing again


  Commit: 82c5b343260fffb862f0d53e1179cdfa33920df4
      https://github.com/wesnoth/wesnoth/commit/82c5b343260fffb862f0d53e1179cdfa33920df4
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M src/gui/core/canvas.cpp
    A src/sdl/render_utils.hpp
    M src/sdl/texture.cpp
    M src/sdl/texture.hpp

  Log Message:
  -----------
  Moved renderer RAII helpers to their own file and added ones for clip rect and viewport


  Commit: 8b1f979f8353737d1bd8fdab57a871a40a17990d
      https://github.com/wesnoth/wesnoth/commit/8b1f979f8353737d1bd8fdab57a871a40a17990d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/video.cpp

  Log Message:
  -----------
  CVideo: convert blit_surface to handle input as textures instead of blitting to framebuffer


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

  Changed paths:
    M src/gui/widgets/widget.cpp
    M src/sdl/rect.cpp

  Log Message:
  -----------
  Use get_renderer() over *get_window()

This doesn't appear to have been an issue in the rectangle drawing code at least, but it should guard
against possible segfaults in the future.


  Commit: 33829d93662036cd6e8edeb6ba4ef6ba20d329d5
      https://github.com/wesnoth/wesnoth/commit/33829d93662036cd6e8edeb6ba4ef6ba20d329d5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/image.cpp
    M src/image.hpp

  Log Message:
  -----------
  Added a texture cache

Note this probably doesn't work properly yet since I haven't properly implemented shared management
of textures in their wrapper class.


  Commit: 8225790e48ff60dc0e49829da1e4db5c259da2ec
      https://github.com/wesnoth/wesnoth/commit/8225790e48ff60dc0e49829da1e4db5c259da2ec
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/sdl/texture.cpp
    M src/sdl/texture.hpp

  Log Message:
  -----------
  Texture: converted internal handling to use a shared_ptr

This allows multiple texture objects to refer to the same texture without destroying them prematurely.
This is different from the SDL_Surface wrapper's implementation since surfaces have their own internal
refcounting system; textures do not.


  Commit: 7f5729e7f1d9b4a1cfe7f71806ac84aa436fed01
      https://github.com/wesnoth/wesnoth/commit/7f5729e7f1d9b4a1cfe7f71806ac84aa436fed01
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 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: a9674df4ab9eeef2e7af04973795116d28a23627
      https://github.com/wesnoth/wesnoth/commit/a9674df4ab9eeef2e7af04973795116d28a23627
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 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: dde7bb349b8a4589765ce245829c952027dc892a
      https://github.com/wesnoth/wesnoth/commit/dde7bb349b8a4589765ce245829c952027dc892a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 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: 63f852cc986248879e4325876517f307f5d8ef26
      https://github.com/wesnoth/wesnoth/commit/63f852cc986248879e4325876517f307f5d8ef26
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 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.


  Commit: 81107d11f1d46da783b87f0873d9dad720e99aab
      https://github.com/wesnoth/wesnoth/commit/81107d11f1d46da783b87f0873d9dad720e99aab
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/image.cpp

  Log Message:
  -----------
  Fixup texture cache


  Commit: 21f7631962019c0bb2efc0290ecf2f94948aee6f
      https://github.com/wesnoth/wesnoth/commit/21f7631962019c0bb2efc0290ecf2f94948aee6f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M data/gui/widget/image_default.cfg

  Log Message:
  -----------
  GUI2/Image: added tiled-to-size image definition


  Commit: 325cf350db6255078fc08dcddadf4a337564644f
      https://github.com/wesnoth/wesnoth/commit/325cf350db6255078fc08dcddadf4a337564644f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/gui/widgets/minimap.cpp

  Log Message:
  -----------
  GUI2/Miniap: draw any provided canvas data before the minimap


  Commit: 0976ad8c9ccab4d7f253fc12c50cebea669486ac
      https://github.com/wesnoth/wesnoth/commit/0976ad8c9ccab4d7f253fc12c50cebea669486ac
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M data/gui/widget/toggle_button_icon.cfg

  Log Message:
  -----------
  GUI2: fixed some overlay drawing issues with icon toggle buttons

Not sure why, but in some cases the overlay calculations were getting screwed up. This makes them use
the general centered image macro, with accompanying fallback safety checks.


  Commit: 3350d0f8ec7b1828cb586331b4bb4b31d0c894b1
      https://github.com/wesnoth/wesnoth/commit/3350d0f8ec7b1828cb586331b4bb4b31d0c894b1
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M data/gui/widget/image_default.cfg

  Log Message:
  -----------
  Fixup a27e10912d5


  Commit: 50be1029abd7a6af6fe1b979736d5e974c0d874e
      https://github.com/wesnoth/wesnoth/commit/50be1029abd7a6af6fe1b979736d5e974c0d874e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M data/gui/widget/image_default.cfg

  Log Message:
  -----------
  GUI2/Image: added scaled-to-size definition


  Commit: 85801d01a8341ffe5a958614ac08141655cc5dae
      https://github.com/wesnoth/wesnoth/commit/85801d01a8341ffe5a958614ac08141655cc5dae
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M data/gui/widget/toggle_button_icon.cfg

  Log Message:
  -----------
  GUI2/Toggle Button: added medium-sized icon button definition


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

  Changed paths:
    M data/core/images/themes/classic/menubar.png
    A data/gui/window/game_ui.cfg
    M projectfiles/CodeBlocks/wesnoth.cbp
    M source_lists/wesnoth
    A src/gui/dialogs/game_ui.cpp
    A src/gui/dialogs/game_ui.hpp
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  Added static prototype for GUI2 in-game theme


  Commit: 72b90b51a3447460fce30aa21f2de335f44677e5
      https://github.com/wesnoth/wesnoth/commit/72b90b51a3447460fce30aa21f2de335f44677e5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M source_lists/libwesnoth
    M src/arrow.cpp
    M src/arrow.hpp
    M src/display.cpp
    M src/display.hpp
    A src/drawing_buffer.cpp
    A src/drawing_buffer.hpp
    M src/editor/editor_display.cpp
    M src/game_display.cpp
    M src/units/animation.cpp
    M src/units/drawer.cpp
    M src/units/frame.cpp
    M src/whiteboard/attack.cpp
    M src/whiteboard/manager.cpp
    M src/whiteboard/move.cpp
    M src/whiteboard/recall.cpp
    M src/whiteboard/recruit.cpp
    M src/whiteboard/suppose_dead.cpp

  Log Message:
  -----------
  Decoupled drawing buffer code from display class


  Commit: 27026b171354603525b02602169b8e6ce594df46
      https://github.com/wesnoth/wesnoth/commit/27026b171354603525b02602169b8e6ce594df46
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/units/unit.cpp

  Log Message:
  -----------
  Unit: fixed hp and xp colors having 0 alpha


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

  Changed paths:
    M src/display.cpp
    M src/display.hpp
    M src/editor/editor_display.cpp
    M src/gui/widgets/minimap.cpp
    M src/playsingle_controller.cpp
    M src/units/drawer.cpp
    M src/units/drawer.hpp
    M src/units/frame.cpp
    M src/video.cpp
    M src/video.hpp
    M src/whiteboard/attack.cpp
    M src/whiteboard/suppose_dead.cpp

  Log Message:
  -----------
  Initial refactor for main-screen accelerated rendering


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

  Changed paths:
    M src/gui/core/event/handler.cpp

  Log Message:
  -----------
  GUI2: moved event handling into main context

Not sure why I need to call join() in connect() instead of the ctor, though.


Compare: https://github.com/wesnoth/wesnoth/compare/ae75919cad78...f50c07725013


More information about the Commits mailing list