How WINE implements BitBlt function?

John Found johnfound at asm32.info
Thu Feb 5 06:12:26 CST 2015


These examples are useful. Thanks. Unfortunately, Linux documentation is so C-centric! 
For example, in which DLL is this library? I am writing in assembly and can't simply include the C headers. 
I only can dynamically link to .so library.  

On Thu, 5 Feb 2015 19:53:55 +0800
Tom Wickline <twickline at gmail.com> wrote:

> 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 at gmail.com> wrote:
> 
> > There is a man page for starters..
> >
> > Tom
> >  On Feb 5, 2015 4:58 PM, "John Found" <johnfound at asm32.info> wrote:
> >
> >> On Wed, 04 Feb 2015 12:24:30 +0200
> >> Shachar Shemesh <shachar at shemesh.biz> wrote:
> >>
> >> >
> >> >
> >> > On 31/01/2015 12:19, Stefan Dösinger wrote:
> >> >
> >> > > Am 31.01.2015 um 08:11 schrieb John Found <johnfound at 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 at asm32.info>
> >>
> >>
> >>


-- 
John Found <johnfound at asm32.info>



More information about the wine-devel mailing list