first step at optional single buffered OpenGL rendering

Change-Id: I064de6ca7d40b8e6e378a01dd39a6cd09f040b68