I am studying the graphic system in Android. What I want to do is to change upper and lower side in Android display.
It is like:
upper : 1 -> 2
lower : 2 -> 1
To do this, I studied surfaceflinger source code.
I got noticed that surfaceflinger takes the role to compose all layers and redraw them and give layers to HWComposer.
So I saw Layer->draw source in Layer.cpp to change upper pixel data and lower pixel data. But I could not find a right place where I can change pixel data.
I am testing with odroid u3 platform. Android in odroid uses samsung slsi code.
Guys, which part should I see to change upper and lower side? How can I control display with a pixel unit?