diff options
author | 2016-03-18 11:52:20 -0700 | |
---|---|---|
committer | 2016-03-18 11:52:20 -0700 | |
commit | 8bea8905e406fc1d15ef5a8294a735f3d33fb2d0 (patch) | |
tree | 697609f0fdeb14a8d9ba7a0dd5d8844b2e35e947 /src/gpu/SkGrPriv.h | |
parent | 98ed14ea0524bd878afcb84e0b7d49998e723255 (diff) |
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
Diffstat (limited to 'src/gpu/SkGrPriv.h')
-rw-r--r-- | src/gpu/SkGrPriv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h index 555f415513..75f4000ba4 100644 --- a/src/gpu/SkGrPriv.h +++ b/src/gpu/SkGrPriv.h @@ -124,7 +124,7 @@ GrTexture* GrGenerateMipMapsAndUploadToTexture(GrContext*, const SkBitmap&); /** * Creates a new texture for the pixmap. */ -GrTexture* GrUploadPixmapToTexture(GrContext*, const SkPixmap&); +GrTexture* GrUploadPixmapToTexture(GrContext*, const SkPixmap&, SkBudgeted budgeted); ////////////////////////////////////////////////////////////////////////////// |