[Webkit-unassigned] [Bug 104672] [GTK] Add accelerated 2D canvas support using cairo-gl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 23 09:30:34 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=104672





--- Comment #7 from Martin Robinson <mrobinson at webkit.org>  2012-12-23 09:32:45 PST ---
(In reply to comment #6)

> Anyway, why not call glReadPixels and glTexSubImage2D directly? That would save many data copies between the gl-surface and the mapped image. And even a glReadPixels which is performed at the start of putByteArray while in theory we don't need to read previous pixel data when we just upload new data).

Cairo's map-to-image and unmap-image effectively just do a glReadPixels and glTexSubImage2D. In the future the may be optimized further with PBOs as well. There shouldn't be any extra data copies, as far as I know.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list