nanogui: Shared memory + SDL


Previous by date: 23 Feb 2000 23:42:33 -0000 GdJPEG for PF_TRUECOLOR patch, Kyle Harris
Next by date: 23 Feb 2000 23:42:33 -0000 Re: GdJPEG for PF_TRUECOLOR patch, Greg Haerr
Previous in thread: 23 Feb 2000 23:42:33 -0000 Re: Shared memory + SDL, vidar.hokstad.com
Next in thread: 23 Feb 2000 23:42:33 -0000 Re: Shared memory + SDL, vidar.hokstad.com

Subject: RE: Shared memory + SDL
From: Greg Haerr ####@####.####
Date: 23 Feb 2000 23:42:33 -0000
Message-Id: <C1962B36D9BBD311B0F80060083DFEFB06FA85@SYS.CenSoft.COM>

:
:It applies to anything that maintains an off screen buffer. With shared
:memory support, you can just blit the buffer directly onto 
:screen, without
:it, you'll end up calling GrArea(), which will serialize the data over 
:a Unix domain socket, and the Nano-X server will buffer it in a server
:side memory area, and then copy it onto screen.
:

No - this will only work if the application has unobstructed
access (that is, no overlapping windows) on the screen.
Otherwise, the server clip information has to be available
also.  Now, this latter design is one I'm interested in,
but considerably more complicated than Vidar is 
suggesting/requiring.

Greg



:So you avoid quite a few context switches, and some copies.
:
:Note that this only apply when you compile Nano-X as 
:client-server. When
:you link apps directly into the server it won't make a difference.
:
:Vidar Hokstad
:
:
:-- 
:Get your firstname@lastname email for FREE at http://NamePlanet.com
:
:---------------------------------------------------------------------
:To unsubscribe, e-mail: ####@####.####
:For additional commands, e-mail: ####@####.####
:
:

Previous by date: 23 Feb 2000 23:42:33 -0000 GdJPEG for PF_TRUECOLOR patch, Kyle Harris
Next by date: 23 Feb 2000 23:42:33 -0000 Re: GdJPEG for PF_TRUECOLOR patch, Greg Haerr
Previous in thread: 23 Feb 2000 23:42:33 -0000 Re: Shared memory + SDL, vidar.hokstad.com
Next in thread: 23 Feb 2000 23:42:33 -0000 Re: Shared memory + SDL, vidar.hokstad.com


Powered by ezmlm-browse 0.20.