> > The graph unit is pretty generic in this respect. You indeed only need  
> > to implement putpixel, getpixel, graphics mode detection, setting a  
> > graphic mode, setting and getting colour palette entries for indexed  
> > modes, and closing down the graphic system again. But it's perfectly  
> > possible to also intercept line, elipse, rectangle etc and to 
> implement  
> > them directly in the "driver".
> 
> So, I may implement only putpixel and etc, but then if I wish I may  
> implement line and othe stuff inside my part of code (or somewhere)?
while you can implement just putpixel and such doing so is a surefire way to 
get terrible performance.

to keep overhead down the conversion of shapes into pixels should be pushed as 
close to the framebuffer as possible, preferablly into the graphics card.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to