There are a lot of different phones, tablets and hardware configurations available when it comes to Android. Assuming that everything is working correctly right from the factory may be a little bit naive. At the moment a lot of developers still support Android 2.3 and some phones like the HTC Desire, HTC Desire S and Samsung Galaxy Ace have a little GPU from the Adreno 200 series (200 & 205) that does not work as all the other GPU’s regarding textures. Let us elaborate a bit on this as you should incorporate our hack if you use multiple textures per shaderprogram so that those users won’t complain .
Android is a complex system of all sorts of logic and systems which are available to us. This is very nice but it also gives us multiple ways to achieve the same thing and here it gets a little bit complicated. In this post we will look a bit into checking if your application is the currently active one.
OpenGL ES 2.0 requires us to use shaders, which is very nice because it lets us do a lot of nice things. This series of tutorials will go into the subject of shaders. This installment will cover the basic setup of a shader and explains a bit what’s what.