add gfx api

api not implement yet