Bug 1075616 - Do partial uploads of non-D2D SourceSurfaces when we have a sampling rect. r=Bas

--HG--
extra : rebase_source : d08b5d3d515484ebc0f8a3be774d66c3b881a8d4
Bug 1006797 - Only apply the window render offset when actually rendering to the window. r=nical

--HG--
extra : rebase_source : 24f2d8c50e5c0ddfa6683291040a78574d631678
Bug 1067588 - Don't draw images with a sampling rect if the rect covers the entire image. r=Bas

--HG--
extra : rebase_source : 1c6aebe49a6168953413f60d97d8d53135298e77