On Thu, Jan 09, 2003 at 02:25:44PM -0200, Lalo Martins wrote: > On Thu, Jan 09, 2003 at 08:43:45AM -0700, Micah Dowty wrote: > > > > The shared memory calls themselves are pretty easy (easier than MIT-SHM at least :) > > You call pgMakeSHMBitmap on an existing picogui bitmap handle, and it returns > > a structure with info you need to attach to the SHM segment, and a verbose >description > > of the server's video format. What makes it hard of course is understanding all >those > > server-side formats. > > Then I could have already written the vnc viewer? Why didn't you tell me > this before? > > /me slaps scanline around with a large SHM segment
:) Nah, I still think media_c is necessary. Pgserver already supports a lot of weird formats (ncurses, VGA sync signals embedded in the framebuffer, ASCII, planar modes...) that it would be a pain to try to support in an app, plus putting in an abstraction layer for mode conversion makes supporting future modes easy. I don't expect media_c to be complicated, just: - A very thin OS abstraction layer for the SHM segment - Mode conversion code a la SDL so your app can pick a mode and have media_c convert if desired - Optional convenience functions for setting up the app's main window Of course, if you don't mind having to deal with the framebuffer in pgserver's native format, feel free to start the VNC client :) > > []s, > |alo > +---- > -- > Those who trade freedom for security > lose both and deserve neither. > -- > http://www.laranja.org/ mailto:[EMAIL PROTECTED] > pgp key: http://www.laranja.org/pessoal/pgp > > Eu jogo RPG! (I play RPG) http://www.eujogorpg.com.br/ > GNU: never give up freedom http://www.gnu.org/ > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel -- Only you can prevent creeping featurism! ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
