Loading graphics/java/android/renderscript/Element.java +8 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ public class Element extends BaseObj { SIGNED_8 (4, 1), SIGNED_16 (5, 2), SIGNED_32 (6, 4), //SIGNED_64 (7, 8), SIGNED_64 (7, 8), UNSIGNED_8 (8, 1), UNSIGNED_16 (9, 2), UNSIGNED_32 (10, 4), Loading Loading @@ -142,6 +142,13 @@ public class Element extends BaseObj { return rs.mElement_I32; } public static Element I64(RenderScript rs) { if(rs.mElement_I64 == null) { rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); } return rs.mElement_I64; } public static Element F32(RenderScript rs) { if(rs.mElement_F32 == null) { rs.mElement_F32 = createUser(rs, DataType.FLOAT_32); Loading graphics/java/android/renderscript/RenderScript.java +1 −0 Original line number Diff line number Diff line Loading @@ -501,6 +501,7 @@ public class RenderScript { Element mElement_I16; Element mElement_U32; Element mElement_I32; Element mElement_I64; Element mElement_F32; Element mElement_F64; Element mElement_BOOLEAN; Loading Loading
graphics/java/android/renderscript/Element.java +8 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ public class Element extends BaseObj { SIGNED_8 (4, 1), SIGNED_16 (5, 2), SIGNED_32 (6, 4), //SIGNED_64 (7, 8), SIGNED_64 (7, 8), UNSIGNED_8 (8, 1), UNSIGNED_16 (9, 2), UNSIGNED_32 (10, 4), Loading Loading @@ -142,6 +142,13 @@ public class Element extends BaseObj { return rs.mElement_I32; } public static Element I64(RenderScript rs) { if(rs.mElement_I64 == null) { rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); } return rs.mElement_I64; } public static Element F32(RenderScript rs) { if(rs.mElement_F32 == null) { rs.mElement_F32 = createUser(rs, DataType.FLOAT_32); Loading
graphics/java/android/renderscript/RenderScript.java +1 −0 Original line number Diff line number Diff line Loading @@ -501,6 +501,7 @@ public class RenderScript { Element mElement_I16; Element mElement_U32; Element mElement_I32; Element mElement_I64; Element mElement_F32; Element mElement_F64; Element mElement_BOOLEAN; Loading