[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MiNT SHM compared to others



Current W (http://www.modeemi.cs.tut.fi/~puujalka/w1r2.html)
implementation stores the bitmaps on the library side (simplest way to
do it as this way memory is automatically freed by OS in case the client
dies) and sends them over the socket to the server everytime they are
blit onto a W window.  For image / animation viewers, games etc.  this
is too slow.

I begun to think about how X programs do this -- by shared memory.  That
would be the fastest way to implement the stuff (locally).  By browsing
MiNT manuals I got the impression that using SHM would actually be very
simple.  However, as TeSche's W version currently works also under Linux
(graphics stuff needs little-endian byte order, so no PC version :)),
this 'should' then also work under Linux.  Do Linux and MiNT SHM schemes
differ, and if they do, how?


	- Eero