• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

excaliburjs / Excalibur / 8205665309 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 08 Mar 2024 03:49PM UTC
Files 209
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Mar 2024 03:45PM UTC coverage: 91.223% (+0.04%) from 91.182%
8205665309.1

push

github

web-flow
fix: Handle webgl context lost + Recover from hidpi scale too large (#2958)

This PR addresses some issues with webgl contexts

- Fixed issue when WebGL context lost occurs where there was no friendly output to the user
- Fixed issue where HiDPI scaling could accidentally scale past the 4k mobile limit, if the context would scale too large it will now attempt to recover by backing off.
- Added way to add custom WebGL context lost/recovered handlers for your game
  ```typescript
  const game = new ex.Engine({
    handleContextLost: (e) => {...},
    handleContextRestored: (e) => {...}
  })
  ```

Default context lost screen 

![image](https://github.com/excaliburjs/Excalibur/assets/612071/92b20772-7ce9-4099-86aa-d174d561044e)

5327 of 6739 branches covered (79.05%)

11724 of 12852 relevant lines covered (91.22%)

23423.96 hits per line

Source Files on job 8205665309.1
  • Tree
  • List 0
  • Changed 74
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8205665309
  • 31548c95 on github
  • Prev Job for on main (#8198854323.1)
  • Next Job for on main (#8205665300.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc