Gamma class, total positivity and mirror symmetry