Bug 67227 - CG plug-ins are always given a context with a scale factor of 1, even when the device scale factor is something else
Summary: CG plug-ins are always given a context with a scale factor of 1, even when th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.7
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-08-30 13:52 PDT by Adam Roben (:aroben)
Modified: 2011-10-26 00:41 PDT (History)
5 users (show)

See Also:


Attachments
Patch (6.20 KB, patch)
2011-10-25 17:56 PDT, Anders Carlsson
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.