[Cairo] Correctly calculate stride in GraphicsContext3D::paintToCanvas()
Created attachment 333049 [details] Patch
Comment on attachment 333049 [details] Patch Clearing flags on attachment: 333049 Committed r228085: <https://trac.webkit.org/changeset/228085>
All reviewed patches have been landed. Closing bug.
<rdar://problem/37226268>
Reverted r228085 for reason: Pixel data stride is imposed by OpenGL and shouldn't be adjusted for Cairo Committed r228091: <https://trac.webkit.org/changeset/228091>
(In reply to Zan Dobersek from comment #5) > Reverted r228085 for reason: > > Pixel data stride is imposed by OpenGL and shouldn't be adjusted for Cairo > I.e., this isn't data we're providing like we do in ImageBufferCairo, but instead it's data that's filled out by OpenGL via glReadPixels(), and that has the prescribed stride that matches width multiplied by 4 bytes (RGBA format, 1 byte per each component).