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

excaliburjs / Excalibur / 1123
84%
main: 89%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/site/postcss-8.5.23
DEFAULT BRANCH: main
Ran 16 Nov 2016 05:25AM UTC
Jobs 1
Files 1
Run time 1s
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

pending completion
1123

push

travis-ci

eonarheim
Minimize Sprite#_applyEffects calls (#690)

## Changes:

- In `Actor`, don't reapply effects to drawing in `update` method, do it only in `draw` and if `frames` or `opacity` was changed
- In `Sprite`, always set `_effectsDirty` flag after effects were applied
- Few minor changes, like don't calculate same value twice in same method

It's my attempt to improve things on issue #481. It doesn't close issue completely because source of unnecessary calls to `Sprite#_loadPixels` remains mystery to me, but I was able to reduce amount of `_applyEffects` calls.
I can miss some effects' use cases (although sandbox tests seemed working), so please review this carefully.

4441 of 6567 relevant lines covered (67.63%)

162.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1123.1 16 Nov 2016 05:25AM UTC 0
67.63
Travis Job 1123.1
Source Files on build 1123
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1123
  • e7ccc6bc on github
  • Prev Build on master (#1122)
  • Next Build on master (#1134)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc