Changeset 195979 in webkit
- Timestamp:
- Feb 1, 2016, 2:07:06 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cocoa/IOSurface.mm (modified) (2 diffs)
-
platform/spi/cg/CoreGraphicsSPI.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r195975 r195979 1 2016-02-01 Tim Horton <timothy_horton@apple.com> 2 3 Move some SPI declarations into the appropriate SPI header 4 https://bugs.webkit.org/show_bug.cgi?id=153755 5 6 Reviewed by Darin Adler. 7 8 * platform/graphics/cocoa/IOSurface.mm: 9 * platform/spi/cg/CoreGraphicsSPI.h: 10 1 11 2016-02-01 Tim Horton <timothy_horton@apple.com> 2 12 -
trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm
r195975 r195979 29 29 #if USE(IOSURFACE) 30 30 31 #import "CoreGraphicsSPI.h" 31 32 #import "GraphicsContextCG.h" 32 33 #import "IOSurfacePool.h" … … 36 37 #import "MachSendRight.h" 37 38 #import <wtf/Assertions.h> 38 39 extern "C" {40 CGContextRef CGIOSurfaceContextCreate(IOSurfaceRef, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo);41 CGImageRef CGIOSurfaceContextCreateImage(CGContextRef);42 CGImageRef CGIOSurfaceContextCreateImageReference(CGContextRef);43 }44 39 45 40 #if PLATFORM(IOS) -
trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h
r191634 r195979 30 30 #include <CoreGraphics/CoreGraphics.h> 31 31 32 #if USE(IOSURFACE) 33 #include "IOSurfaceSPI.h" 34 #endif 35 32 36 #if USE(APPLE_INTERNAL_SDK) 33 37 … … 36 40 37 41 #else 42 38 43 struct CGFontHMetrics { 39 44 int ascent; … … 166 171 void CGContextSetFontAntialiasingStyle(CGContextRef, CGFontAntialiasingStyle); 167 172 173 #if USE(IOSURFACE) 174 CGContextRef CGIOSurfaceContextCreate(IOSurfaceRef, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo); 175 CGImageRef CGIOSurfaceContextCreateImage(CGContextRef); 176 CGImageRef CGIOSurfaceContextCreateImageReference(CGContextRef); 177 #endif 178 168 179 #if PLATFORM(COCOA) 169 180 CGSRegionEnumeratorObj CGSRegionEnumerator(CGRegionRef);
Note:
See TracChangeset
for help on using the changeset viewer.