Add support for linking to a skia bitmap rather than always copying the data from the bitmap.
This commit is contained in:
@@ -98,6 +98,7 @@ public class RenderScript {
|
||||
|
||||
native int nAllocationCreateTyped(int type);
|
||||
native int nAllocationCreateFromBitmap(int dstFmt, boolean genMips, Bitmap bmp);
|
||||
native int nAllocationCreateBitmapRef(int type, Bitmap bmp);
|
||||
native int nAllocationCreateFromBitmapBoxed(int dstFmt, boolean genMips, Bitmap bmp);
|
||||
native int nAllocationCreateFromAssetStream(int dstFmt, boolean genMips, int assetStream);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user