Example code,  docs...

http://www.mesa3d.org/brianp/xshm.c

http://personales.mundivia.es/jap/xshm.htm

Tom

On Feb 5, 2015 7:40 PM, "Tom Wickline" <twickline@gmail.com> wrote:

There is a man page for starters..

Tom

On Feb 5, 2015 4:58 PM, "John Found" <johnfound@asm32.info> wrote:
On Wed, 04 Feb 2015 12:24:30 +0200
Shachar Shemesh <shachar@shemesh.biz> wrote:

>
>
> On 31/01/2015 12:19, Stefan Dösinger wrote:
>
> > Am 31.01.2015 um 08:11 schrieb John Found <johnfound@asm32.info>:
> >
> >> So, the question: How in WINE is implemented BitBlt function in order to have so high performance and so low CPU load?
> >
> > We use the X render extension. See dlls/winex11.drv/xrender.c.
> >
> > (I am not an expert on the GDI parts of Wine, so no guarantee for correctness of this information. I haven't followed the full path from gdi's BitBlt to the final X11 call)
>
> Perhaps using XSHM for such things would be better (at least when the X
> server is local, which is almost always the case).
>
> Shachar
>

I never heard about XSHM, but it sounds really interesting.
Unfortunately Google gives some very sketchy references about it.
Is there more informative documentation about XSHM?


--
John Found <johnfound@asm32.info>