OpenGL ES resize problem

Last Updated:

  1. swobi

    swobi New Member This Topic's Starter

    Jul 24, 2010
    Likes Received:
    Hi, I'm trying to port a game for Android and I have a question. Is there any possibility to make in OpenGL on phone with display resolution 480x320 framebuffer 640x480, render to it and then present it to display which is 480x320 or 800x480? So that system will resize it? I can of course call glOrtho to let the OpenGL scale to right resolution, but then there are some artifact in 2D graphic. (It's alpha problem when tiling 2d textures and similar problems - so basiccaly render looks right only in right resolution) and resizing textures before render is slow. Can anyone provide some code example which shows how to do it? I quest some egl call will be needed, but I cannot find anythink.


Share This Page