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.
So I take it that the Window and the Pixmap visual[] array are the four
planes I need to munge... Okay. That will be simple enough. :)
> If this is neccessary, we'll introduce a new driver flag "PREFERS_SHM" or
> something like that, add an shm ID and a pixmap flag for shared memory.
> That should be a relatively clean way to do this.
I added a shmid to the pixmap_t type, but I will probably do away
with all of that.
- Pizza
--
Solomon Peachy pizzaATfucktheusers.org
I ain't broke, but I'm badly bent. ICQ# 1318344
Patience comes to those who wait.
...It's not "Beanbag Love", it's a "Transanimate Relationship"...