[fpc-pascal]Contributing to FPC.

Aitor SantamarĂ­a aitor.sm at wanadoo.es
Tue Sep 10 10:57:50 CEST 2002

>> My first idea for improvement is this:
>> A recreation of the Graph unit using SDL. The current Linux version
>> requires SVGAlib which is no-longer included with most distributions and
>> requires root privelages. I have worked quite a bit with Daniel 
>> Moisette's
>> SDL headers and I am convinced it is do-able though it will certainly 
>> not
>> be a hundred percent compatible.
> No? The current graph unit is quite flexible. It's almost completely 
> independent of the underlying system, it can even work if you only 
> implement putpixel(), getpixel() and mode detection/setting (though 
> quite slowly, as demonstrated by the current win32 graph unit). You 
> can override almost all procedures (they're all procvars) though and 
> in general, the more you override, the fast things become (most banked 
> VESA routines are quite fast). A graph unit based on SDL would be 
> really nice though, since it's available on many platforms. 

Under Linux, how does GRAPH unit do? Does it open XFree or the like?
If the answer is NO, what happens if I start with a FrameBuffer device 
loaded, can I still draw things in such case?


More information about the fpc-pascal mailing list