Bug 162925

Summary: [Win][Direct2D] Add Direct2D CMake rules
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, commit-queue, dino, mmaxfield, pvollan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 161817    
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Brent Fulgham 2016-10-04 11:09:24 PDT
This patch updates the build rules on Windows to support an optional "Direct2D" build.
Comment 1 Brent Fulgham 2016-10-05 20:40:20 PDT
Created attachment 290777 [details]
Patch
Comment 2 Alex Christensen 2016-10-06 09:05:10 PDT
Comment on attachment 290777 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=290777&action=review

> Source/WebCore/ChangeLog:26
> +        * PlatformAppleWinCACG.cmake: Added.
> +        * PlatformWinDirect2D.cmake: Added.

I don't think we want more files in Source/WebCore just for this.  I think we should put things in PlatformWin and PlatformAppleWin with conditionals.

> Source/WebCore/page/win/FrameWinDirect2D.cpp:36
> +#include "NotImplemented.h"

This isn't used in this patch.
Comment 3 Alex Christensen 2016-10-06 09:14:23 PDT
Comment on attachment 290777 [details]
Patch

r=me other than that.
Comment 4 Brent Fulgham 2016-10-06 09:58:35 PDT
Comment on attachment 290777 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=290777&action=review

>> Source/WebCore/ChangeLog:26
>> +        * PlatformWinDirect2D.cmake: Added.
> 
> I don't think we want more files in Source/WebCore just for this.  I think we should put things in PlatformWin and PlatformAppleWin with conditionals.

OK. I'll do it that way.

>> Source/WebCore/page/win/FrameWinDirect2D.cpp:36
>> +#include "NotImplemented.h"
> 
> This isn't used in this patch.

Its needed in code that was already landed. When I merged from my local machine I missed this line, and since we don't build D2D on EWS (yet) I didn't notice the omission until I synced my local build.
Comment 5 Brent Fulgham 2016-10-06 10:15:03 PDT
Created attachment 290827 [details]
Patch for landing
Comment 6 Brent Fulgham 2016-10-06 10:16:08 PDT
Comment on attachment 290827 [details]
Patch for landing

Patch for landing.
Comment 7 WebKit Commit Bot 2016-10-06 11:04:03 PDT
Comment on attachment 290827 [details]
Patch for landing

Clearing flags on attachment: 290827

Committed r206871: <http://trac.webkit.org/changeset/206871>
Comment 8 WebKit Commit Bot 2016-10-06 11:04:08 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Myles C. Maxfield 2016-10-06 13:37:24 PDT
🎉