diff options
author | bungeman <bungeman@google.com> | 2016-03-03 13:32:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-03 13:32:38 -0800 |
commit | ce56026db55d8585c2f920a6107a25b40fd5160a (patch) | |
tree | f5bda60bf1087f261054ae7d29843ca26f2b85cc /tests/PathOpsSimplifyTest.cpp | |
parent | d812fb458807245daa812adb7af0733cf5b54d96 (diff) |
Force tiles in SampleApp to integer boundaries.
The current behavior is to create tiles from the rounded ideal tile size,
tell the tile that it's upper left pixel is at the ideal location, and
then draw those tiles at the ideal locations. As a result, the tiles are
be out of phase with each other internally and then actually drawn at
the rounded pixel location instead of the ideal location.
The new behavior is to always round up to get the tile size, make the
tile translation an integer offset, and then draw at the exact pixel.
This also modifies SampleApp to use the numeric keypad to provide an
extra manual 1/32 pixel translation for fine grained movement.
BUG=skia:5020
Review URL: https://codereview.chromium.org/1763833002
Diffstat (limited to 'tests/PathOpsSimplifyTest.cpp')
0 files changed, 0 insertions, 0 deletions