Closed Bug 146917 Opened 22 years ago Closed 3 years ago

reflow starvation in pagman.xul demo

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE
Future

People

(Reporter: andreww, Unassigned)

References

Details

(Keywords: perf)

Attachments

(1 file)

(deleted), application/x-zip-compressed
Details
download the pagman.zip included here and unzip and run pagman.xul you will see little pac-like ghosts moving around a grid. The ones that move slowly redraw ok. The ones that move fast leave artifacts behind them.
Attached file zip files with pagman demo in it (deleted) —
pagman xul animation demo.
Even worse.. on mac trunk I dont even see the ghosts moving unless I hit the stop button repeatedly.... this is bad..
Summary: pagman example shows bad redraw of xul images → pagman example shows bad redraw of xul images
rjesup - I dont know if any of the DHTML work you've been doing has had any effect on XUL animation, but could you please take a look at this as well?
sending to waterson to fwd to right owner.
Assignee: pavlov → waterson
Summary: pagman example shows bad redraw of xul images → reflow starvation in pagman.xul demo
This looks like the reflow-starving-paint chestnut. If you hack pagman.xul so that the setInterval is ~1000ms instead of 1ms, the Inky, Blinky, and friends start to show up again.
Depends on: 129640
is there/could there be a way to have a settimeout or setInterval that is "as soon as possible" like a special const or something so you could do: setInterval(time.asap,foo); Meaning... I'd like to find some way of knowing from the machine how fast can I display elements without this dropoff happening. perhaps like setInterval(-1,foo) or something.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Keywords: perf
QA Contact: tpreston → imagelib

The bug assignee didn't login in Bugzilla in the last 7 months.
:aosmond, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: waterson → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(aosmond)
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(aosmond)
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: