1. Are you ready for the Galaxy S20? Here is everything we know so far!

Screen Capture with MediaProjection to texture_id

Discussion in 'Android Development' started by Dhan Ama, Mar 4, 2021.

  1. Dhan Ama

    Dhan Ama Lurker
    Thread Starter

    I am capturing the screen continuously using

    mVirtualDisplay = mMediaProjection.createVirtualDisplay("ScreenCapture", mSurfaceView.getWidth(), mSurfaceView.getHeight(), mScreenDensity, DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR,mSurface, null, null);

    I want to pass this mSurface as a texture to NDK (OpenGL). I could not find away to do this. Your help would be appreciated!
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Unforgiven

    Unforgiven ...eschew obfuscation...
    Moderator

    Development thread moved to the dev area for better exposure. :)
     
    MrJavi and ocnbrze like this.
Loading...
Similar Threads - Screen Capture MediaProjection
  1. Frank H
    Replies:
    13
    Views:
    389
  2. Frank H
    Replies:
    15
    Views:
    440
  3. alan93
    Replies:
    5
    Views:
    258
  4. startac4
    Replies:
    1
    Views:
    399
  5. paulri
    Replies:
    3
    Views:
    184
  6. gremlinkurst
    Replies:
    8
    Views:
    357
  7. TheHornet
    Replies:
    1
    Views:
    439
  8. richards1052
    Replies:
    3
    Views:
    297
  9. ac22live
    Replies:
    2
    Views:
    265
  10. dadiohipster
    Replies:
    5
    Views:
    14,114

Share This Page

Loading...