[Webkit-unassigned] [Bug 51928] [chromium] Enable reuse of RenderSurface for drawing.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 10 11:59:41 PST 2011


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





--- Comment #21 from W. James MacLean <wjmaclean at chromium.org>  2011-01-10 11:59:40 PST ---
(In reply to comment #20)
> (In reply to comment #18)
> > (In reply to comment #17)
> > > Created an attachment (id=78407)
 --> (https://bugs.webkit.org/attachment.cgi?id=78407&action=review) [details] [details] [details]
> > > Patch
> > 
> > Vangelis' solution seems to have fixed it. In fact I had been clearing the display buffer, but I was only clearing the alpha channel. Clearing all channels seems to be necessary.
> > 
> 
> Glad to hear it works. From the behavior you're describing it sounds like when you do the final draw to the backbuffer you have blending enabled.  Unless you're expecting to composite multiple results, it will be a big performance win if you disable blend before rendering.  At that point you should in theory only have to clear the alpha channel of the backbuffer once.

I think then end goal is to composite multiple results, although there will likely be times when only one offscreen texture is being copied to the screen. In those cases we could disable blending before display.

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