Bug 162090

Summary: [Win][Direct2D] Provide Color support for Direct2D
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebCore Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: Windows 10   
Bug Depends on:    
Bug Blocks: 161817    
Attachments:
Description Flags
Patch dino: review+

Brent Fulgham
Reported 2016-09-16 14:26:42 PDT
Add some casting operators to Color to allow conversion to/from native Direct2D types.
Attachments
Patch (4.69 KB, patch)
2016-09-16 14:32 PDT, Brent Fulgham
dino: review+
Brent Fulgham
Comment 1 2016-09-16 14:32:54 PDT
WebKit Commit Bot
Comment 2 2016-09-16 14:34:38 PDT
Attachment 289113 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/Color.h:45: D2D_COLOR_F is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] ERROR: Source/WebCore/platform/graphics/Color.h:46: D2D1_COLOR_F is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] ERROR: Source/WebCore/platform/graphics/win/ColorDirect2D.cpp:41: D2D1_COLOR_F is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 3 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Brent Fulgham
Comment 3 2016-09-16 17:16:24 PDT
Note You need to log in before you can comment on or make changes to this bug.