[Webkit-unassigned] [Bug 107342] Clean up device scale factor with Skia GraphicsContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 18 18:37:04 PST 2013


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





--- Comment #12 from Tien-Ren Chen <trchen at chromium.org>  2013-01-18 18:38:52 PST ---
Hi Enne,

I'm trying to set correct platform context device scale factor for composited layers, which is necessary for some decorations(such as grammar markers) to render correctly in high-resolution.

I'm setting it in GraphicsLayerChromium's implementation of GraphicsContextPainter::paint(), does that sounds reasonable for you?

Personally I find it logically wrong because it should be the underlying backend(the compositor) to decide the device scale factor on the GraphicsContext, not the content being rasterized(the GraphicsLayer). However it is the most simplistic way to make it work (GraphicsLayer::deviceScaleFactor() comes in handy). Do you have a better idea?

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