Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 93b122f4 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

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
parent 3bd03ff5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment