GRIM/OPENGL: un-hardcode GFX operations a bit