[AD] First GGI questions

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


... `first' because there are bound to be more ...

Hi!  I was hacking at ggi.c earlier this morning (i.e. 3am :), and I
managed to get the driver to "work".  Using the ggi X and DGA drivers it
can set a screen mode (but not colour depth) and use the usual drawing
primitives.  It can also set the palette when running in an 8 bpp video
mode.

Anyway... the GGI docs say that the read and write addresses for the
same frame buffer *could* be in different locations.  How could I go
about working around that little glitch?  Perhaps some other driver
already handles this kind of weirdness?

Second, it also says that some resources may need to be locked/unlocked
with ggiResourceAcquire and ggiResourceRelease.  However it does not
specifically say *which* resources.  I was thinking that if only the
screen required this it could be overcome with
acquire_screen/release_screen.  Any thoughts?

Note that I haven't actually come across any of these problems yet,
although I've only tested only under X, on one machine, with one X
server...

Peter
-- 
tjaden@xxxxxxxxxx - http://psynet.net/tjaden/ - ICQ: 4588779




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/