Renders a filtered region of its backdrop
Clears all colors from the area, making it possible to cut holes in the window.
(useful for things like the macos frosted-glass effect).
Just an abstraction for bundling up a bunch of clips into a “super clip”.
A reference to a clipping node defining how an item is clipped.
cbindgen:derive-eq=false
A grouping of fields a lot of display items need, just to avoid
repeating these over and over in this file.
An external identifier that uniquely identifies a scroll frame independent of its ClipId, which
may change from frame to frame. This should be unique within a pipeline. WebRender makes no
attempt to ensure uniqueness. The zero value is reserved for use by the root scroll node of
every pipeline, which always has an external id.
SVG Filter Primitive.
See: https://github.com/eqrion/cbindgen/issues/9
cbindgen:derive-eq=false
The area
A minimal hit-testable item for the parent browser’s convenience, and is
slimmer than a RectangleDisplayItem (no color). The existence of this as a
distinct item also makes it easier to inspect/debug display items.
This describes an image that fills the specified area. It stretches or shrinks
the image as necessary. While RepeatingImageDisplayItem could otherwise provide
a superset of the functionality, it has been problematic inferring the desired
repetition properties when snapping changes the size of the primitive.
A solid or an animating color to draw (may not actually be a rectangle due to complex clips)
This describes a background-image and its tiling. It repeats in a grid to fill
the specified area.
Per-primitive information about the nodes in the clip tree and
the spatial tree that the primitive belongs to.
A reference to a spatial node defining item positioning.
Defines a caller provided key that is unique for a given spatial node, and is stable across
display lists. WR uses this to determine which spatial nodes are added / removed for a new
display list. The content itself is arbitrary and opaque to WR, the only thing that matters
is that it’s unique and stable between display lists.
The minimum and maximum allowable offset for a sticky frame in a single dimension.