feat(libcairo): construct mesh pattern patches #15685
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15685"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by hyvvs on 2026-11-04T04:35:30Z.
What
Implement seven new guest-callable
libcairomesh-pattern construction exports with typedAPS5_VABIsignatures:cairo_pattern_create_mesh,cairo_mesh_pattern_begin_patch,cairo_mesh_pattern_end_patch,cairo_mesh_pattern_move_to,cairo_mesh_pattern_line_to,cairo_mesh_pattern_curve_to, andcairo_mesh_pattern_set_corner_color_rgba.They construct and own mesh patch perimeter curves, interpolate missing interior control points, close partial patches, retain/clamp corner RGBA, handle reference counts, and preserve Cairo's sticky invalid-construction and pattern-type error states. This branch is stacked on #15208, which provides eight separate gradient-pattern exports and the shared pattern lifecycle. Only the seven mesh exports are newly implemented here; #15208's eight are not double-counted. Source-pattern rendering, paint/fill/stroke, firmware validation and PS5 console tests remain unsupported/unverified.
Tested
guest_cairo_meshplusguest_cairo_patterns: 2/2 pass on this exact commit93020abdac.git diff upstream/main...HEAD --checkand current-upstream-main merge-tree clean; conventions validated against the full PR template. No actual PS5 hardware tests are claimed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Pull request closed