Bug 49002 - EGL/GBM: Make it possible to share buffers from compositor to clients
Summary: EGL/GBM: Make it possible to share buffers from compositor to clients
Status: RESOLVED WONTFIX
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
: 49003 (view as bug list)
Depends on:
Blocks: 48976
  Show dependency treegraph
 
Reported: 2012-04-20 12:12 UTC by Darxus
Modified: 2018-06-04 06:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Darxus 2012-04-20 12:12:44 UTC
Tricky part here is how to indicate to EGL on the server side that it should make an EGLImage available to a client.  We'll need a "create a wl_buffer for this EGLImage for this client" kind of entry point.
Comment 1 Daniel Stone 2014-10-03 17:19:30 UTC
*** Bug 49003 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Stone 2014-10-03 17:20:22 UTC
EGL implementations can already send a wl_surface along to the server, but then we need a way to indicate to gbm that a particular surface is (or isn't) a scanout candidate. gbm can then arbitrate buffer allocations itself. This is quite complex, but with this simple API addition, all hidden inside the implementation:
  gbm_surface_set_scanout_candidate(struct gbm_surface *surface, bool scanout)
Comment 3 Daniel Stone 2018-06-04 06:45:50 UTC
We don't plan to generically duplicate this X11 functionality, though some compositors have been looking at doing it.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.