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

Blitter line drawing improvements #7082

Merged
merged 3 commits into from
Jan 24, 2019

Commits on Jan 24, 2019

  1. Codechange: [Blitter] Change DrawLine to be templated

    This is remove per-pixel overheads due to use of the SetPixel virtual
    method.
    These overheads included:
    * expensive virtual method call which prevents inlining
    * palette lookup for every pixel
    * branch on whether palette animation is enabled on every pixel
    
    Regenerate project files.
    JGRennison committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    1229b00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae4c662 View commit details
    Browse the repository at this point in the history
  3. Codechange: [Blitter] Adjust line-drawing algorithm to reduce wasted …

    …off-screen work
    
    This clips the line segment to be within the screen area prior to pixel iteration.
    JGRennison committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    5deee94 View commit details
    Browse the repository at this point in the history