Closed Bug 1309646 Opened 9 years ago Closed 9 years ago

Use sChangeHint_UpdateBackgroundPosition hint while mask position changed

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: u459114, Assigned: u459114)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

1. Split nsDisplaySVGEffectsGeometry into nsDisplayMaskGeometry & nsDisplayFilterGeometry 2. Compute image mask geometry in nsDislayMaskGeometry. For now, we only compute SVG mask geometry in nsDisplaySVGEffectsGeometry.
3. Everything we did in nsDisplayBackgroundImage::ComputeInvalidationRegion, we need to re-implement in nsDisplayMask::ComputeInvalidationRegion
4. Leverage sChangeHint_UpdateBackgroundPosition hint in nsDisplayMask and nsStyleImageLayers::CalcDifference for mask
Depends on: 1309804
Summary: Implement nsDisplayMaskGeometry → Use sChangeHint_UpdateBackgroundPosition hint while mask position changed
Attachment #8800665 - Flags: review?(mstange)
Attachment #8800666 - Flags: review?(mstange)
Attachment #8800667 - Flags: review?(mstange)
Comment on attachment 8800665 [details] Bug 1309646 - Part 1. Narrow down the condition of invalid whole boundary. https://reviewboard.mozilla.org/r/85550/#review84256
Attachment #8800665 - Flags: review?(mstange) → review+
Comment on attachment 8800666 [details] Bug 1309646 - Part 2. Add TODO comment in nsCSSRendering::ComputeImageLayerPositioningArea. https://reviewboard.mozilla.org/r/85552/#review84258
Attachment #8800666 - Flags: review?(mstange) → review+
Comment on attachment 8800667 [details] Bug 1309646 - Part 3. Use nsChangeHint_UpdateBackgroundPosition in position mask. https://reviewboard.mozilla.org/r/85554/#review84262
Attachment #8800667 - Flags: review?(mstange) → review+
Pushed by cku@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8d4e4cdcce62 Part 1. Narrow down the condition of invalid whole boundary. r=mstange https://hg.mozilla.org/integration/autoland/rev/ec99fd747ee9 Part 2. Add TODO comment in nsCSSRendering::ComputeImageLayerPositioningArea. r=mstange https://hg.mozilla.org/integration/autoland/rev/1d99ebb404ef Part 3. Use nsChangeHint_UpdateBackgroundPosition in position mask. r=mstange
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: