Hi,

> On Tue, Mar 13, 2001 at 12:01:55PM +0100, Christoph Reichenbach wrote:
> > Why do you need shared memory for gfx_pixmap_t blocks? They're just read
> > from by our very own crossblitter functionality; the only thing that needs
> > to be shared between X11 and FreeSCI are the four visual planes (static
> > buffer, back buffer, front buffer, and the window).
> 
> *blink*  Well, that makes things simpler.  I latched onto the
> gfx_pixmap_t blocks because they were treated as XImages.  I didn't see
> anything about the visual planes in the actual xlib driver.  But I'm
> digging around more now.

That's a good point, but this is only done for grabbed images (and could
therefore go into the driver-specific of gfx_pixmap_t). They could make 
use of XSHM, too.

This is used for screen shaking and transition animations, and can be
tested there.

> So I take it that the Window and the Pixmap visual[] array are the four
> planes I need to munge...

Exactly.

llap,
 Christoph


Reply via email to