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

Renderer: fast texture mapping #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Renderer: fast texture mapping #99

wants to merge 2 commits into from

Conversation

Helco
Copy link
Owner

@Helco Helco commented May 4, 2019

emulated floating-point addition is still way to slow for the tight loop of span rendering. By using fixed-point arithmetic in that single spot, the framerate on Pebble increases from 15 to at least 25.

Also changes textures from row-stored to column-stored as to improve cache usage.

Also fixes small glitch where the texture was mapped incorrectly horizontally, a single span was drawn with
a non-specified texture part

Should not be merged
Instead solve issue #68

@Helco Helco requested a review from gobuhl May 4, 2019 09:02
@Helco Helco self-assigned this May 4, 2019
@Helco Helco added this to In progress in Meistertask via automation May 4, 2019
@project-bot project-bot bot moved this from In progress to Needs review in Meistertask May 4, 2019
@Helco Helco modified the milestone: Required for Studienarbeit May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Meistertask
  
Needs review
Development

Successfully merging this pull request may close these issues.

None yet

1 participant