As the code currently stands, during gpu compositing, the graphics layer corresponding to a WebGL context can be asked to render its contents into a canvas backed GraphicsContext, resulting in an expensive GL readback operation that's not necessary. In the chromium code this happens when calling GraphicsContext3D::beginPaint() which was implemented for the software compositing path.
Created attachment 63767 [details] Proposed patch
Comment on attachment 63767 [details] Proposed patch ok.
Comment on attachment 63767 [details] Proposed patch Clearing flags on attachment: 63767 Committed r64990: <http://trac.webkit.org/changeset/64990>
All reviewed patches have been landed. Closing bug.