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

excaliburjs / Excalibur / 8205665309
89%

Build:
DEFAULT BRANCH: main
Ran 08 Mar 2024 03:49PM UTC
Jobs 1
Files 209
Run time 1min
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

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%)

47 of 52 new or added lines in 3 files covered. (90.38%)

11724 of 12852 relevant lines covered (91.22%)

23423.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8205665309.1 08 Mar 2024 03:49PM UTC 0
91.22
GitHub Action Run
Source Files on build 8205665309
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8205665309
  • 31548c95 on github
  • Prev Build on main (#8198854323)
  • Next Build on main (#8205665300)
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