diff options
| author | bohu <bohu@google.com> | 2015-01-26 09:25:23 -0800 |
|---|---|---|
| committer | bohu <bohu@google.com> | 2015-01-29 12:09:32 -0800 |
| commit | dd14cf865c04bf9d15ca2c60409f1b131e9818f6 (patch) | |
| tree | 8d080406bfd8ae03ab7164f7d6a1d3acb0e759ab /qemud | |
| parent | 8142de3a67193062b0aa41cd197b473089b135df (diff) | |
| download | android_device_generic_goldfish-stable/cm-12.1-YOG3C.tar.gz android_device_generic_goldfish-stable/cm-12.1-YOG3C.tar.bz2 android_device_generic_goldfish-stable/cm-12.1-YOG3C.zip | |
guest system gles fix: Enable screen capture with gpu onstaging/cm-12.1stable/cm-12.1-YOG7Dstable/cm-12.1-YOG4Pstable/cm-12.1-YOG3Ccm-12.1
Currently, when running emulator with gpu on, screen capture does not work.
This commit fixes that by doing the following steps:
1. enable gralloc to allocate buffer in gralloc_alloc for screen capture
usage mode.
2. read back screen pixels in gralloc_lock for screen capture usage mode
Note: This commit only fixes guest side, and to make screen capture work,
we also need the corresponding fix on host side in the following CL:
e36c098b5563adcc7442cb3a172ff769ee3fb4b6
(cherry picked from commit 5a50ac8819525f851c677be88a466b14737dbb18)
Change-Id: Ie9307eda411ab3d0b3842fbb4a71926dd62a1875
Diffstat (limited to 'qemud')
0 files changed, 0 insertions, 0 deletions
