RESOLVED FIXED 128460
Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based.
https://bugs.webkit.org/show_bug.cgi?id=128460
Summary Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpi...
zalan
Reported 2014-02-08 11:24:07 PST
This is the first step in transitioning to subpixel render layer offsetting from the integral positioned graphics layer.
Attachments
Patch (27.04 KB, patch)
2014-02-08 11:44 PST, zalan
no flags
Patch (31.90 KB, patch)
2014-02-08 13:03 PST, zalan
no flags
Patch (34.88 KB, patch)
2014-02-10 19:37 PST, zalan
no flags
Patch (27.93 KB, patch)
2014-02-11 14:47 PST, zalan
no flags
Patch (27.86 KB, patch)
2014-02-11 15:03 PST, zalan
no flags
zalan
Comment 1 2014-02-08 11:44:39 PST
zalan
Comment 2 2014-02-08 11:44:58 PST
Comment on attachment 223574 [details] Patch EWS testing.
zalan
Comment 3 2014-02-08 13:03:29 PST
zalan
Comment 4 2014-02-08 13:03:55 PST
Comment on attachment 223579 [details] Patch EWS testing ports
zalan
Comment 5 2014-02-10 19:37:32 PST
Simon Fraser (smfr)
Comment 6 2014-02-10 22:05:55 PST
Comment on attachment 223794 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223794&action=review r- because of my questions. > Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:258 > + m_client->paintLayerContents(graphicsLayer, graphicsContext, IntRect(clipRect)); enclosingIntRect()? If you plan to change this later, it should get a FIXME I think. > Source/WebCore/rendering/RenderLayer.cpp:2652 > -static LayoutRect cornerRect(const RenderLayer* layer, const LayoutRect& bounds) > +static IntRect cornerRect(const RenderLayer* layer, const IntRect& bounds) Not sure why you changed these; the corner/scrollbar rects need to be device pixel aligned at some point, so won't that involve going back to layout units? > Source/WebCore/rendering/RenderLayerBacking.cpp:2198 > + IntRect pixelSnappedRectForIntegralPositionedItems(pixelSnappedIntRect(dirtyRect)); We normally initialize with =, so pixelSnappedRectForIntegralPositionedItems = pixelSnappedIntRect(dirtyRect); > Source/WebCore/rendering/RenderLayerCompositor.cpp:2613 > + IntRect pixelSnappedRectForIntegralPositionedItems(pixelSnappedIntRect(LayoutRect(clip))); Ditto. > Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextGL.cpp:403 > + core(m_webView)->mainFrame().view()->paint(&context, IntRect(rectToPaint)); enclosing? > Source/WebKit/win/WebView.cpp:6736 > + frame->view()->paint(&context, IntRect(inClip)); enclosing? > Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:278 > + m_webPage->drawRect(graphicsContext, IntRect(clipRect)); enclosing? > Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:284 > + m_webPage->drawPageOverlay(pageOverlayLayer.key, graphicsContext, IntRect(clipRect)); ditto. > Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:196 > + m_webPage->drawPageOverlay(overlayAndLayer.key, graphicsContext, IntRect(clipRect)); ditto > Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:363 > + m_webPage->drawPageOverlay(it->key, graphicsContext, IntRect(clipRect)); ditto.
zalan
Comment 7 2014-02-11 14:47:43 PST
Simon Fraser (smfr)
Comment 8 2014-02-11 14:52:07 PST
Comment on attachment 223902 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223902&action=review > Source/WebCore/ChangeLog:10 > + This is the first step in transitioning to subpixel render layer offsetting from > + the integral positioned graphics layer. > + You should say what you changed.
zalan
Comment 9 2014-02-11 15:03:32 PST
zalan
Comment 10 2014-02-11 15:03:55 PST
Comment on attachment 223906 [details] Patch EWS testing
WebKit Commit Bot
Comment 11 2014-02-11 19:23:41 PST
Comment on attachment 223906 [details] Patch Clearing flags on attachment: 223906 Committed r163931: <http://trac.webkit.org/changeset/163931>
WebKit Commit Bot
Comment 12 2014-02-11 19:23:44 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.