Bug 115310 - [Mac] Disable canvas backing store scaling (HIGH_DPI_CANVAS)
Summary: [Mac] Disable canvas backing store scaling (HIGH_DPI_CANVAS)
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dean Jackson
Keywords: InRadar
Depends on:
Reported: 2013-04-27 13:15 PDT by Dean Jackson
Modified: 2013-04-28 14:52 PDT (History)
2 users (show)

See Also:

Patch (9.26 KB, patch)
2013-04-27 13:23 PDT, Dean Jackson
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2013-04-27 13:15:55 PDT
Disable the automatic pixel doubling in canvas backing stores on high dpi devices. This will potentially make canvases look worse of high dpi displays, but only if they were ignoring devicePixelRatio. Since the majority of high dpi displays *do not* auto-double (including mobile devices and other desktop browsers), this provides consistency and less chance of unnecessary memory use.

Comment 1 Dean Jackson 2013-04-27 13:23:59 PDT
Created attachment 199911 [details]
Comment 2 Dean Jackson 2013-04-28 14:52:19 PDT
Committed r149261: <http://trac.webkit.org/changeset/149261>