Bug 1675375 Part 1: Define WebRender structures for polygons. r=gw
commita4639d5ca0d59918040f994f222bfbc1115451fa
authorBrad Werth <bwerth@mozilla.com>
Wed, 14 Apr 2021 17:17:14 +0000 (14 17:17 +0000)
committerBrad Werth <bwerth@mozilla.com>
Wed, 14 Apr 2021 17:17:14 +0000 (14 17:17 +0000)
tree01a25abc037b126a431adb8960d7eebd629933d2
parent047d32948f912280d8dfb36298a06515dc0e3686
Bug 1675375 Part 1: Define WebRender structures for polygons. r=gw

This patch defines a SetPoints DisplayItem for providing polygon mask points
associated with a ImageMaskClipDisplayItem. It also defines a WR enum for the
polygon fill rule. The method to provide these values to WR is mere scaffolding
until later patches in this series.

Differential Revision: https://phabricator.services.mozilla.com/D105396
gfx/wr/webrender/src/scene_building.rs
gfx/wr/webrender_api/src/display_item.rs
gfx/wr/webrender_api/src/display_list.rs