Closed Bug 1393706 Opened 8 years ago Closed 8 years ago

Should compute visibility when creating fallback data in layers-free mode

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: ethlin, Assigned: ethlin)

References

Details

Attachments

(1 file)

For CreateWebRenderCommands(), we don't care the visible region. But for fallback path, the Paint() function may refer the variable that comes from ComputeVisibility(). So we should call ComputeVisibility() before painting.
A related reftest is "layout/reftests/box-shadow/boxshadow-inner-basic.html".
Comment on attachment 8901078 [details] Bug 1393706 - Compute display item's visibility when creating fallback data in layers-free mode. https://reviewboard.mozilla.org/r/172576/#review177920 Can you add a comment at the call to ComputeVisibility about why it needs to be there and give an example of a DisplayItem and place that uses the values?
Attachment #8901078 - Flags: review+
Comment on attachment 8901078 [details] Bug 1393706 - Compute display item's visibility when creating fallback data in layers-free mode. Got r=jrmuizel
Attachment #8901078 - Flags: review?(bugmail)
(In reply to Jeff Muizelaar [:jrmuizel] from comment #3) > Comment on attachment 8901078 [details] > Bug 1393706 - Compute display item's visibility when creating fallback data > in layers-free mode. > > https://reviewboard.mozilla.org/r/172576/#review177920 > > Can you add a comment at the call to ComputeVisibility about why it needs to > be there and give an example of a DisplayItem and place that uses the values? Okay, I will add a comment for the reason.
Pushed by ethlin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e8f739cba12 Compute display item's visibility when creating fallback data in layers-free mode. r=jrmuizel
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: