Closed Bug 1330261 Opened 9 years ago Closed 8 years ago

Convert visible region to WR's clip region

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ethlin, Assigned: ethlin)

References

Details

(Keywords: correctness)

This is a following bug from bug 1322504. We should support adding subimage to webrender, since sometimes we need to add partial image according to the visible region.
Depends on: 1322504
Blocks: webrender
Actually the WR stacking context supports complex clip region. We should convert the visible region to complex clip region. Other layers (like borderLayer) also need it.
Summary: Support adding subimage to webrender → Convert visible region to WR's clip region
I don't know if stacking contexts will continue to have complex clips. WR will be undergoing some changes to separate scroll roots from stacking contexts. In particular see a snippet of discussion at http://logs.glob.uno/?c=mozilla%23gfx&s=31+Jan+2017&e=31+Jan+2017&h=complex#c292421 - you might want to check with mrobinson and/or kvark before assuming the stacking context will continue to have complex clip regions.
Blocks: 1342343
Keywords: correctness
Have we resolved what needs to be done here?
Flags: needinfo?(ethlin)
IIRC this really only applies to the "layers" mode WR implementation and should be irrelevant in the layers-free mode, so we can probably close this bug. But Ethan can confirm.
This bug is for layers mode. We can close the bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(ethlin)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.