Here's 2 interesting articles I found.
http://oilprice.com/Energy/Crude-Oil/What-Happens-When-the-Oil-Runs-Out.html
http://www.forbes.com/sites/greatspeculations/2013/06/05/dangerous-times-as-energy-sources-get-costlier-to-extract/
What it tells you is this: there is plenty of oil, but it takes more and more energy to extract this oil. This is bad news for global warming, because producing and pre-processing the oil itself is becoming an energy intensive and polluting process (in terms of CO2 production).
To produce 4 barrels of oil from tar sands, you need the energy equivalent 1 barrel of oil. This increases CO2 production by about 20% (assuming a 5% cost at this moment), even if the oil demand from the economy stays the same.
A similar story goes for coal. Pakistan has large coal reserves, but they are of poorer quality than what's usually mined. But the need for energy is so high, that they and India will exploit it anyways. What this means is, that more and more coal has to be burned to produce the same amount of energy.
So what's relevant for predictions of CO2 production: not only population growth, increase in wealth and energy demand, but also how much coal/oil has to be burned to supply the world with that energy. And this cost is also increasing.
The opposing trend is production of gas (and oil) from CO2 from the atmosphere, using excess energy from e.g. wind-power, solar power, or even geothermal power. That's only done on a tiny scale, but maybe this will become more important in the future and maybe that'll save us in the end.