diff options
author | Chia-I Wu <olv@google.com> | 2017-12-01 08:51:39 -0800 |
---|---|---|
committer | Chia-I Wu <olv@google.com> | 2017-12-08 14:19:15 -0800 |
commit | 93b122f4aa6d169939909335fc7e457b03175000 (patch) | |
tree | 8472e9318294899db01820c5eccd294e3c6f47c8 /opengl/tests/gl_basic/gl_basic.cpp | |
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
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions