Decoupling the memory with Gfx selection by Juansheng