commit | 93b122f4aa6d169939909335fc7e457b03175000 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Fri Dec 01 08:51:39 2017 -0800 |
committer | Chia-I Wu <olv@google.com> | Fri Dec 08 14:19:15 2017 -0800 |
tree | 8472e9318294899db01820c5eccd294e3c6f47c8 | |
parent | 3bd03ff57f775082e35ce54619a8686732d35430 [diff] |
libgui: add a helper for GLConsumer::getCurrentCrop Add static GLConsumer::scaleDownCrop for use with NATIVE_WINDOW_SCALING_MODE_SCALE_CROP. This also allows it to be called from other consumers. Test: libgui_test Change-Id: I2b5f7d14038b36709b52991b7b7e9379117b708b