[GL] Replace OpenGL calls by the GLES equivalents.

GLES does not support shaders. Since I do not need shaders yet, I have added
#define instructions to simulate a shader API that does nothing.

The direct rendering mode is replaced by vertex objects.
The generic items library is a static library on Android.