[Webkit-unassigned] [Bug 76720] [chromium] Refactor video drawing to be more data driven

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 25 10:13:35 PST 2012


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





--- Comment #11 from Adrienne Walker <enne at google.com>  2012-01-25 10:13:35 PST ---
(In reply to comment #10)

> TextureManager/Allocator are also constructs from the main thread side of the compositor. Without digging deeper I think you probably want to take how the CCVLI draw stuff was uploading textures and just move that into appendQuads modulo appropriate plumbing.

Yeah, exactly.  All of this needs to stay on the CCLayerImpl side of the fence.

The only thing appendQuads is missing is a GraphicsContext3D*.  So, maybe add a CCLayerImpl::preDraw(LayerRendererChromium*) as well as a CCLayerImpl::postDraw(LayerRendererChromium*).  Call preDraw immediately before appendQuads and postDraw on all layers after the render passes have been sent to the LayerRendererChromium.

That'll keep appendQuads from being too overloaded, but it's effectively the same as moving it there with additional plumbing.

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