Loading graphics/java/android/renderscript/Allocation.java +4 −10 Original line number Diff line number Diff line Loading @@ -102,16 +102,6 @@ public class Allocation extends BaseObj { mRS.nAllocationSyncAll(getID(), srcLocation); } public void uploadToTexture(int baseMipLevel) { mRS.validate(); mRS.nAllocationUploadToTexture(getID(), false, baseMipLevel); } public void uploadToTexture(boolean genMips, int baseMipLevel) { mRS.validate(); mRS.nAllocationUploadToTexture(getID(), genMips, baseMipLevel); } public void uploadToBufferObject() { mRS.validate(); mRS.nAllocationUploadToBufferObject(getID()); Loading Loading @@ -390,6 +380,10 @@ public class Allocation extends BaseObj { return new Allocation(id, rs, type, usage); } static public Allocation createTyped(RenderScript rs, Type type, int usage) { return createTyped(rs, type, MipmapControl.MIPMAP_NONE, usage); } static public Allocation createTyped(RenderScript rs, Type type) { return createTyped(rs, type, MipmapControl.MIPMAP_NONE, USAGE_SCRIPT); } Loading Loading
graphics/java/android/renderscript/Allocation.java +4 −10 Original line number Diff line number Diff line Loading @@ -102,16 +102,6 @@ public class Allocation extends BaseObj { mRS.nAllocationSyncAll(getID(), srcLocation); } public void uploadToTexture(int baseMipLevel) { mRS.validate(); mRS.nAllocationUploadToTexture(getID(), false, baseMipLevel); } public void uploadToTexture(boolean genMips, int baseMipLevel) { mRS.validate(); mRS.nAllocationUploadToTexture(getID(), genMips, baseMipLevel); } public void uploadToBufferObject() { mRS.validate(); mRS.nAllocationUploadToBufferObject(getID()); Loading Loading @@ -390,6 +380,10 @@ public class Allocation extends BaseObj { return new Allocation(id, rs, type, usage); } static public Allocation createTyped(RenderScript rs, Type type, int usage) { return createTyped(rs, type, MipmapControl.MIPMAP_NONE, usage); } static public Allocation createTyped(RenderScript rs, Type type) { return createTyped(rs, type, MipmapControl.MIPMAP_NONE, USAGE_SCRIPT); } Loading