summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2009-09-21 20:51:27 -0400
committerMike Reed <reed@google.com>2009-09-22 07:53:05 -0400
commitb5c17a64edbdac47d8aa48951b50ea0a8e982655 (patch)
treed5cef6e93f34e98b58a24a7d3e84445083900597 /libs/ui/FramebufferNativeWindow.cpp
parent77fa24a5ef3ee3bc108d4bf3c77b7b4c7d0d5451 (diff)
experimental fix for compatibility mode. When we scale up by 1.5 (240 dpi), we put stretched ninepatches on
exact pixel boundaries when we walk the inverse matrix (e.g. 2/3, 1+1/3, 2, 2+2/3, 3+1/3, 4, ...). These are not stable, since any variance in the inverse matrix (even in the lowest bit) can cause some other part of the ninepatch to start a hair to the left, resulting in misaligning every 3 pixels. The fix changes the matrix' phase enough to keep all of the stretched ninepatches in phase.
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions