Bug 67227

Summary: CG plug-ins are always given a context with a scale factor of 1, even when the device scale factor is something else
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Plug-insAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, bdakin, rniwa, sullivan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.7   
Attachments:
Description Flags
Patch sam: review+

Description Adam Roben (:aroben) 2011-08-30 13:52:27 PDT
CG plug-ins are always given a context with a scale factor of 1 to draw into, even when the device scale factor is something else. This results in plug-ins looking blurry on higher scale factor displays.

We should scale the context to match the device scale factor before handing it off to the plug-in for drawing.
Comment 1 Radar WebKit Bug Importer 2011-08-30 13:53:02 PDT
<rdar://problem/10048319>
Comment 2 Anders Carlsson 2011-10-25 17:56:17 PDT
Created attachment 112436 [details]
Patch
Comment 3 Anders Carlsson 2011-10-25 17:59:14 PDT
Committed r98416: <http://trac.webkit.org/changeset/98416>
Comment 4 Ryosuke Niwa 2011-10-26 00:01:47 PDT
GTK build fixes attempted in http://trac.webkit.org/changeset/98435 and http://trac.webkit.org/changeset/98437.
Comment 5 Ryosuke Niwa 2011-10-26 00:41:12 PDT
GTK build fixed in http://trac.webkit.org/changeset/98438.