[Commits] [wesnoth/wesnoth] ae16c9: Add a FPS counter that's invoked every time a draw...

GitHub noreply at github.com
Mon Apr 4 10:52:44 UTC 2016


  Branch: refs/heads/renderpath_redo
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ae16c900dcda997a239441f6b8cdd6d60fcb2c5b
      https://github.com/wesnoth/wesnoth/commit/ae16c900dcda997a239441f6b8cdd6d60fcb2c5b
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2016-04-04 (Mon, 04 Apr 2016)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/controller_base.cpp
    M src/display.cpp
    M src/display.hpp
    M src/editor/editor_display.cpp
    M src/editor/editor_display.hpp
    M src/events.cpp
    M src/game_display.cpp
    M src/gui/core/event/handler.cpp
    M src/loadscreen.cpp

  Log Message:
  -----------
  Add a FPS counter that's invoked every time a draw call is made.

Change the codebase so that draws are now event-driven, and every time an event is pumped, there may be a draw performed. Draw-events have been turned into singletons, so there will never be more than one in the queue.
This code also disables the loadscreen since it'll conflict with master anyway. This is still work in progress, and not complete, but is a step towards getting there.





More information about the Commits mailing list