[Webkit-unassigned] [Bug 43101] Using glMapTexSubImage2d in VideoLayerChromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 28 14:41:09 PDT 2010


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


Vangelis Kokkevis <vangelis at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vangelis at chromium.org




--- Comment #5 from Vangelis Kokkevis <vangelis at chromium.org>  2010-07-28 14:41:09 PST ---
I think that if you're relying on the GraphicsContext to render the contents of your video layer then there's no reason to create a different layer type for it. I thought that the video layer would have direct pointer
to the memory containing the frame data so that it can populate the texture directly from there. With the code the way it is, every time you get a new video frame you will create a temporary GraphicsContext and Skia canvas of that
size (one large mem allocation), call the GraphicsContext to render the video frame to it (one large mem copy) and then update the texture.

The code for using mapped memory for texture updates should move over to LayerChromium as you suggested.

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