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

Make HardLight, Saturation, Fill and FileFinder faster #855

Merged
merged 15 commits into from Apr 5, 2016

Commits on Apr 1, 2016

  1. Copy the full SHA
    fffef08 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2016

  1. Speedup hardlight and saturation blits.

    Hard Light uses now a lookup table and the code is almost branch free. The table hurts the cache because of it's size but is faster then without cache because hard light requires branching.
    Saturation saves now one allocation and one OVER blit.
    Ghabry committed Apr 2, 2016
    Copy the full SHA
    bfff812 View commit details
    Browse the repository at this point in the history
  2. 1
    Copy the full SHA
    9508041 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    1f32370 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    101ac37 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2016

  1. Copy the full SHA
    3a8b90f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    df9a27f View commit details
    Browse the repository at this point in the history
  3. Determine blit operation for bitmap and tilemaps beforehand based on …

    …transparency of the image. Will prefer OP_SRC over _OVER when nothing is transparent.
    Ghabry committed Apr 3, 2016
    Copy the full SHA
    242234e View commit details
    Browse the repository at this point in the history
  4. Make blitting on the Map smarter. Draw bottom opaque when no panorama…

    … exists, otherwise with alpha. This saves an extra background graphic draw.
    Ghabry committed Apr 3, 2016
    Copy the full SHA
    188d567 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    703ef46 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    b9c723c View commit details
    Browse the repository at this point in the history
  7. Draw the background color for the title scene because this broke Hide…

    …Title and is not really worth the FPS gain.
    Ghabry committed Apr 3, 2016
    Copy the full SHA
    59f0f54 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2016

  1. Copy the full SHA
    dcd2211 View commit details
    Browse the repository at this point in the history
  2. GetOperator must take care of the mask. Set MaskedBlit back to OVER b…

    …ecause the mask doesn't work otherwise.
    Ghabry committed Apr 4, 2016
    Copy the full SHA
    0ed5bb3 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    4527e6f View commit details
    Browse the repository at this point in the history