Waylandsink - same buffer on multiple wl displays
Closes #1338 (closed)
This MR adds a unique WlBuffer context for each display to each WlBuffer, so that the same GstBuffer can be displayed on multiple waylandsink instances, each with their own connection to the wayland display.
Merge request reports
Activity
mentioned in issue #1338 (closed)
- Resolved by Nicolas Dufresne
In theory, as @ystreet said on the issue, if we add GstContext sharing through bins (I think waylandsink was written before this was added, not sure), all your waylandsink would share the same display, so a per display cache would make sense, reducing a bit the round-trips and possibly reducing spurious cache dma management (kernel overhead). So I think it's also a good place to store the cache.
added 1 commit
- dd7e7f69 - waylandsink: Keep per display wayland buffer caches
- Resolved by Nicolas Dufresne
- Resolved by Nicolas Dufresne
changed milestone to %1.17.90
added Blocker label
@tpm I'd like this one in for the release.
So I'll just wait a little for @dhobsong's feeback on the comment back on the possible missing locking, and then we should be good to wrap.
@dhobsong any feedback ?
added 1 commit
- a15f93cc - waylandsink: Keep per display wayland buffer caches
@ndufresne I've pushed the updated commit.
- Resolved by Nicolas Dufresne