Closed
Bug 2028126
Opened 6 months ago
Closed 6 months ago
Optimise longfox draw code
Categories
(Firefox for Android :: Tooling, task)
Tracking
()
RESOLVED
FIXED
151 Branch
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: polly, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group6])
Attachments
(1 file)
Looking for ways to speed up the game, it can get a big laggy as the fox grows long.
- The draw code in DrawFoxBody.kt is doing some calculations which could be hoisted up and remembered so we only compute the body state once per game tick.
- Should also create and reuse a Path rather than making a new one each time
Updated•6 months ago
|
Comment 1•6 months ago
|
||
Pushed by pmceldowney@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/2b458230707c
https://hg.mozilla.org/integration/autoland/rev/275b449d5fb3
Optimise draw code. r=lottiehope
Status: NEW → RESOLVED
Closed: 6 months ago
status-firefox151:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•