Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read the current frame buffer in android?

Is there a method to read the frame buffer of the current screen? I searched some data about the frame buffer. Some one used the glReadPixels method, but the information was not enough. Does anyone know how to read the current frame buffer in detail?

Thanks for helping.

like image 579
Vic Avatar asked Nov 16 '10 12:11

Vic


1 Answers

Do you actually want the screen framebuffer? Or some OpenGL surface that your app has created?

If the former, see How to capture the android device screen content?

If the latter, you are on the right track with glReadPixels.

like image 87
Reuben Scratton Avatar answered Sep 19 '22 07:09

Reuben Scratton