commit | 16b7f6c4b06ac7350c30309d0559a466097d8ae7 | [log] [tgz] |
---|---|---|
author | Lajos Molnar <lajos@ti.com> | Mon May 07 16:42:31 2012 -0500 |
committer | Erik Gilling <konkers@android.com> | Mon May 21 13:37:50 2012 -0700 |
tree | a9aab1b86cd8aecb97e8e501b0f775e9452705fc | |
parent | 4495a87138cd1f0fdf62a9c4649e2c2bdbd3527d [diff] |
hwc: Fix truncation errors in scaling decision When checking if we are downscaling beyond what the hardware supports, we were dividing by the factors rather than multiplying the other side with them. The truncation of the divisions had hwc allowing downscaling by a factor slightly larger than what was supported. Change-Id: I6ae4d897f4afe68ae26f0d7385e4003d6f2a4253 Signed-off-by: Lajos Molnar <lajos@ti.com>