[Webkit-unassigned] [Bug 76715] Refactor plugin drawing to be more data driven

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 20 13:29:27 PST 2012


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





--- Comment #3 from Tim Dresser <tdresser at chromium.org>  2012-01-20 13:29:28 PST ---
> From a design perspective, I don't think quads should have backpointers back to their originating layers if it can be helped.  Architecturally, I'd be fine with the assumption that we call appendQuads prior to any draw call.  That would let you push all the io surface handling back into plugin layer, and simply give the quad a texture id.

It definitely would be a lot nicer if that backpointer wasn't there.

In appendQuads, I have no access to a GraphicsContext3D, so if the layer's ioSurface doesn't have a texture, I can't create one.

The ioSurface's textureId needs to be shared between all the quads. I don't see how I can share it without the backpointer, in the case where no texture exists when appendQuads is called.

I can move the ioSurfaceChanged logic into appendQuads, which is an improvement.

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