Hi,
I have a question about android window system. I found two useful links :
and
From what I understood, the android application contacts the window manager to draw surfaces. Window manager creates a connection with the surface flinger to position the surface or resize it etc. And then, application writes the graphics data onto the frame buffer.
What I am looking for is the API between a client of android window system and the server of the android window system. Should I then be looking at the interface between the window manager and the surface flinger? If so, does anybody know the corresponding files? I thought that this API consist only of the public methods of the class SurfaceFlinger in file SurfaceFlinger.cpp. (methods such as getCblk(), openGlobalTransaction(), addLayer etc.) Is that right? The number of these methods seems to be very small..
The reason I am looking at this API is that I wanted to know if there is any apparent similarity between the methods of X window system versus the methods of android window system. i.e. are there at least few methods that are functionally equivalent in both the windowing systems? and thus, could we find a correspondence between such functionally equivalent methods?
Thanks for your time.
Amruta