diff options
author | Jason Sams <rjsams@android.com> | 2010-11-03 14:27:11 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-11-03 14:27:11 -0700 |
commit | d5f06300341df0990be3e0b7a26fa49b13c6fc19 (patch) | |
tree | b6ab4893e599c401debbe0f0282e28303c5514d9 /graphics/java/android/renderscript/Type.java | |
parent | 4b8d36b30ad2e87f3969034eb42dc14b99f03686 (diff) | |
download | frameworks_base-d5f06300341df0990be3e0b7a26fa49b13c6fc19.zip frameworks_base-d5f06300341df0990be3e0b7a26fa49b13c6fc19.tar.gz frameworks_base-d5f06300341df0990be3e0b7a26fa49b13c6fc19.tar.bz2 |
RS Error cleanup.
Thow java exception during init if the
GL driver fails rather than native crash.
Change-Id: Ie96ef5a2ac12e64f9456545d86157c4c95179a8e
Diffstat (limited to 'graphics/java/android/renderscript/Type.java')
-rw-r--r-- | graphics/java/android/renderscript/Type.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/graphics/java/android/renderscript/Type.java b/graphics/java/android/renderscript/Type.java index caa8b13..9a40d1f 100644 --- a/graphics/java/android/renderscript/Type.java +++ b/graphics/java/android/renderscript/Type.java @@ -33,8 +33,6 @@ public class Type extends BaseObj { int mElementCount; Element mElement; - Class mJavaClass; - public Element getElement() { return mElement; } @@ -124,12 +122,6 @@ public class Type extends BaseObj { calcElementCount(); } - public static Type createFromClass(RenderScript rs, Class c, int size, String scriptName) { - android.util.Log.e("RenderScript", "Calling depricated createFromClass"); - return null; - } - - public static class Builder { RenderScript mRS; Dimension[] mDimensions; |