Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The great journey to port the SSE2+ 32bpp blitters #3

Draft
wants to merge 65 commits into
base: develop
Choose a base branch
from

Conversation

ticky
Copy link
Owner

@ticky ticky commented Oct 26, 2020

giphy

rubidium42 and others added 30 commits October 25, 2020 17:52
…add something more than whitespace as description of files that don't have a description.
…r.cpp to reduce binary size and compile time
…encoding and ~15% faster in drawing (depends on architecture)
… in drawing (depends on architecture and compiler)
… distinguished struct instead in the data stream for 8bpp-optimized
…ss destination directly instead. Makes palette animation ~40% faster.
…or blitter and driver names

Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
…ing and encoding so it uses similiar scheme as 8bpp-optimized

All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
… less darker for BM_TRANSPARENT (for 32bpp blitters)
…Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
…ile removing yet som more magic numbers and one "false" colour
…gical 0xFE number. Exact meaning will need to be found later.
…to make 'true' and 'false' more intuitively useable.
…ove some unneeded '(x == 0) ? 0 : 1' constructs.
…es of sprites: fonts, recolour, mapgen and normal sprites.
…rintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
@ticky ticky force-pushed the the-great-journey-to-port-blitters branch from e37cd8c to 6d31b3d Compare October 28, 2020 04:30
frosch123 and others added 17 commits November 12, 2020 21:01
…unneeded & 0xFF. Now use the same method of handling the colour as it would do when drawing a string instead of a character.
…ng on a 'Location' button, a town/station/industry list, or some news items.
…ader

-Codechange: Split the sorting code from the sortlist to an appropriate header
…iver"

This reverts commit dbe1c42.

This doesn't work on macOS 11
@ticky
Copy link
Owner Author

ticky commented Dec 22, 2020

TODO changes in blitters directory:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants