[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 11:08:28 PST 2012


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





--- Comment #8 from arno. <arno at renevier.net>  2012-12-23 11:10:38 PST ---
(In reply to comment #7)


> 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.

In the patch, there is a map at the start of getImageData and an unmap at its end. Same thing for putByteArray.

But getImageData only needs to read pixels from graphic card, and putByteArray only needs to puts pixels to graphic card. So, there may be an extra glTexSubImage2D in getImageData and an extra glReadPixels in putByteArray. 


> There shouldn't be any extra data copies, as far as I know.

ok, sorry about that.

-- 
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