Bug 191411 - [Windows] Bring up DirectX Backend
Summary: [Windows] Bring up DirectX Backend
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 190875 191093 191337 191412 191452
Blocks:
  Show dependency treegraph
 
Reported: 2018-11-07 19:49 PST by Brent Fulgham
Modified: 2023-12-26 15:39 PST (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 Brent Fulgham 2018-11-07 19:49:35 PST
This umbrella issue tracks a set of changes needed to support a native Windows backend that does not rely on third party libraries (i.e., no Cairo, CFLite, etc.)
Comment 1 Brent Fulgham 2018-11-07 20:03:04 PST
<rdar://problem/45523683>
Comment 2 Fujii Hironori 2018-11-08 00:02:36 PST
Which port does this bug ticket target? AppleWin port or WinCairo port?

What about CFNetwork and AVFoundationCF?
WebKitSupportLibrary.zip contains following libraries. Do you remove all dependencies?

ASL.lib
AVFoundationCF.lib
CFNetwork.lib
CoreAudioToolbox.lib
CoreFoundation.lib
CoreGraphics.lib
CoreMedia.lib
CoreText.lib
CoreVideo.lib
MediaAccessibility.lib
MediaToolbox.lib
QuartzCore.lib
SafariTheme.lib
WebKitQuartzCoreAdditions.lib
Comment 3 Brent Fulgham 2018-11-08 08:55:35 PST
(In reply to Fujii Hironori from comment #2)
> Which port does this bug ticket target? AppleWin port or WinCairo port?
> 
> What about CFNetwork and AVFoundationCF?
> WebKitSupportLibrary.zip contains following libraries. Do you remove all
> dependencies?
> 
> ASL.lib
> AVFoundationCF.lib
> CFNetwork.lib
> CoreAudioToolbox.lib
> CoreFoundation.lib
> CoreGraphics.lib
> CoreMedia.lib
> CoreText.lib
> CoreVideo.lib
> MediaAccessibility.lib
> MediaToolbox.lib
> QuartzCore.lib
> SafariTheme.lib
> WebKitQuartzCoreAdditions.lib

Currently this is just a build of the AppleWin port with the following change in OptionsAppleWin.cmake:

-# set(USE_DIRECT2D 1)
+set(USE_DIRECT2D 1)

Currently all the current WebKitSupportLibrary files are still needed, but the goal at the end of this project is to not need any of them.

My hope is to have one Windows port that can be used by anyone who wants to use WebKit on Windows, and make it of suitable performance and features to be usable in a production-level web browser.

Over the coming weeks I will be working to strip away more of these dependency layers, but right now I'm just trying to get the basic drawing primitives working, followed by time optimizing it.
Comment 4 Ahmad Saleem 2023-12-26 15:39:16 PST
@Brent - is this needed anymore that 'AppleWin' port is gone and we only have 'win-cairo'?