Chromium Code Reviews| Index: include/core/SkImage.h |
| diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
| index c9579b610c3edaf9a1df520e15e3cd4a66874988..3a8777abe628d11597e451e3e88105e78442b269 100644 |
| --- a/include/core/SkImage.h |
| +++ b/include/core/SkImage.h |
| @@ -143,6 +143,10 @@ public: |
| static sk_sp<SkImage> MakeTextureFromPixmap(GrContext*, const SkPixmap&, SkBudgeted budgeted); |
| + static sk_sp<SkImage> MakeTextureFromMipMap(GrContext*, const SkImageInfo&, |
|
bsalomon
2016/06/03 14:41:52
Do we need this in the public API? If it is only c
reed1
2016/06/03 15:59:47
+1 to privatization.
BTW -- (other) Brian and I h
cblume
2016/06/03 16:22:40
Done.
|
| + const GrMipLevel* texels, int mipLevelCount, |
| + SkBudgeted); |
| + |
| /////////////////////////////////////////////////////////////////////////////////////////////// |
| int width() const { return fWidth; } |