summaryrefslogtreecommitdiffstats
path: root/adb/framebuffer_service.c
Commit message (Collapse)AuthorAgeFilesLines
* Handle screendumps for all framebuffer sizesChris Dearman2013-09-251-7/+9
| | | | | | | | | | | | readx() treats a partial read as an error but also consumes the data, Now exactly the amount of data needed for the screendump is requested. This bug showed up for framebuffers that were not a multiple of 640 bytes. Also fix a compiler warning related to handing pipe() failure. Change-Id: I8b1713923e156d4e3424784152e5dc5cbc7d478d
* Avoid zombies on androidscreencastYuriy Zabroda2012-07-231-0/+5
| | | | | | | | | | | | | When using a third party screen capture program called androidscreencast (http://code.google.com/p/androidscreencast/) to get the framebuffer of the device, there are tons of screencap zombie processes got left behind. The issue is also mentioned here: http://code.google.com/p/android/issues/detail?id=22836. The cause of the issue is that adbd spawns off screencap processes, and these child processes were not waited to be finished. This change fixes the issue. Change-Id: Ife928d65ecf6a2ff39b8b72ddba930fda6733a00 Signed-off-by: Yuriy Zabroda <yuriy.zabroda@ti.com>
* fix [3374821] Cannot take screenshot of HC previewMathias Agopian2011-02-091-13/+75
| | | | | | | don't hardcode the pixelformat to RGBA_8888 when taking screenshots. Change-Id: I3a76b49275acfce9a2994436f521b76310cd8fb2
* update adbd to use the new screencap command for taking screenshots.Mathias Agopian2010-09-261-41/+48
| | | | Change-Id: I02c49240f9db9258824020f3f5f04463e17a537a
* Add bitfields to header for screen shots. This will allow ddms to distinguishRebecca Schultz Zavin2009-09-151-9/+36
| | | | | | | | between various 32 bit pixel formats. Also adds new version number for future expansion. Change-Id: Ia1d7d7485614e961a47ebb65493b19f4a16ded05 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* Fix several issues in framebuffer_serviceRebecca Schultz Zavin2009-09-101-14/+23
| | | | | | | | | -supports fb's with x and y offsets -dumps the front buffer (instead of just the low end of the buffer) -switch from mmap to read/write, for fb's with very large offsets Change-Id: Id560790c9661f7cc3b4350a44cc29f0104831e85 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* Move fdevent from libcutils into adb directory. ADB is the only client of ↵David 'Digit' Turner2009-05-181-1/+1
| | | | this API, and I intend to modify it extensively to clean its codebase soon.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+70
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-70/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-4/+5
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+69