Closed Bug 1510286 Opened 2 years ago Closed 2 years ago

Cache nsIFrame::BackfaceIsHidden() and nsIFrame::Combines3DTransformWithAncestors() in display items

Categories

(Core :: Web Painting, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: miko, Assigned: miko)

Details

Attachments

(1 file)

Currently FLB/DL building caches In3DContextAndBackfaceIsHidden(), which is slower than BackfaceIsHidden(). I think we can use the container frame information to figure out if we are inside 3D transform and use the simple version.

This also allows us to cache the value for WebRender.
Priority: -- → P3
Summary: Cache BackfaceIsHidden() in display items instead of In3DContextAndBackfaceIsHidden() → Cache nsIFrame::BackfaceIsHidden() and nsIFrame::Combines3DTransformWithAncestors() in display items
Attachment #9027916 - Attachment description: Bug 1510286 - Cache BackfaceIsHidden() in display items instead of In3DContextAndBackfaceIsHidden() → Bug 1510286 - Cache nsIFrame::BackfaceIsHidden() and nsIFrame::Combines3DTransformWithAncestors() in display items
Pushed by mikokm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/9c7c3ca16387
Cache nsIFrame::BackfaceIsHidden() and nsIFrame::Combines3DTransformWithAncestors() in display items r=mattwoodrow
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.