native-plasma doesn't work
Native-plasma currently doesn't work on devices like samsung galaxy s2, nexus 6, ...
closing https://github.com/googlesamples/android-ndk/issues/166 ( I opened ) and using this one as a holder to debug
We should have merged the code I submitted months ago :P It would be fixed ^^
Ok, I did not realize there is a fix on the way and I was there before too :-(. Let me look through to see what this sample does and go from there.
Ok, the problem is that: on my android 5X, the window format is 8888 ( RGBA ), the fill_plasma code is for 565 format ( 16 bit format ). fixable :-) just need to understand the original algorithm.
this one https://github.com/googlesamples/android-ndk/pull/190 will fix it: request the 565 format before drawing on it. There got to be something similar for the same thing inside androidManifest.xml, not found it yet...
merged, it should be fixed and the functionality matches the one inside bitmap-plasma Whiteseeker@, let's process your improvement for this sample inside the pull: https://github.com/googlesamples/android-ndk/pull/133
The styles are common to: bitmap-plasma native-plasma native-audio