Bug 239630 - x11/libxshmfence: prefer SHM_ANON over mksotemp()
Summary: x11/libxshmfence: prefer SHM_ANON over mksotemp()
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2019-08-03 21:30 UTC by Jan Beich
Modified: 2019-08-03 21:57 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
v1 (has commit message) (1.54 KB, patch)
2019-08-03 21:30 UTC, Jan Beich
jbeich: maintainer-approval? (x11)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2019-08-03 21:30:03 UTC
Created attachment 206257 [details]
v1 (has commit message)

SHM_ANON is faster and more similar to memfd_create(). Not bothering to upstream because futex/mksotemp fixes didn't get any feedback after 2 years. Patchwork is complete crap for one-off contributors i.e., those humble enough to not annoy everyone on patch maillist why their contribution wasn't reviewed yet.

libxshmfence is only used by DRI3, so make sure to define LIBGL_DRI3_ENABLE via environ(7) due to drm-legacy-kmod hacks in mesa-dri and if using xf86-video-intel add Option "DRI" "3" to xorg.conf.
Comment 1 Jan Beich freebsd_committer 2019-08-03 21:57:54 UTC
Sorry the rant. I've missed upstream move to GitLab.
https://gitlab.freedesktop.org/xorg/lib/libxshmfence/merge_requests/1