use hardware.opengl as required