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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 26 09:58:58 PST 2012


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





--- Comment #16 from Tim Dresser <tdresser at chromium.org>  2012-01-26 09:58:58 PST ---
(In reply to comment #15)
> what about having this function just call getCurrentFrame() and give a pointer to the frame object to the quad. then, if we do draw the quad, we can copyFrameToTexture() at draw time where we already have access to the LRC.

copyFrameToTexture() requires mutating the layer. The layer's list of textures, nativeTextureId, m_nativeTextureSize, etc. have to be modified, and the results need to be shared among the quads. To call copyFrameToTexture() at draw time would require quads to have a backpointer to the layer, which we're trying to avoid.

Any suggestions on how to move the copyFrameToTexture() call into LayerRendererChromium::drawVideoQuad() without requiring a backpointer to the layer?

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