Questions !

John Tapsell johnflux at gmail.com
Fri Nov 28 01:10:42 PST 2008


2008/11/28 John Tapsell <johnflux at gmail.com>:
> 2008/11/28 My Own Linux <myown.linux at gmail.com>:
>> Thanks !
>>
>> One more question : How does Xlib handle the drawing of points, lines,
>> rectangle ? Does it use any library like GD Graphics Library or it
>> does it on its own ?
>
>
> The video driver for your video card is given an opportunity to draw
> it.  It the video driver decides to not draw it, then it falls back to
> being drawn in software.  Xorg is currently moving to using the
> 'pixman' library to do all the software rendering.
>
> John

I should probably point out that 'xlib' is just a library/protocol
that lets an application talk to the Xserver.  Xlib doesn't do
anything except pass messages from applications to the Xserver and
back again.  So xlib itself doesn't 'handle' drawing at all.

JohnFlux



More information about the xorg mailing list