Title: [94317] trunk
Revision
94317
Author
[email protected]
Date
2011-09-01 11:03:39 -0700 (Thu, 01 Sep 2011)

Log Message

REGRESSION: Rendering artifacts on a rotated, pattern filled shape
https://bugs.webkit.org/show_bug.cgi?id=53055
<rdar://problem/8910917>

Reviewed by Simon Fraser.

Introduce wkCGPatternCreateWithImageAndTransform.

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

* WebCore.exp.in:
* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceLion.a:
* libWebKitSystemInterfaceSnowLeopard.a:
* win/include/WebKitSystemInterface/WebKitSystemInterface.h:
* win/lib/WebKitSystemInterface.lib:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (94316 => 94317)


--- trunk/Source/WebCore/ChangeLog	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/Source/WebCore/ChangeLog	2011-09-01 18:03:39 UTC (rev 94317)
@@ -1,3 +1,17 @@
+2011-09-01  Tim Horton  <[email protected]>
+
+        REGRESSION: Rendering artifacts on a rotated, pattern filled shape
+        https://bugs.webkit.org/show_bug.cgi?id=53055
+        <rdar://problem/8910917>
+
+        Reviewed by Simon Fraser.
+
+        Introduce wkCGPatternCreateWithImageAndTransform.
+
+        * WebCore.exp.in:
+        * platform/mac/WebCoreSystemInterface.h:
+        * platform/mac/WebCoreSystemInterface.mm:
+
 2011-08-30  Adrienne Walker  <[email protected]>
 
         [chromium] Fix scissor rects on clipped nested iframes

Modified: trunk/Source/WebCore/WebCore.exp.in (94316 => 94317)


--- trunk/Source/WebCore/WebCore.exp.in	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/Source/WebCore/WebCore.exp.in	2011-09-01 18:03:39 UTC (rev 94317)
@@ -1362,6 +1362,7 @@
 _suggestedFilenameWithMIMEType
 _wkAdvanceDefaultButtonPulseAnimation
 _wkCGContextGetShouldSmoothFonts
+_wkCGPatternCreateWithImageAndTransform
 _wkCopyCFLocalizationPreferredName
 _wkCopyCFURLResponseSuggestedFilename
 _wkCopyCONNECTProxyResponse

Modified: trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h (94316 => 94317)


--- trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h	2011-09-01 18:03:39 UTC (rev 94317)
@@ -40,6 +40,7 @@
 typedef struct CGColor *CGColorRef;
 typedef struct CGFont *CGFontRef;
 typedef struct CGColorSpace *CGColorSpaceRef;
+typedef struct CGPattern *CGPatternRef;
 typedef unsigned short CGGlyph;
 typedef struct __CFReadStream * CFReadStreamRef;
 typedef struct __CFRunLoop * CFRunLoopRef;
@@ -133,6 +134,12 @@
 
 extern void (*wkAdvanceDefaultButtonPulseAnimation)(NSButtonCell *);
 extern BOOL (*wkCGContextGetShouldSmoothFonts)(CGContextRef);
