Title: [104868] branches/safari-534.54-branch

Diff

Modified: branches/safari-534.54-branch/Source/WebCore/ChangeLog (104867 => 104868)


--- branches/safari-534.54-branch/Source/WebCore/ChangeLog	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/Source/WebCore/ChangeLog	2012-01-12 23:43:55 UTC (rev 104868)
@@ -1,3 +1,21 @@
+2011-1-12  Lucas Forschler  <lforsch...@apple.com>
+
+    Merge 94317
+
+    2011-09-01  Tim Horton  <timothy_hor...@apple.com>
+
+            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-1-11  Lucas Forschler  <lforsch...@apple.com>
 
     Merge 91777

Modified: branches/safari-534.54-branch/Source/WebCore/WebCore.exp.in (104867 => 104868)


--- branches/safari-534.54-branch/Source/WebCore/WebCore.exp.in	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/Source/WebCore/WebCore.exp.in	2012-01-12 23:43:55 UTC (rev 104868)
@@ -1377,6 +1377,7 @@
 _suggestedFilenameWithMIMEType
 _wkAdvanceDefaultButtonPulseAnimation
 _wkCGContextGetShouldSmoothFonts
+_wkCGPatternCreateWithImageAndTransform
 _wkCopyCFLocalizationPreferredName
 _wkCopyCFURLResponseSuggestedFilename
 _wkCopyCONNECTProxyResponse

Modified: branches/safari-534.54-branch/Source/WebCore/platform/mac/WebCoreSystemInterface.h (104867 => 104868)


--- branches/safari-534.54-branch/Source/WebCore/platform/mac/WebCoreSystemInterface.h	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/Source/WebCore/platform/mac/WebCoreSystemInterface.h	2012-01-12 23:43:55 UTC (rev 104868)
@@ -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;
@@ -119,6 +120,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: branches/safari-534.54-branch/Source/WebCore/platform/mac/WebCoreSystemInterface.mm (104867 => 104868)


--- branches/safari-534.54-branch/Source/WebCore/platform/mac/WebCoreSystemInterface.mm	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/Source/WebCore/platform/mac/WebCoreSystemInterface.mm	2012-01-12 23:43:55 UTC (rev 104868)
@@ -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: branches/safari-534.54-branch/Source/WebKit/mac/ChangeLog (104867 => 104868)


--- branches/safari-534.54-branch/Source/WebKit/mac/ChangeLog	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/Source/WebKit/mac/ChangeLog	2012-01-12 23:43:55 UTC (rev 104868)
@@ -1,3 +1,20 @@
+2011-1-12  Lucas Forschler  <lforsch...@apple.com>
+
+    Merge 94317
+
+    2011-09-01  Tim Horton  <timothy_hor...@apple.com>
+
+            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-1-11  Lucas Forschler  <lforsch...@apple.com>
 
     Merge 91777

Modified: branches/safari-534.54-branch/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm (104867 => 104868)


--- branches/safari-534.54-branch/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm	2012-01-12 23:43:55 UTC (rev 104868)
@@ -44,6 +44,7 @@
 
     INIT(AdvanceDefaultButtonPulseAnimation);
     INIT(CGContextGetShouldSmoothFonts);
+    INIT(CGPatternCreateWithImageAndTransform);
     INIT(CopyCFLocalizationPreferredName);
     INIT(CopyCONNECTProxyResponse);
     INIT(CopyNSURLResponseStatusLine);

Modified: branches/safari-534.54-branch/Source/WebKit2/ChangeLog (104867 => 104868)


--- branches/safari-534.54-branch/Source/WebKit2/ChangeLog	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/Source/WebKit2/ChangeLog	2012-01-12 23:43:55 UTC (rev 104868)
@@ -1,3 +1,20 @@
+2011-1-12  Lucas Forschler  <lforsch...@apple.com>
+
+    Merge 94317
+
+    2011-09-01  Tim Horton  <timothy_hor...@apple.com>
+
+            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-1-11  Lucas Forschler  <lforsch...@apple.com>
 
     Merge 91777

Modified: branches/safari-534.54-branch/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm (104867 => 104868)


--- branches/safari-534.54-branch/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm	2012-01-12 23:43:55 UTC (rev 104868)
@@ -39,6 +39,7 @@
         INIT(AdvanceDefaultButtonPulseAnimation);
         INIT(CopyCFLocalizationPreferredName);
         INIT(CGContextGetShouldSmoothFonts);
+        INIT(CGPatternCreateWithImageAndTransform);
         INIT(CopyCONNECTProxyResponse);
         INIT(CopyNSURLResponseStatusLine);
         INIT(CreateCTLineWithUniCharProvider);

Modified: branches/safari-534.54-branch/WebKitLibraries/ChangeLog (104867 => 104868)


--- branches/safari-534.54-branch/WebKitLibraries/ChangeLog	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/WebKitLibraries/ChangeLog	2012-01-12 23:43:55 UTC (rev 104868)
@@ -1,3 +1,24 @@
+2011-1-12  Lucas Forschler  <lforsch...@apple.com>
+
+    Merge 94317
+
+    2011-09-01  Tim Horton  <timothy_hor...@apple.com>
+
+            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-12-20  Lucas Forschler  <lforsch...@apple.com>
 
     Merge 88316

Modified: branches/safari-534.54-branch/WebKitLibraries/WebKitSystemInterface.h (104867 => 104868)


--- branches/safari-534.54-branch/WebKitLibraries/WebKitSystemInterface.h	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/WebKitLibraries/WebKitSystemInterface.h	2012-01-12 23:43:55 UTC (rev 104868)
@@ -157,6 +157,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: branches/safari-534.54-branch/WebKitLibraries/libWebKitSystemInterfaceLeopard.a


(Binary files differ)

Added: branches/safari-534.54-branch/WebKitLibraries/libWebKitSystemInterfaceLion.a


(Binary files differ)
Property changes on: branches/safari-534.54-branch/WebKitLibraries/libWebKitSystemInterfaceLion.a ___________________________________________________________________

Added: svn:mime-type

Modified: branches/safari-534.54-branch/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a


(Binary files differ)

Modified: branches/safari-534.54-branch/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h (104867 => 104868)


--- branches/safari-534.54-branch/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h	2012-01-12 23:34:11 UTC (rev 104867)
+++ branches/safari-534.54-branch/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h	2012-01-12 23:43:55 UTC (rev 104868)
@@ -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: branches/safari-534.54-branch/WebKitLibraries/win/lib/WebKitSystemInterface.lib


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

Reply via email to