On Tue, Mar 13, 2001 at 04:03:15AM -0000, [EMAIL PROTECTED] 
wrote:
> What this does:  Detects the XShm extension, tests it, and generally
> sets stuff up for the rest of the code to use it.  There's no harm in
> enabling the #define, as everything still works.

Argh; it is sorta complete now.. and ofcourse, it's broken as hell.
And probably leaking memory all over the place.  Not to mention shared
memory segments.  :)

Unfortunately, I can't bind the shared memory segment to the
gfx_pixmap_t's existing data block; I have to allocate the new segment,
and copy it over.

Unless we perform some major hackery in the internals (ie each
gfx_pixmap_t is pre-allocated as a shm block), I don't see any
way around this.

I'll check in what I have (again, it can easily be #defined out) if the
concensus wants something to bang on.  Otherwise I'll keep this private
until it seems to work better.    Anyone interested?

Eh.  Not bad for  my first real X programming task..

I'm also looking into that endian-ness thing..  is it completely broken,
or is it almost-but-not-quite fixed already?

 - 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"...

Reply via email to