[Commits] [wesnoth/wesnoth] 319abf: This removes references to blit_surface and introd...
GitHub
noreply at github.com
Wed Oct 26 06:14:18 UTC 2016
Branch: refs/heads/tidyup_blitting
Home: https://github.com/wesnoth/wesnoth
Commit: 319abf417a2b02f7b15a2804343d320132a23235
https://github.com/wesnoth/wesnoth/commit/319abf417a2b02f7b15a2804343d320132a23235
Author: Andreas Löf <andreas at alternating.net>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M src/display.cpp
M src/font/text.cpp
M src/font/text.hpp
M src/gui/core/canvas.cpp
M src/sdl/utils.cpp
M src/sdl/utils.hpp
M src/widgets/multimenu.cpp
Log Message:
-----------
This removes references to blit_surface and introduces masks for colours
blit_surface is slow compared to the SDL functions and is something we want to remove in order to add hardware rendering.
colours are currently defined by people manually typing out the bit masks, this
lays the groundwork for defining them manually each time. This also starts to acknowledge that alpha is a part of colours.
More information about the Commits
mailing list