Texture alignment and layout problem
Dump the mali 260x260 FBO draw with: https://github.com/yuq/gfx/tree/master/x11/fbo
Output: https://gist.github.com/yuq/a17350bd5bf91dbeba24e9deeda9a829 https://gist.github.com/yuq/a32a5ed635bfffe27c49b936a06c4887
Seems the texture memory will be reused and no copy:
- frame 0 output to 0x10100000
- frame 1 get texture from 0x10100000
- 0x10100000 memory not changed from the end of frame 0 to beginning of frame 1
The memory content at 0x10100000 is not linear and the layout field in pp frame wb0 and texture desc are set. Maybe some tiled format or mipmap?
Need more investigation.