[Commits] [wesnoth/wesnoth] 4b8e82: Mark the window as dirty instead of redrawing/draw...

GitHub noreply at github.com
Sat Jun 18 04:54:41 UTC 2016


  Branch: refs/heads/renderpath_redo
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4b8e823b0265073380fab81d88aa652ac0c61067
      https://github.com/wesnoth/wesnoth/commit/4b8e823b0265073380fab81d88aa652ac0c61067
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2016-06-18 (Sat, 18 Jun 2016)

  Changed paths:
    M src/actions/attack.cpp
    M src/actions/move.cpp
    M src/actions/undo.cpp
    M src/actions/unit_creator.cpp
    M src/actions/vision.cpp
    M src/dialogs.cpp
    M src/display.cpp
    M src/display.hpp
    M src/editor/controller/editor_controller.cpp
    M src/editor/map/context_manager.cpp
    M src/editor/palette/palette_manager.cpp
    M src/floating_label.cpp
    M src/floating_label.hpp
    M src/game_display.cpp
    M src/gui/dialogs/editor/custom_tod.cpp
    M src/menu_events.cpp
    M src/mouse_events.cpp
    M src/mouse_handler_base.cpp
    M src/play_controller.cpp
    M src/playmp_controller.cpp
    M src/playsingle_controller.cpp
    M src/playturn.cpp
    M src/replay_controller.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/synced_commands.cpp
    M src/units/udisplay.cpp
    M src/video.cpp

  Log Message:
  -----------
  Mark the window as dirty instead of redrawing/drawing forcibly.

This stops a lot of the draw calls to the display class, instead
simply marking it as dirty. By doing this it fixes the labels displayed
on a map that would be drawn multiple times otherwise.





More information about the Commits mailing list