android - OpenGL: Take screenshot of screen and transform (shrink) it, then draw that on a portion of the screen -
i want use opengl android take screen (make "continuous" screenshots), make smaller vertically, paint leave black bar @ bottom of display.
basically:
- read pixels
- transform (shrink screen vertically)
- paint shrunk screenshot on display.
- repeat 1.-3. continuously.
how can this? bottom line want have space other stuff @ bottom of screen while still not missing underneath want display (think soft home buttons in android).
this sounds insanely expensive. i'd try render @ correct size in first place.
use glscissor limit region of screen stop drawing outside of that, , glviewport correct transform behaviour.
Comments
Post a Comment