skia2/src
Brian Osman a950a86d22 Fix rounding error with tiled bitmap draws
We were snapping the top-left of the destination rectangle to integers,
but using the original (fractional) size. This led to us losing rows or
columns of pixels at the first tile boundary.

Also added a GM that demonstrates the bug (now renders correctly).

BUG=skia:

Change-Id: I50629dab9dd90fedad2c7e3393a1b1d1c7a8d45e
Reviewed-on: https://skia-review.googlesource.com/8102
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2017-02-06 22:34:19 +00:00
..
android Decode to sRGB on Android 2016-12-12 22:19:05 +00:00
c Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
codec Reland "Respect canvas size and frame offset in webp decoder" 2017-02-06 18:55:41 +00:00
core Add sk_sp make variant to SkArenaAlloc. 2017-02-06 19:27:14 +00:00
effects Revert "Revert "Don't instantiate shaders with non-invertible local matrix"" 2017-02-03 18:21:33 +00:00
fonts Remove public APIs that use SkDataTable. 2017-01-23 17:09:37 +00:00
gpu Fix rounding error with tiled bitmap draws 2017-02-06 22:34:19 +00:00
image Expand SkImage::getTextureHandle call 2017-02-01 16:04:41 +00:00
images Update SkJPEGImageEncoder 2017-01-28 01:59:09 +00:00
lazy remove discardablepixelref 2016-10-25 14:19:07 +00:00
opts SkRasterPipeline shader adapter 2017-01-31 14:14:13 +00:00
pathops Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
pdf Revert "move SkDevice.h and SkBitmapDevice.h contents in to src headers" 2017-01-13 22:43:33 +00:00
pipe SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
ports Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
sfnt Move two skia arrays to read-only data segment 2017-01-03 00:11:53 +00:00
sksl Revert "Added dead variable / code elimination to skslc." 2017-02-06 19:25:13 +00:00
splicer Move shader register setup to SkRasterPipelineBlitter. 2017-01-23 20:00:23 +00:00
svg Revert "move SkDevice.h and SkBitmapDevice.h contents in to src headers" 2017-01-13 22:43:33 +00:00
utils Have ShadowTessellators transform path; add SkShadowTessellator base class 2017-02-06 19:15:16 +00:00
views SK_USE_SDL is never defined 2017-02-06 18:52:54 +00:00
xml remove SkDebugWStream and other cleanups 2017-01-07 21:49:07 +00:00
xps SkXPS: new document API. 2017-02-06 19:00:28 +00:00