replace chromebook ifdef opengl stuff w/ detection code