Hi Experts,
I'm facing a issue of fbCreateWindow API for OpenGL ES develop.
First, my panel resolution is 1920 * 1080, and when I draw a 3D model by OpenGL and rotate the model, the model will be deform. I think this issue is cause by my panel & display area is not a square, so I want to make display area to become a square (1080 * 1080) and put it in the middle of the screen.
According to i.MX Graph User Guide, seems fbCreateWindow API can help, if I want to modify display area (window) to a square. The API include display_type, x, y, width and height parameters.
I can use width and height parameter to modify my window size, but I can not use x and y to modify my window position. The window position is always on the top left of the panel even I add x, y value to this API, such as:
device->window = fbCreateWindow(device->display_type, 420, 0, 1080, 1080);
Anyone has met this issue?
BR,
Wayne Kuo