<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [regression] weston-simple-egl not running anymore inside qemu"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86701#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [regression] weston-simple-egl not running anymore inside qemu"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86701">bug 86701</a>
from <span class="vcard"><a class="email" href="mailto:daniel@fooishbar.org" title="Daniel Stone <daniel@fooishbar.org>"> <span class="fn">Daniel Stone</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>