make one draw engine for all platform