diff options
Diffstat (limited to 'src/gpu/SkGrPriv.h')
-rw-r--r-- | src/gpu/SkGrPriv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h index 205698300b..555f415513 100644 --- a/src/gpu/SkGrPriv.h +++ b/src/gpu/SkGrPriv.h @@ -121,6 +121,11 @@ GrTexture* GrUploadBitmapToTexture(GrContext*, const SkBitmap&); GrTexture* GrGenerateMipMapsAndUploadToTexture(GrContext*, const SkBitmap&); +/** + * Creates a new texture for the pixmap. + */ +GrTexture* GrUploadPixmapToTexture(GrContext*, const SkPixmap&); + ////////////////////////////////////////////////////////////////////////////// GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff); |