WIP: Bug 1675375 Part 3: Stub in polygon clipping in WebRender. r=gw
commitbcc5964d99b0fd449a2a6783e07e94419eeac411
authorBrad Werth <bwerth@mozilla.com>
Mon, 12 Apr 2021 18:30:54 +0000 (12 18:30 +0000)
committerBrad Werth <bwerth@mozilla.com>
Mon, 12 Apr 2021 18:30:54 +0000 (12 18:30 +0000)
tree394a8b1c9308c418fc3e5d188d3dd3000fa5099f
parentdb5bbb58905c729cef6a7e432a83d308554347c9
WIP: Bug 1675375 Part 3: Stub in polygon clipping in WebRender. r=gw

This defines a PolygonKey and includes it in ClipItemKind::ImageMask. The
actual process of clipping is just a stub.

Differential Revision: https://phabricator.services.mozilla.com/D105548
gfx/wr/webrender/src/clip.rs
gfx/wr/webrender/src/hit_test.rs
gfx/wr/webrender/src/prim_store/mod.rs
gfx/wr/webrender/src/scene_building.rs