Hey everybody
Not sure if this is the appropriate subforum. Please move if I´m wrong.
So I am currently programming a software that displays graphics via SDL (without X). This software allows other GUI programs as well and lets you switch between them.
Currently the main process gets requests from the other "apps" to do specific rendering things and executes it for them. The main disadvantage is that developers are limited to my own graphics library. What I try to accomplish is that everyone can use the library he wants (that supports rendering without X) and the main process has control over the ordering of dispmanx layers.
Example dispmanx layout:
1: App1
0: Black Background Layer
-1: App2
-2: App3
And after a switch:
1: App2
0: Black Background Layer
-1: App1
-2: App3
Is it possible to rearrange dispmanx layers from processes you do not own? (The main process is running as root) Are there any other ways I could accomplish this without porting every graphics library to support my own system?
Thanks in advance,
Silveryard