[Top][All Lists]

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

Re: [xougen] Regarding server side widgets

From: Alan Cox
Subject: Re: [xougen] Regarding server side widgets
Date: 27 Aug 2003 23:57:25 +0100

On Mer, 2003-08-27 at 23:14, >> G-LiTe / wrote:
> If we send a pixmap to the server once and keep it in memory (possibly even
> video memory), we can simply call the xserver to draw that pixmap somewhere.
> Saves a bunch of bandwidth for pixmaps that have to be drawn multiple times.
> Possibly also usefull for VNC, which can do that same:
> Grab the pixmap from the X server's cache and send it to the client.
> Then just tell the client to draw that somewhere.

X already does this, including caching in video memory offscreen so it
can blit the image again. Take a look at some good X code like xmris
(great old 2D game) and you'll see it does this sort of stuff properly
and you can play it happily remotely.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]