[Mesa-dev] [Bug 86701] [regression] weston-simple-egl not running anymore inside qemu

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 13 11:13:19 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=86701

--- Comment #13 from Daniel Stone <daniel at fooishbar.org> ---
Two reasons why VGEM is less helpful on Wayland than X11:
  - MIT-SHM on X forces you to allocate out of POSIX/SysV (forget which) SHM
regions, i.e. shmat() and friends; this is not true of wl_shm, which lets you
specify an arbitrary fd, as long as it's mmap()able
  - MIT-SHM requires you to schedule a server-side copy out of the SHM Image to
a Drawable (Pixmap or Window), whereas DRI2 adds the notion of flips and
exchanging storage; this is not true of wl_shm, as the wl_surface/wl_buffer
model natively supports buffer exchange

So I think just the relatively obvious wl_shm approach - which is less
divergent from the existing platform_wayland.c code than platform_x11's, given
that it shares the same buffer<->surface relationship, only diverging at buffer
allocation - will do just fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150413/3774c4f5/attachment.html>


More information about the mesa-dev mailing list