Closed Bug 1357311 Opened 7 years ago Closed 1 month ago

Reuse image key for nsDisplayBullet with same path style

Categories

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

enhancement

Tracking

()

RESOLVED WONTFIX
mozilla57
Tracking Status
firefox56 --- unaffected
firefox57 --- unaffected

People

(Reporter: ethlin, Unassigned)

References

Details

(Keywords: stale-bug, Whiteboard: [wr-reserve])

This is a following bug of bug 1349500. Currently we generate image key for each path type bullet item. We should reuse the image key so that we don't need to render/upload some many images.
:ethlin, how are you going to implement a fix? Is it conflict to Bug 1355702 work?
Flags: needinfo?(ethlin)
(In reply to Sotaro Ikeda [:sotaro] from comment #1)
> :ethlin, how are you going to implement a fix? Is it conflict to Bug 1355702
> work?

I think it's not conflict to Bug 1355702. I will reuse the image key based on display item info since two display items with the same style will generate the same image. According to the patch in bug 1355702, it looks like reusing the image key based on the ImageClient's counter. The two bugs should be different approaches to deduce WrImageKey allocation.
Flags: needinfo?(ethlin)
Thanks!
Is this related to the recent 'reusing the keys' work?
Flags: needinfo?(nical.bugzilla)
(In reply to Milan Sreckovic [:milan] from comment #4)
> Is this related to the recent 'reusing the keys' work?

I think that this one is about using the same image key within a frame when several bullet points have the same style and size. In addition to that we should reuse these image keys across frames (the latter is what you are referring to).
Flags: needinfo?(nical.bugzilla)
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [wr-mvp]
Target Milestone: --- → mozilla57
This bug should have low priority for now. I won't look into this bug in a short time. Change to priority to P2 and remove the assignee.
Assignee: ethlin → nobody
Status: ASSIGNED → NEW
Priority: P1 → P2
Priority: P2 → P3
Whiteboard: [wr-mvp] → [wr-reserve]
I don't think this needs to block
No longer blocks: stage-wr-trains
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.