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:

  1. read pixels
  2. transform (shrink screen vertically)
  3. paint shrunk screenshot on display.
  4. 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

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -