Hi, I am using an ARM9(AT91SAM9RL64) core and intend to design a GUI for the Project.
I am using Eclipse (along with the yagarto toolchain) for coding. The X libraries(normally associated with Linux) 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 implement these functions in the ARM9. Could you give me a head start as to how to implement these functions in the ARM9 (note: i don't intend to use the Linux kernel in the ARM, i am creating a Standalone GUI).
I will be using SDRAM (around 8MB) in my application for buffering the LCD. Oh, btw, i'm using a 240 (RGB) x 320 resoultion LCD in 16 bit mode.
Things i know till now:
- SDRAM config and use
- LCD config and use
- ARM config and use
- using the Xlib for displaying custom objects. Things i'm confused about:
- using the same Xlib in ARM to create to display on the LCD. I have a confusion over the 'display' data structure that is passed as the first parameter. What exactly am i supposed to do to set/initialise this parameter. In the Linux atmosphere, this parameter specifies a connection to the X-server, and is a pretty hugh data structure containing release, version, buffer pointers, etc....
Thanks