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. Connor Xavier Macleod
    Replies:
    2
    Views:
    141
  2. AdiA
    Replies:
    5
    Views:
    241
  3. Daniel Warren
    Replies:
    1
    Views:
    252
  4. rogerbid
    Replies:
    4
    Views:
    380
  5. djflacoent
    Replies:
    3
    Views:
    222
  6. microsvc
    Replies:
    3
    Views:
    410
  7. Poweranimals
    Replies:
    10
    Views:
    640
  8. Fire Marshal Bill
    Replies:
    1
    Views:
    307
  9. joshkrupinsky
    Replies:
    5
    Views:
    315
  10. joshkrupinsky
    Replies:
    3
    Views:
    349

Share This Page

Loading...