diff options
author | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-27 18:35:16 +0000 |
---|---|---|
committer | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-27 18:35:16 +0000 |
commit | 29b19e53cfac5af4f9bd5d361436d1097f349a34 (patch) | |
tree | f00138de9091031ecbb929f6800b080be8f7c02e /src/core/SkWriter32.cpp | |
parent | d1c53aae59ee44377be8bc0cc15e54d46aa530ce (diff) |
Change SkTileGride geometry calculations to match the Chromium compositor.
This patch changes the semantics of tileWidth/Height to include the border region, and
uses an offset to take into account the fact that there is no outer border for outer
tiles. This patch also fixes a previous bug where the right column and bottom row were
considered to be included in bounds that are expressed as an SkIRect.
Companion Chromium CL required for roll: https://codereview.chromium.org/12221077/
TEST=TileGrid unit test
Review URL: https://codereview.appspot.com/7350050
git-svn-id: http://skia.googlecode.com/svn/trunk@7885 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkWriter32.cpp')
0 files changed, 0 insertions, 0 deletions