Ported to gfx_graphics
Enabled swapping between Gfx and OpenGL
Merged with gfx port