--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
2015年6月17日 上午1:57於 "ketan bhardwaj" <ket...@gmail.com>寫道:
>
> Thanks. I will try that.
>
> However, I was wondering that this limitation was due to screencap trying to capture framebuffer which isn't directly updated by mesa library ... right ?
>
> I just looked at screencap code and it seems that it now (4.4+) uses ScreenshotClient -- a class implemented in android native framework -- to capture screenshots. The screenshot client basically creates a BufferQueue (android's graphic buffer queue) and passes the producer side to surface flinger which now treats it as a mirror display.
>
> Does it mean that screencap should work with hardware acceleration now ?
Hmm, nice finding.
(I didn't study that code)
Then you can help to debug why it doesn't work.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
V/BufferQueue( 2735): [unnamed-2735-0] BufferQueue
V/BufferQueue( 2735): [unnamed-2735-0] consumerConnect controlledByApp=false
V/BufferQueue( 2735): [ScreenshotClient] connect: api=1 producerControlledByApp=false
V/BufferQueue( 2735): [ScreenshotClient] dequeueBuffer: w=1280 h=768 fmt=0x1 usage=0x333
I/GRALLOC-DRM( 2735): create pipe for driver vmwgfx
V/BufferQueue( 2735): [ScreenshotClient] dequeueBuffer: returning slot=0/18446744073709551615 buf=0x4105f970 flags=0x1
V/BufferQueue( 2735): [ScreenshotClient] requestBuffer: slot=0
W/EGL-GALLIUM( 1750): importing unsupported buffer as sampler view
E/EGL-GALLIUM( 1750): failed to import buffer 0x4410a3d8
V/BufferQueue( 2735): [ScreenshotClient] queueBuffer: slot=0/1 time=0x3982cda118 crop=[0,0,0,0] tr=0 scale=SCALE_TO_WINDOW