Changeset 206780 in webkit
- Timestamp:
- Oct 4, 2016 12:37:42 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r206779 r206780 1 2016-10-04 Brent Fulgham <bfulgham@apple.com> 2 3 Unreviewed build fix after r206773. 4 5 Exclude Direct2D definitions when building for normal CG Windows. 6 7 * platform/graphics/GraphicsContext.h: 8 1 9 2016-10-04 Yusuke Suzuki <utatane.tea@gmail.com> 2 10 -
trunk/Source/WebCore/platform/graphics/GraphicsContext.h
r206773 r206780 510 510 #else 511 511 GraphicsContext(HDC, bool hasAlpha = false); // FIXME: To be removed. 512 GraphicsContext(HDC, ID2D1DCRenderTarget**, RECT, bool hasAlpha = false); // FIXME: To be removed.513 512 514 513 // When set to true, child windows should be rendered into this context … … 547 546 void drawWindowsBitmap(WindowsBitmap*, const IntPoint&); 548 547 #endif 548 #if USE(DIRECT2D) 549 GraphicsContext(HDC, ID2D1DCRenderTarget**, RECT, bool hasAlpha = false); // FIXME: To be removed. 550 549 551 WEBCORE_EXPORT static ID2D1Factory* systemFactory(); 550 552 WEBCORE_EXPORT static ID2D1RenderTarget* defaultRenderTarget(); … … 556 558 ID2D1SolidColorBrush* solidStrokeBrush(); 557 559 ID2D1SolidColorBrush* solidFillBrush(); 560 #endif 558 561 #else // PLATFORM(WIN) 559 562 bool shouldIncludeChildWindows() const { return false; } … … 573 576 #if PLATFORM(WIN) && !USE(WINGDI) 574 577 void platformInit(HDC, bool hasAlpha = false); 578 #endif 579 580 #if USE(DIRECT2D) 575 581 void platformInit(HDC, ID2D1RenderTarget**, RECT, bool hasAlpha = false); 576 582 void platformInit(ID2D1RenderTarget*); 577 #endif578 579 #if USE(DIRECT2D)580 583 void drawWithoutShadow(const FloatRect& boundingRect, const std::function<void(ID2D1RenderTarget*)>&); 581 584 void drawWithShadow(const FloatRect& boundingRect, const std::function<void(ID2D1RenderTarget*)>&);
Note: See TracChangeset
for help on using the changeset viewer.