ARM9, Graphicx, X libraries

OP #1174654
Hi,

I intend to design/create my own stand-alone GUI. I am using the ARM9
(AT91SAM9RL64), and the yagarto toolchain. The X libraries are a part of
this toolchain and provides various funtions to create objects, etc.

I have tried these functions (XDrawlines, XFillPolygon, etc) in
Linux(REDHAT) and got some ideas as to how these functions are to be
used.

However, i am a bit lost when i have to use these functions in the ARM9.
Could someone give me a head start as to how to implement these
functions in the ARM9.

I will be using SDRAM in my application for buffering the LCD. Oh, btw,
i'm using a 320 (RGB) x 240 resoultion LCD in 16 bit mode.

Please correct me if i'm wrongin saying the algorithm for the LCD
display will be as follows:

1. Map the RAM for LCD process.
2. assign a 'window' pointer for display (assuming i've set the basic
values of clipping, boundaries etc.)
3. create a pointer to an object (rect, line, etc.) that is linked to
the above window,and perform the function on this pointer (using XDraw,
etc)
4. NOW, output this to the RAM for refreshing.

Thanks

Reply

A question of your own? This thread is over 17 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.