diff options
author | 2016-12-19 15:40:28 -0500 | |
---|---|---|
committer | 2016-12-19 21:22:37 +0000 | |
commit | ace343286d900446737a027739dafb05c646c417 (patch) | |
tree | 0294d9b87dcac98205ef4e7acb2497283daa32dd /src/gpu/effects/GrTextureDomain.cpp | |
parent | 9c16d1e766b60b2d87e2050298a3aa321f394648 (diff) |
Fix, cleanup and document the clamp tiler better.
* Fix by making the bounds where the bounds of the edge effect starts to be .5 pixels all around the border.
* Sample from the center of the pixel. This was wrong on the left edge.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5127
Change-Id: I39af942644fa58f0ee8dc7027481fef85b9488fe
Reviewed-on: https://skia-review.googlesource.com/5127
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/gpu/effects/GrTextureDomain.cpp')
0 files changed, 0 insertions, 0 deletions