Bug 37280 - Windows 7: Investigate using Direct2D for painting
Summary: Windows 7: Investigate using Direct2D for painting
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2010-04-08 10:38 PDT by Adam Roben (:aroben)
Modified: 2023-10-20 09:30 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2010-04-08 10:38:24 PDT
Windows 7 includes a new, hardware-accelerated API for 2D graphics, Direct2D. We should investigate using this in WebKit to see if we can benefit from its increased performance and better feature set relative to GDI.
Comment 1 Adam Roben (:aroben) 2010-04-08 10:40:35 PDT
(In reply to comment #0)
> We should investigate using this in WebKit to see if we can benefit from its
> increased performance and better feature set relative to GDI.

We should also compare it to CoreGraphics, of course.

Since Direct2D will only be available on Windows 7 and later (and on Windows Vista with an optional update), we'd need to be able to fall back to different rendering path at runtime. Also, CoreAnimation has dependencies on CoreGraphics, so we'd probably need to keep CoreGraphics around even on Windows 7 and later.
Comment 2 Adam Roben (:aroben) 2010-04-08 10:41:44 PDT
<rdar://problem/7841424>
Comment 4 Ahmad Saleem 2023-10-20 07:39:12 PDT
Was it for AppleWin port or win-cairo?

@Fuji & @Brent - for any input on whether it is still applicable?
Comment 5 Brent Fulgham 2023-10-20 09:30:24 PDT
@Ahmad: This was for both Windows targets, and is still relevant.
Comment 6 Brent Fulgham 2023-10-20 09:30:37 PDT
Although Windows 7 is not! :-)