Added mip mapping and anti-aliasing support in graphics api.