+typedef enum {
+    wkPatternTilingNoDistortion,
+    wkPatternTilingConstantSpacingMinimalDistortion,
+    wkPatternTilingConstantSpacing
+} wkPatternTiling;
+extern CGPatternRef (*wkCGPatternCreateWithImageAndTransform)(CGImageRef, CGAffineTransform, int);
 extern CFReadStreamRef (*wkCreateCustomCFReadStream)(void *(*formCreate)(CFReadStreamRef, void *), 
     void (*formFinalize)(CFReadStreamRef, void *), 
     Boolean (*formOpen)(CFReadStreamRef, CFStreamError *, Boolean *, void *), 

Modified: trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm (94316 => 94317)


--- trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm	2011-09-01 18:03:39 UTC (rev 94317)
@@ -29,6 +29,7 @@
 
 void (*wkAdvanceDefaultButtonPulseAnimation)(NSButtonCell *);
 BOOL (*wkCGContextGetShouldSmoothFonts)(CGContextRef);
+CGPatternRef (*wkCGPatternCreateWithImageAndTransform)(CGImageRef, CGAffineTransform, int);
 CFStringRef (*wkCopyCFLocalizationPreferredName)(CFStringRef);
 NSString* (*wkCopyNSURLResponseStatusLine)(NSURLResponse*);
 NSString* (*wkCreateURLPasteboardFlavorTypeName)(void);

Modified: trunk/Source/WebKit/mac/ChangeLog (94316 => 94317)


--- trunk/Source/WebKit/mac/ChangeLog	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/Source/WebKit/mac/ChangeLog	2011-09-01 18:03:39 UTC (rev 94317)
@@ -1,3 +1,16 @@
+2011-09-01  Tim Horton  <[email protected]>
+
+        REGRESSION: Rendering artifacts on a rotated, pattern filled shape
+        https://bugs.webkit.org/show_bug.cgi?id=53055
+        <rdar://problem/8910917>
+
+        Reviewed by Simon Fraser.
+
+        Introduce wkCGPatternCreateWithImageAndTransform.
+
+        * WebCoreSupport/WebSystemInterface.mm:
+        (InitWebCoreSystemInterface):
+
 2011-08-31  Beth Dakin  <[email protected]>
 
         https://bugs.webkit.org/show_bug.cgi?id=67322

Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm (94316 => 94317)


--- trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm	2011-09-01 18:03:39 UTC (rev 94317)
@@ -44,6 +44,7 @@
 
     INIT(AdvanceDefaultButtonPulseAnimation);
     INIT(CGContextGetShouldSmoothFonts);
+    INIT(CGPatternCreateWithImageAndTransform);
     INIT(CopyCFLocalizationPreferredName);
     INIT(CopyCONNECTProxyResponse);
     INIT(CopyNSURLResponseStatusLine);

Modified: trunk/Source/WebKit2/ChangeLog (94316 => 94317)


--- trunk/Source/WebKit2/ChangeLog	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/Source/WebKit2/ChangeLog	2011-09-01 18:03:39 UTC (rev 94317)
@@ -1,3 +1,16 @@
+2011-09-01  Tim Horton  <[email protected]>
+
+        REGRESSION: Rendering artifacts on a rotated, pattern filled shape
+        https://bugs.webkit.org/show_bug.cgi?id=53055
+        <rdar://problem/8910917>
+
+        Reviewed by Simon Fraser.
+
+        Introduce wkCGPatternCreateWithImageAndTransform.
+
+        * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+        (InitWebCoreSystemInterface):
+
 2011-09-01  Gopal Raghavan  <[email protected]>
 
         [Qt] TouchWebView crashes with segmentation fault

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm (94316 => 94317)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm	2011-09-01 18:03:39 UTC (rev 94317)
@@ -39,6 +39,7 @@
         INIT(AdvanceDefaultButtonPulseAnimation);
         INIT(CopyCFLocalizationPreferredName);
         INIT(CGContextGetShouldSmoothFonts);
+        INIT(CGPatternCreateWithImageAndTransform);
         INIT(CopyCONNECTProxyResponse);
         INIT(CopyNSURLResponseStatusLine);
         INIT(CreateCTLineWithUniCharProvider);

Modified: trunk/WebKitLibraries/ChangeLog (94316 => 94317)


--- trunk/WebKitLibraries/ChangeLog	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/WebKitLibraries/ChangeLog	2011-09-01 18:03:39 UTC (rev 94317)
@@ -1,3 +1,20 @@
+2011-09-01  Tim Horton  <[email protected]>
+
+        REGRESSION: Rendering artifacts on a rotated, pattern filled shape
+        https://bugs.webkit.org/show_bug.cgi?id=53055
+        <rdar://problem/8910917>
+
+        Reviewed by Simon Fraser.
+
+        Introduce wkCGPatternCreateWithImageAndTransform.
+
+        * WebKitSystemInterface.h:
+        * libWebKitSystemInterfaceLeopard.a:
+        * libWebKitSystemInterfaceLion.a:
+        * libWebKitSystemInterfaceSnowLeopard.a:
+        * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
+        * win/lib/WebKitSystemInterface.lib:
+
 2011-08-30  Aaron Colwell  <[email protected]>
 
         Add MediaSource API to HTMLMediaElement

Modified: trunk/WebKitLibraries/WebKitSystemInterface.h (94316 => 94317)


--- trunk/WebKitLibraries/WebKitSystemInterface.h	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/WebKitLibraries/WebKitSystemInterface.h	2011-09-01 18:03:39 UTC (rev 94317)
@@ -163,6 +163,14 @@
 CGImageRef WKIOSurfaceContextCreateImage(CGContextRef context);
 #endif
 
+typedef enum {
+    WKPatternTilingNoDistortion,
+    WKPatternTilingConstantSpacingMinimalDistortion,
+    WKPatternTilingConstantSpacing
+} WKPatternTiling;
+
+CGPatternRef WKCGPatternCreateWithImageAndTransform(CGImageRef image, CGAffineTransform transform, int tiling);
+
 #ifndef __LP64__
 NSEvent *WKCreateNSEventWithCarbonEvent(EventRef eventRef);
 NSEvent *WKCreateNSEventWithCarbonMouseMoveEvent(EventRef inEvent, NSWindow *window);

Modified: trunk/WebKitLibraries/libWebKitSystemInterfaceLeopard.a


(Binary files differ)

Modified: trunk/WebKitLibraries/libWebKitSystemInterfaceLion.a


(Binary files differ)

Modified: trunk/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a


(Binary files differ)

Modified: trunk/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h (94316 => 94317)


--- trunk/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h	2011-09-01 18:01:25 UTC (rev 94316)
+++ trunk/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h	2011-09-01 18:03:39 UTC (rev 94317)
@@ -44,6 +44,8 @@
 typedef unsigned short CGFontIndex;
 typedef struct CGFont* CGFontRef;
 typedef CGFontIndex CGGlyph;
+typedef struct CGImage* CGImageRef;
+typedef struct CGPattern* CGPatternRef;
 typedef wchar_t UChar;
 typedef struct _CFURLResponse* CFURLResponseRef;
 typedef struct OpaqueCFHTTPCookieStorage*  CFHTTPCookieStorageRef;
@@ -183,6 +185,14 @@
 const CGRect* wkCACFUpdateRectEnumeratorNextRect(WKCACFUpdateRectEnumerator*);
 void wkCACFUpdateRectEnumeratorRelease(WKCACFUpdateRectEnumerator*);
 
+typedef enum {
+    wkPatternTilingNoDistortion,
+    wkPatternTilingConstantSpacingMinimalDistortion,
+    wkPatternTilingConstantSpacing
+} wkPatternTiling;
+
+CGPatternRef wkCGPatternCreateWithImageAndTransform(CGImageRef image, CGAffineTransform transform, int tiling);
+
 CFDictionaryRef wkCFURLRequestCreateSerializableRepresentation(CFURLRequestRef cfRequest, CFTypeRef tokenNull);
 CFURLRequestRef wkCFURLRequestCreateFromSerializableRepresentation(CFDictionaryRef representation, CFTypeRef tokenNull);
 CFDictionaryRef wkCFURLResponseCreateSerializableRepresentation(CFURLResponseRef cfResponse, CFTypeRef tokenNull);

Modified: trunk/WebKitLibraries/win/lib/WebKitSystemInterface.lib


(Binary files differ)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to