[Webkit-unassigned] [Bug 66969] Chromium: Add a layer for rubber-band overhang painting to the hardware path.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 29 14:48:35 PDT 2011


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





--- Comment #5 from asvitkine at chromium.org  2011-08-29 14:48:35 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > (From update of attachment 105229 [details] [details] [details])
> > > 
> > > > Source/WebCore/rendering/RenderLayerCompositor.cpp:960
> > > > +        m_layerForOverhangAreas->setSize(frameView->frameRect().size());
> > > 
> > > Maybe I misunderstand how these layers are supposed to work, but I would expect overhang layers to be related to the size and position of horizontalOverhangRect and verticalOverhangRect.
> > 
> > If I did it that way, then two layers would be required, which would be more boilerplate. Instead, I decided to go with one layer that covers the size of web content area.
> 
> So, that means that you have to invalidate and repaint the entire contents of the overhang area on every change in scroll position?

Yes, the patch currently does:

overhangLayer->setNeedsDisplay();

in ScrollView::scrollContents().

This shouldn't invalidate other layers below the overhang layer, right?

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