mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 08:24:09 +00:00

This adds a utility function that can determine if a given point intersects an arbitrary polygon, by counting how many edges a "semi-infinite" horizontal ray crosses from that point. The plan is to use this for a software based read-pixel fast path that avoids using the GPU to rasterize journaled primitives and can instead intersect a point being read with quads in the journal to determine the correct color.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%