diff options
author | Cary Clark <caryclark@skia.org> | 2018-07-24 08:09:27 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-24 12:14:25 +0000 |
commit | c30382fe057b53288dc44d75a29d6de36c6a17f5 (patch) | |
tree | aeeb475f5b1b01bea5e892e7fbd7934b0fa72daa /docs | |
parent | 8afa86c63713e3f93e81df5bb60ddfe06ca06766 (diff) |
fix bookmaker bot
Drawing image subsets too many times
causes fiddle to fail where it used
to succeed. Reduce the number of draws
for now to work around this.
TBR=jcgregorio@google.com
NOTRY=true
Docs-Preview: https://skia.org/?cl=143100
Bug: skia:8180
Change-Id: I2610dc7575ed0e6eec1ee3c88e1f9ccc7b6a716e
Reviewed-on: https://skia-review.googlesource.com/143100
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SkImage_Reference.bmh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/SkImage_Reference.bmh b/docs/SkImage_Reference.bmh index d3f71ac54d..39cc4aa6ff 100644 --- a/docs/SkImage_Reference.bmh +++ b/docs/SkImage_Reference.bmh @@ -1758,8 +1758,8 @@ pixels in Image could not be read or copied. #Example #Image 3 canvas->scale(.5f, .5f); - const int width = 32; - const int height = 32; + const int width = 64; + const int height = 64; for (int y = 0; y < 512; y += height ) { for (int x = 0; x < 512; x += width ) { sk_sp<SkImage> subset(image->makeSubset({x, y, x + width, y + height})); |