commit | 8bea8905e406fc1d15ef5a8294a735f3d33fb2d0 | [log] [tgz] |
---|---|---|
author | ericrk <ericrk@chromium.org> | Fri Mar 18 11:52:20 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 18 11:52:20 2016 -0700 |
tree | 697609f0fdeb14a8d9ba7a0dd5d8844b2e35e947 | |
parent | 98ed14ea0524bd878afcb84e0b7d49998e723255 [diff] [blame] |
Propogate SkBudgeted for NewFromDeferredTextureImageData The budgeted flag was not propogated from NewFromDeferredTextureImageData to MakeTextureFromPixmap, resulting in the created textures always being budgeted, even when SkBudgeted::kNo was passed in. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1809663002 Review URL: https://codereview.chromium.org/1809663002
diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h index 555f415..75f4000 100644 --- a/src/gpu/SkGrPriv.h +++ b/src/gpu/SkGrPriv.h
@@ -124,7 +124,7 @@ /** * Creates a new texture for the pixmap. */ -GrTexture* GrUploadPixmapToTexture(GrContext*, const SkPixmap&); +GrTexture* GrUploadPixmapToTexture(GrContext*, const SkPixmap&, SkBudgeted budgeted); //////////////////////////////////////////////////////////////////////////////