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

Engine frame clear too slow on hidpi devices #1030

Open
eonarheim opened this Issue Aug 16, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@eonarheim
Member

eonarheim commented Aug 16, 2018

Steps to Reproduce

On a hidpi device, the frame clear is substantially slower than it should be for performant games

image

Expected Result

Frame clear should be much quicker

Actual Result

Frame clear is slow

Environment

  • browsers and versions: Latest chrome
  • operating system: Win10
  • Excalibur versions: v0.18.0
  • (anything else that may be relevant)

Suggested Fix

FillRect and ClearRect need to do a full bresenham scan of the screen rectangle, caching the flood fill in a bitmap and blitting that to the screen should speed things up.

@eonarheim eonarheim added the bug label Aug 16, 2018

@eonarheim eonarheim added this to the 0.19.0 Release milestone Aug 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment