On 1999/Sep/30, Jos Hulzink wrote:
> On Wed, 29 Sep 1999, [iso-8859-1] Rub?n wrote:
>
> > I have found at last a way of using the KGIcon hardware
> > acceleration, I used the ACCEL IOCTL's that appear at
> > include/kgi/kgi_commands.h
> >
> > But I found two problems, the first, is that when I call an ioctl
> > command which isn't supported by the hardware (circles on my S3 Virge, in
> > example) the ioctl call doesn't return -1.
> > The second problem, is that I couldn't find in these ACCEL ioctl's
> > any command to change color for hw accel drawing.
> > Can anybody tell me how can I change color, please?
> >
> Why don't you just use GGI ? GGI handles the colours, uses accelleration
> if available, etc. Or do you want to join us developping the driver ?
I use GGI for other things (GGL development, for example) but now
I'm porting my graphics library from DOS to Linux (almost done), because I
want to code an Intro (of demoscene), and when coding demos/intros, It's
very important not to use libraries not coded by myself.
> Besides, virge ACCEL_DRAWCIRCLE does return an -E(ACCEL,BOGUS). Unless
> this error is mapped to 0, you should get an errorvalue... I'll check that
> one out tonight. (Anything but 0 is an error value)
Ahh, ok, anything but 0... I thought that it should return -1 on
error as ioctl manpage says...
Thanks
--
Remember, the spoon doesn't exist...
The Matrix
_
/_) \/ / / email: mailto:[EMAIL PROTECTED]
/ \ / (_/ www : http://programacion.mundivia.es/ryu
[ GGL developer ] & [ IRCore developer ] & [ GPUL member ]