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 ?
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)
Jos