I'm quite new to animations in Android. For 3D animations I have to use OpenGL to make it look more fluid.
Is it possible to convert a Drawable
that is i draw some rectangle or circle on a canvas and i want that to convert into a View
using OpenGL. Is that possible and if so then how?
Can anyone please let me know what does the first point in the FEATURES say in this URL http://developer.android.com/reference/android/opengl/GLSurfaceView.html
The OpenGL drivers on Android are not user upgradable. Newer versions are only issued by the vendor (ARM, Qualcomm, Vivante) to their partners (Samsung, LG, Lenovo, Xiaomi, Oppo etc) which then customise and integrate them into their device Android firmware image.
The usual fix for this error, is to uninstall and re-install your video card device drivers, though an older version of that driver may be best . ..
Well, you can try to convert a Drawable to a bitmap and then map this bitmap on a 3D surface in OpenGL as a texture.
OpenGL doesn't operate on that level. OpenGL is just a drawing API, giving you "pens and brushes" to draw on some canvas provided by the operating system. Any OS specific concepts like Drawables and Views are out of the scope of OpenGL and won't be dealt with by it.
However maybe if you described in detail what it is you want to achieve we may be able to help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With