commit | a252d895816b3aa6c3bc2b2083113694ead6963d | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Mon Nov 20 17:54:25 2017 -0800 |
committer | chaviw <chaviw@google.com> | Tue Nov 28 15:22:00 2017 -0800 |
tree | fdd8c0edc62057626612151709d3deb6c11faafd | |
parent | 503b79e3db0d6dce40ea0a8e17bbffd6f6176123 [diff] |
Use GraphicBuffer instead of GBP for screenshots. Migrate screenshot code to render the layers into a GraphicBuffer instead of creating a GraphicBufferProducer. This cleans up the code and makes rendering a screen capture simpler and clearer. Test: Screencaptures for Recents, manual screenshots, and "adb shell screencap" Test: Transaction_test Change-Id: Ifb463c0e98cfaa3f96ad27837b1a2e2921e253d1