WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(31.90 KB, patch)
2014-02-08 13:03 PST
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(34.88 KB, patch)
2014-02-10 19:37 PST
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(27.93 KB, patch)
2014-02-11 14:47 PST
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(27.86 KB, patch)
2014-02-11 15:03 PST
,
zalan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
zalan
Comment 1
2014-02-08 11:44:39 PST
Created
attachment 223574
[details]
Patch
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
Created
attachment 223579
[details]
Patch
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
Created
attachment 223794
[details]
Patch
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
Created
attachment 223902
[details]
Patch
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
Created
attachment 223906
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug