Closed
Bug 1639855
Opened 4 years ago
Closed 4 years ago
[Wayland] Implement dmabuf global ref count
Categories
(Core :: Widget: Gtk, enhancement, P3)
Core
Widget: Gtk
Tracking
()
RESOLVED
DUPLICATE
of bug 1619882
People
(Reporter: stransky, Assigned: stransky)
References
Details
Attachments
(1 obsolete file)
When vaapi generated dmabuf surfaces are shared across processes we need to know if it's safe to recycle them so we need to hold global reference count for them.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
This patch implements:
- Global surface UID for better tracking/debugging. The UID is passes acros all processes so we can track
surface usage. - WaylandAllocateShmMemory() function which uses shm_open() instead of files at tmp for Shm memory creation.
- DMABufRefcount() class based on POSIX semaphores created on top of shm memory.
Updated•4 years ago
|
Attachment #9150743 -
Attachment is obsolete: true
Assignee | ||
Comment 3•4 years ago
|
||
Let's fix that as a part of Bug 1619882
Assignee | ||
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•