add demo for render off-screen use opengl