summaryrefslogtreecommitdiff
path: root/libs/utils/Unicode.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2013-07-09 21:24:52 -0700
committer Mathias Agopian <mathias@google.com> 2013-07-10 15:08:29 -0700
commit6b44267a3beb457e220cad0666c039d3a765cdb2 (patch)
treef006ca9ebbcb6058d5e25ad1b209341c11ee10d0 /libs/utils/Unicode.cpp
parent2ed0fe59b482f8d6b35a50ebc8e9e060813f4568 (diff)
fix SF buffer cropping
When a buffer had a crop (meaning its content is scaled to the window size) and a window crop was defined, the resulting crop couldn't be expressed properly because h/w composer's API was limited to integers, since this is fixed in h/w composer 1.3, we take adventage of this to make sure we get the correct crop. this bug could result in the buffer being scaled by an incorrect ratio and be slightly offset; moreover, it would produce different results from the GL code path, which is always correct. Change-Id: I8e20e00b6e26177d14f4ab4d2cd581e26c818892
Diffstat (limited to 'libs/utils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions