separate gl-related source code into for android and for others