Closed Bug 1420138 Opened 8 years ago Closed 8 years ago

Lots of zero-size primitive rect warnings

Categories

(Core :: Graphics: WebRender, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox59 --- affected

People

(Reporter: nical, Assigned: kats)

References

Details

(Whiteboard: [wr-reserve])

When running webrender my terminal is flooded with the warning "WARN:webrender::prim_store: invalid primitive rect TypedRect(0×0 at (0,0))" which gets in he way o debugging. I gave it a quick look and I have only established that it is not a zero-sized bounds or clip parameter in the display item, so my guess is that it is rather a zero-size *part* of a display item like a piece of border. It would make sense to filter these out when building the scene rather than during frame building, that way we have a bit less work to do each frame. I don't know if there are enough of them to make a measurable difference but if anything it would be great to not have that spam the logs.
Whiteboard: [wr-mvp] [triage]
Priority: -- → P3
Whiteboard: [wr-mvp] [triage] → [wr-mvp] [triage][wr-reserve-candidate]
Whiteboard: [wr-mvp] [triage][wr-reserve-candidate] → [wr-reserve]
Should be fixed now
Assignee: nobody → bugmail
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.