You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to andro...@googlegroups.com
frameworks/base/cmds/screencap/screencap.cpp
I noticed with interest that the ScreenshotClient in the sample "screencap" program (path as above) keeps failing in my emulated android-x86. The fallback plan in screencap which capture an image from /dev/graphics/fb0 succeeded though.
The logcat output recorded as follow for every screencap transaction.
logcat output:
D/gralloc ( 996): Registering a buffer in the process that created it. This may cause memory ordering problems. E/libEGL ( 996): called unimplemented OpenGL ES API E/libEGL ( 996): called unimplemented OpenGL ES API E/libEGL ( 996): called unimplemented OpenGL ES API E/libEGL ( 996): called unimplemented OpenGL ES API E/SurfaceFlinger( 996): glCheckFramebufferStatusOES error 1895112603 E/SurfaceFlinger( 996): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot E/libEGL ( 996): called unimplemented OpenGL ES API E/libEGL ( 996): called unimplemented OpenGL ES API
The above failing can be traced to the line in SurfaceFlinger.cpp:captureScreenImplLocked below which indicates SurfaceFlinger failure to bond image as framebuffer?