Implements putImageShm from DRIswrastLoaderExtension.
If XShm extension is not available, or fails, it will fallback on
regular XPutImage().
Tested on Linux only with 16bpp and 32bpp visual.
---
src/glx/drisw_glx.c | 164 +++
src/glx/drisw_priv.h
On Wed, 2015-06-10 at 18:08 +0200, Marc-André Lureau wrote:
+ if (!xshm_error shmid = 0) {
+ pdp-shminfo.shmid = shmid;
+ pdp-ximage = XShmCreateImage(dpy,
+pdp-visinfo-visual,
+pdp-visinfo-depth,
+
Hi
On Wed, Jun 10, 2015 at 6:17 PM, Chris Wilson ch...@chris-wilson.co.uk
wrote:
I did not find how you serialised the XServer reading from the SHM
following the call to XShmPutImage (which you may want to flush?) with
subsequent rendering into the image.
Correct, there is no sync. And I