Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: f21dc735e25e6874404ffe5f8e32a703bf1428dc
https://github.com/Warzone2100/warzone2100/commit/f21dc735e25e6874404ffe5f8e32a703bf1428dc
Author: past-due <30942300+past-...@users.noreply.github.com>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M lib/ivis_opengl/textdraw.cpp
M lib/ivis_opengl/textdraw.h
Log Message:
-----------
Add `WidthLimitedWzText`, for simple, cached, width-limited (truncatable)
text display
Commit: 0ea2dbecbf56af8f9cd8f599ca5ad397bd7a6c77
https://github.com/Warzone2100/warzone2100/commit/0ea2dbecbf56af8f9cd8f599ca5ad397bd7a6c77
Author: past-due <30942300+past-...@users.noreply.github.com>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
Improve the drawing performance of the Multiplayer Lobby screen
Previously, text was rasterized when drawing every frame. Adding text caching
(WzText, WidthLimitedWzText) drastically reduces work done per frame (and,
thus, reduces CPU usage when viewing the Multiplayer Lobby screen).
Compare:
https://github.com/Warzone2100/warzone2100/compare/8f2bcb369e05...0ea2dbecbf56
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits