Germany 's Gabriel said Mexico outlined a promising idea under which all countries should contribute cash to fight global warming according to the size of their gross domestic product and their per capita greenhouse gas emissions .