Hi Agent D and thank you very much for your answer!
[QUOTE=Agent D;1258048]I assume you have some IP core that has graphics written on it.
What does it implement? Is it a dumb display controller that copies video memory or can it do rasterization? texturing? something else?
[/QUOTE]
The hardware design is very basic, it has a graphic controler with few registers where are stored buffer adress and information about the screen. It only take information about pixels in the buffer and display it on the screen (so no rasterization or texturing i guess).
[QUOTE=Agent D;1258048]
Does your RTOS already have an OpenGL(R) implementation or OpenGL(R)-like library? There must be some documentation about driver development (the library and the RTOS). You might want to contact the vendor of the library and/or the RTOS. How much of the library is implemented in software? Maybe you just need to copy pixels into video memory, maybe you have to send rendering commands to the graphics core. What concept of graphics does your RTOS have anyway? In this case you just need to find the right documentation.
If you don’t have an OpenGL(R) like library, you need to write the library yourself. Depending on what the controller does, you send a stream of rendering commands at some time. If the graphics core is just a dumb display driver, you will have to write an entire software rasterizer. Especially in the later case, I would advice against aiming for full OpenGL(R) compatibillity (except if that is an explicit design goal). Maybe just something OpenGL(R) 1.x similar minus everything you don’t use. (Since you already wrote software for the OpenGL(R) specification)[/QUOTE]
For the first step I had in mind to develop this driver on FreeRTOS, but the final system will probably be a different RTOS. Concerning FreeRTOS I didn’t fnd and documentation talking about OpenGL(R) implementation and to be more precise i’m asked to design an OpenGL(R) ES-SC -like library. I will check what concept of graphics does have FreeRTOS.
The case “I dont have an OpenGL(R) like library” is probably the cas I am in, it’s sound probably better to write it before writting the driver but once again it’s my intuitive vision of the problem. And I can’t see what do I have to do to correctly link the library with the driver, I guess it will be the way to code the basic functions as “Draw Pixel” etc but I don’t have any experience in this field.
You’re right. What I want to do is only to be able to display an IHM, maybe some graphs and if it works, maybe look to implement a touchscreen compatibility.
I hope that my english is good enough to be clear, and again thank you for your answer.
-Omalab