Update allocation from bitmap.
GL attribute cleanup in type. Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
This commit is contained in:
@@ -186,6 +186,10 @@ public class RenderScript {
|
||||
synchronized int nAllocationCreateTyped(int type) {
|
||||
return rsnAllocationCreateTyped(mContext, type);
|
||||
}
|
||||
native void rsnAllocationUpdateFromBitmap(int con, int alloc, Bitmap bmp);
|
||||
synchronized void nAllocationUpdateFromBitmap(int alloc, Bitmap bmp) {
|
||||
rsnAllocationUpdateFromBitmap(mContext, alloc, bmp);
|
||||
}
|
||||
native int rsnAllocationCreateFromBitmap(int con, int dstFmt, boolean genMips, Bitmap bmp);
|
||||
synchronized int nAllocationCreateFromBitmap(int dstFmt, boolean genMips, Bitmap bmp) {
|
||||
return rsnAllocationCreateFromBitmap(mContext, dstFmt, genMips, bmp);
|
||||
|
||||
Reference in New Issue
Block a user