On Mon, May 20, 2002 at 10:42:56AM -0400, Hesham Mahmoud wrote:
> Hi Gents,
>       My question is about supporting a chip that doesn't have a
> framebuffer interface as it hides the graphics memory. All supported
> graphics operations has to be done by the hardware thru certain commands
> (even pixel set or read). My questions are:
> 
> 1- Is it possible using XFree code or the X sample server to support such
> chip?
> 
Yes.

> 2- From where to start the porting process? From the X sample docs, it
> seems I have to rewrite all the DDX part. Is that all?
> 
Yes. The X sample docs provide enough detail to do this, specifically
the 'Porting Guide'.

> 3- What is the chip that can be considered the closeset to the one
> in my question which I can see its porting code?
> 
None. I believe all the current ones have a framebuffer underneath
them.

Basically, get your hands on the porting guide, and implement
SetSpans, GetSpans and FillSpans. And use mi for the rest. That
should give you a functional server, albeit slow. Then you can
start on the higher level functions to implement a faster Xserver.

Alan.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to