chr15m / PdDroidParty

Run Pure Data DSP patches on Android - native GUIs emulated.
http://droidparty.net/
GNU General Public License v3.0
64 stars 14 forks source link

Deprecated GLES method #1

Closed chr15m closed 11 years ago

chr15m commented 11 years ago

java.lang unsupported exception at GLES20Canvas.drawpicture on HTC one X - Android 4.0.4.

12-14 12:56:15.300: E/AndroidRuntime(31994): FATAL EXCEPTION: main 12-14 12:56:15.300: E/AndroidRuntime(31994): java.lang.UnsupportedOperationException 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.GLES20Canvas.drawPicture(GLES20Canvas.java:933) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.graphics.drawable.PictureDrawable.draw(PictureDrawable.java:73) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.widget.ImageView.onDraw(ImageView.java:973) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.View.draw(View.java:11014) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.View.getDisplayList(View.java:10444) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewGroup.drawChild(ViewGroup.java:3167) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.View.getDisplayList(View.java:10442) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewGroup.drawChild(ViewGroup.java:3167) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.View.getDisplayList(View.java:10442) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewGroup.drawChild(ViewGroup.java:3167) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.View.draw(View.java:11017) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.widget.FrameLayout.draw(FrameLayout.java:450) 12-14 12:56:15.300: E/AndroidRuntime(31994): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2214) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.View.getDisplayList(View.java:10444) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:899) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewRootImpl.draw(ViewRootImpl.java:2123) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1810) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2700) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.os.Handler.dispatchMessage(Handler.java:99) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.os.Looper.loop(Looper.java:156) 12-14 12:56:15.300: E/AndroidRuntime(31994): at android.app.ActivityThread.main(ActivityThread.java:5045) 12-14 12:56:15.300: E/AndroidRuntime(31994): at java.lang.reflect.Method.invokeNative(Native Method) 12-14 12:56:15.300: E/AndroidRuntime(31994): at java.lang.reflect.Method.invoke(Method.java:511) 12-14 12:56:15.300: E/AndroidRuntime(31994): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 12-14 12:56:15.300: E/AndroidRuntime(31994): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 12-14 12:56:15.300: E/AndroidRuntime(31994): at dalvik.system.NativeStart.main(Native Method) 12-14 12:56:15.440: D/dalvikvm(31994): Trying to load lib /data/data/cx.mccormick.pddroidparty/lib/libpdnative.so 0x40d74268 12-14 12:56:15.440: D/dalvikvm(31994): Added shared lib /data/data/cx.mccormick.pddroidparty/lib/libpdnative.so 0x40d74268

chr15m commented 11 years ago

@Kishan-Cj - you fixed this one already, right?

Kishan-Cj commented 11 years ago

Not yet, This happens only when the "forced hardware rendering" is checked inside the Developer Options menu. Which is unchecked by default.

chr15m commented 11 years ago

Ok great, marking Will Not Fix. :)