• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Screen Capture with MediaProjection to texture_id

Dhan Ama

Lurker
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!
 
Back
Top Bottom