Changeset 84101 in webkit
- Timestamp:
- Apr 17, 2011 3:04:48 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 102 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r84088 r84101 1 2011-04-17 Patrick Gansterer <paroga@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Rename PLATFORM(CG) to USE(CG) 6 https://bugs.webkit.org/show_bug.cgi?id=58729 7 8 * wtf/Platform.h: 9 1 10 2011-04-16 Patrick Gansterer <paroga@webkit.org> 2 11 -
trunk/Source/JavaScriptCore/wtf/Platform.h
r84088 r84101 540 540 /* Graphics engines */ 541 541 542 /* PLATFORM(CG) and PLATFORM(CI) */542 /* USE(CG) and PLATFORM(CI) */ 543 543 #if PLATFORM(MAC) || PLATFORM(IOS) 544 #define WTF_ PLATFORM_CG 1545 #endif 546 #if PLATFORM(MAC) || PLATFORM(IOS) || (PLATFORM(WIN) && PLATFORM(CG))544 #define WTF_USE_CG 1 545 #endif 546 #if PLATFORM(MAC) || PLATFORM(IOS) || (PLATFORM(WIN) && USE(CG)) 547 547 #define WTF_PLATFORM_CA 1 548 548 #endif … … 551 551 #if PLATFORM(CHROMIUM) 552 552 #if OS(DARWIN) 553 #define WTF_ PLATFORM_CG 1553 #define WTF_USE_CG 1 554 554 #define WTF_USE_ATSUI 1 555 555 #define WTF_USE_CORE_TEXT 1 -
trunk/Source/WebCore/ChangeLog
r84099 r84101 1 2011-04-17 Patrick Gansterer <paroga@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Rename PLATFORM(CG) to USE(CG) 6 https://bugs.webkit.org/show_bug.cgi?id=58729 7 8 * config.h: 9 * html/HTMLCanvasElement.cpp: 10 (WebCore::HTMLCanvasElement::toDataURL): 11 * html/HTMLCanvasElement.h: 12 * html/canvas/CanvasRenderingContext2D.cpp: 13 (WebCore::CanvasRenderingContext2D::setShadow): 14 (WebCore::CanvasRenderingContext2D::drawTextInternal): 15 * html/canvas/CanvasRenderingContext2D.h: 16 * html/canvas/CanvasStyle.cpp: 17 (WebCore::CanvasStyle::applyStrokeColor): 18 (WebCore::CanvasStyle::applyFillColor): 19 * loader/cache/CachedFont.cpp: 20 * loader/cache/CachedImage.cpp: 21 (WebCore::CachedImage::createImage): 22 * platform/FloatConversion.h: 23 * platform/MIMETypeRegistry.cpp: 24 (WebCore::initializeSupportedImageMIMETypes): 25 (WebCore::initializeSupportedImageMIMETypesForEncoding): 26 * platform/graphics/BitmapImage.h: 27 * platform/graphics/Color.h: 28 * platform/graphics/DashArray.h: 29 * platform/graphics/FloatPoint.h: 30 * platform/graphics/FloatRect.h: 31 * platform/graphics/FloatSize.h: 32 * platform/graphics/FontPlatformData.h: 33 (WebCore::FontPlatformData::FontPlatformData): 34 (WebCore::FontPlatformData::hash): 35 * platform/graphics/GlyphBuffer.h: 36 (WebCore::GlyphBuffer::advanceAt): 37 (WebCore::GlyphBuffer::add): 38 (WebCore::GlyphBuffer::expandLastAdvance): 39 * platform/graphics/Gradient.h: 40 * platform/graphics/GraphicsContext.cpp: 41 (WebCore::GraphicsContext::setLegacyShadow): 42 * platform/graphics/GraphicsContext.h: 43 (WebCore::GraphicsContextState::GraphicsContextState): 44 * platform/graphics/GraphicsContext3D.h: 45 * platform/graphics/Image.cpp: 46 * platform/graphics/Image.h: 47 * platform/graphics/ImageBuffer.cpp: 48 * platform/graphics/ImageBuffer.h: 49 * platform/graphics/ImageBufferData.h: 50 * platform/graphics/ImageSource.h: 51 * platform/graphics/IntPoint.h: 52 * platform/graphics/IntRect.h: 53 * platform/graphics/IntSize.h: 54 * platform/graphics/Path.h: 55 * platform/graphics/Pattern.h: 56 * platform/graphics/SimpleFontData.h: 57 * platform/graphics/cg/ColorCG.cpp: 58 * platform/graphics/cg/FloatPointCG.cpp: 59 * platform/graphics/cg/FloatRectCG.cpp: 60 * platform/graphics/cg/FloatSizeCG.cpp: 61 * platform/graphics/cg/ImageCG.cpp: 62 * platform/graphics/cg/ImageSourceCG.cpp: 63 * platform/graphics/cg/IntPointCG.cpp: 64 * platform/graphics/cg/IntRectCG.cpp: 65 * platform/graphics/cg/IntSizeCG.cpp: 66 * platform/graphics/cg/PDFDocumentImage.cpp: 67 * platform/graphics/cg/PDFDocumentImage.h: 68 * platform/graphics/cg/PathCG.cpp: 69 * platform/graphics/cg/TransformationMatrixCG.cpp: 70 * platform/graphics/chromium/ImageLayerChromium.h: 71 * platform/graphics/chromium/LayerRendererChromium.cpp: 72 * platform/graphics/chromium/LayerRendererChromium.h: 73 * platform/graphics/chromium/PlatformCanvas.cpp: 74 (WebCore::PlatformCanvas::resize): 75 (WebCore::PlatformCanvas::AutoLocker::AutoLocker): 76 (WebCore::PlatformCanvas::Painter::Painter): 77 * platform/graphics/chromium/PlatformCanvas.h: 78 * platform/graphics/chromium/PlatformImage.cpp: 79 (WebCore::PlatformImage::updateFromImage): 80 * platform/graphics/opentype/OpenTypeUtilities.cpp: 81 * platform/graphics/transforms/AffineTransform.h: 82 * platform/graphics/transforms/TransformationMatrix.h: 83 * platform/graphics/win/DIBPixelData.h: 84 * platform/graphics/win/FontCacheWin.cpp: 85 (WebCore::FontCache::platformInit): 86 (WebCore::createGDIFont): 87 (WebCore::FontCache::createFontPlatformData): 88 * platform/graphics/win/FontPlatformDataWin.cpp: 89 (WebCore::FontPlatformData::FontPlatformData): 90 * platform/graphics/win/GraphicsContextWin.cpp: 91 * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp: 92 * platform/graphics/win/SimpleFontDataWin.cpp: 93 * platform/image-decoders/ImageDecoder.cpp: 94 * platform/image-decoders/ImageDecoder.h: 95 * rendering/RenderObject.h: 96 * rendering/svg/RenderSVGResourceFilter.cpp: 97 (WebCore::RenderSVGResourceFilter::postApplyResource): 98 * rendering/svg/RenderSVGResourceGradient.cpp: 99 (WebCore::RenderSVGResourceGradient::RenderSVGResourceGradient): 100 (WebCore::RenderSVGResourceGradient::applyResource): 101 * rendering/svg/RenderSVGResourceGradient.h: 102 * rendering/svg/RenderSVGResourceMasker.cpp: 103 (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage): 104 * rendering/svg/RenderSVGResourcePattern.cpp: 105 (WebCore::RenderSVGResourcePattern::applyResource): 106 1 107 2011-04-16 Adam Barth <abarth@webkit.org> 2 108 -
trunk/Source/WebCore/config.h
r84088 r84101 178 178 #if PLATFORM(WIN) 179 179 #if defined(WIN_CAIRO) 180 #undef WTF_ PLATFORM_CG180 #undef WTF_USE_CG 181 181 #define WTF_USE_CAIRO 1 182 182 #define WTF_USE_CURL 1 … … 185 185 #endif 186 186 #elif !OS(WINCE) 187 #define WTF_ PLATFORM_CG 1187 #define WTF_USE_CG 1 188 188 #undef WTF_USE_CAIRO 189 189 #undef WTF_USE_CURL … … 228 228 #endif 229 229 230 #if PLATFORM(CG)230 #if USE(CG) 231 231 #ifndef CGFLOAT_DEFINED 232 232 #ifdef __LP64__ … … 237 237 #define CGFLOAT_DEFINED 1 238 238 #endif 239 #endif /* PLATFORM(CG) */239 #endif /* USE(CG) */ 240 240 241 241 #ifdef BUILDING_ON_TIGER … … 244 244 #endif 245 245 246 #if PLATFORM(WIN) && PLATFORM(CG)246 #if PLATFORM(WIN) && USE(CG) 247 247 #define WTF_USE_SAFARI_THEME 1 248 248 #endif 249 249 250 250 // CoreAnimation is available to IOS, Mac and Windows if using CG 251 #if PLATFORM(MAC) || PLATFORM(IOS) || (PLATFORM(WIN) && PLATFORM(CG))251 #if PLATFORM(MAC) || PLATFORM(IOS) || (PLATFORM(WIN) && USE(CG)) 252 252 #define WTF_PLATFORM_CA 1 253 253 #endif -
trunk/Source/WebCore/html/HTMLCanvasElement.cpp
r83990 r84101 343 343 lowercaseMimeType = "image/png"; 344 344 345 #if PLATFORM(CG) || USE(SKIA)345 #if USE(CG) || USE(SKIA) 346 346 // Try to get ImageData first, as that may avoid lossy conversions. 347 347 RefPtr<ImageData> imageData = getImageData(); -
trunk/Source/WebCore/html/HTMLCanvasElement.h
r83396 r84101 35 35 #if PLATFORM(CHROMIUM) || PLATFORM(QT) 36 36 #define DefaultInterpolationQuality InterpolationMedium 37 #elif PLATFORM(CG)37 #elif USE(CG) 38 38 #define DefaultInterpolationQuality InterpolationLow 39 39 #else -
trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
r83888 r84101 1047 1047 } 1048 1048 1049 #if PLATFORM(CG)1049 #if USE(CG) 1050 1050 static inline CGSize adjustedShadowSize(CGFloat width, CGFloat height) 1051 1051 { … … 1151 1151 if (!dc) 1152 1152 return; 1153 #if PLATFORM(CG)1153 #if USE(CG) 1154 1154 const CGFloat components[5] = { c, m, y, k, a }; 1155 1155 CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceCMYK(); … … 1892 1892 textRect.inflate(c->strokeThickness() / 2); 1893 1893 1894 #if PLATFORM(CG)1894 #if USE(CG) 1895 1895 CanvasStyle* drawStyle = fill ? state().m_fillStyle.get() : state().m_strokeStyle.get(); 1896 1896 if (drawStyle->canvasGradient() || drawStyle->canvasPattern()) { -
trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.h
r83888 r84101 38 38 #include <wtf/Vector.h> 39 39 40 #if PLATFORM(CG)40 #if USE(CG) 41 41 #include <ApplicationServices/ApplicationServices.h> 42 42 #endif -
trunk/Source/WebCore/html/canvas/CanvasStyle.cpp
r78442 r84101 39 39 #include <wtf/PassRefPtr.h> 40 40 41 #if PLATFORM(CG)41 #if USE(CG) 42 42 #include <CoreGraphics/CGContext.h> 43 43 #endif … … 239 239 // FIXME: Do this through platform-independent GraphicsContext API. 240 240 // We'll need a fancier Color abstraction to support CMYKA correctly 241 #if PLATFORM(CG)241 #if USE(CG) 242 242 CGContextSetCMYKStrokeColor(context->platformContext(), m_cmyka.c, m_cmyka.m, m_cmyka.y, m_cmyka.k, m_cmyka.a); 243 243 #elif PLATFORM(QT) … … 276 276 // FIXME: Do this through platform-independent GraphicsContext API. 277 277 // We'll need a fancier Color abstraction to support CMYKA correctly 278 #if PLATFORM(CG)278 #if USE(CG) 279 279 CGContextSetCMYKFillColor(context->platformContext(), m_cmyka.c, m_cmyka.m, m_cmyka.y, m_cmyka.k, m_cmyka.a); 280 280 #elif PLATFORM(QT) -
trunk/Source/WebCore/loader/cache/CachedFont.cpp
r83896 r84101 29 29 30 30 // FIXME: This should really be a blacklist instead of a whitelist 31 #if PLATFORM(CG) || PLATFORM(QT) || PLATFORM(GTK) || (PLATFORM(CHROMIUM) && (OS(WINDOWS) || OS(LINUX) || OS(FREEBSD) || USE(SKIA_MAC_ON_CHROME))) || PLATFORM(HAIKU) || OS(WINCE) || PLATFORM(ANDROID) || PLATFORM(BREWMP)31 #if USE(CG) || PLATFORM(QT) || PLATFORM(GTK) || (PLATFORM(CHROMIUM) && (OS(WINDOWS) || OS(LINUX) || OS(FREEBSD) || USE(SKIA_MAC_ON_CHROME))) || PLATFORM(HAIKU) || OS(WINCE) || PLATFORM(ANDROID) || PLATFORM(BREWMP) 32 32 #define STORE_FONT_CUSTOM_PLATFORM_DATA 33 33 #endif -
trunk/Source/WebCore/loader/cache/CachedImage.cpp
r82217 r84101 41 41 #include <wtf/Vector.h> 42 42 43 #if PLATFORM(CG)43 #if USE(CG) 44 44 #include "PDFDocumentImage.h" 45 45 #endif … … 241 241 if (m_image) 242 242 return; 243 #if PLATFORM(CG) && !USE(WEBKIT_IMAGE_DECODERS)243 #if USE(CG) && !USE(WEBKIT_IMAGE_DECODERS) 244 244 if (m_response.mimeType() == "application/pdf") { 245 245 m_image = PDFDocumentImage::create(); -
trunk/Source/WebCore/platform/FloatConversion.h
r55633 r84101 30 30 #define FloatConversion_h 31 31 32 #if PLATFORM(CG)32 #if USE(CG) 33 33 #include <CoreGraphics/CGBase.h> 34 34 #endif … … 45 45 } 46 46 47 #if PLATFORM(CG)47 #if USE(CG) 48 48 template<typename T> 49 49 CGFloat narrowPrecisionToCGFloat(T); -
trunk/Source/WebCore/platform/MIMETypeRegistry.cpp
r84088 r84101 34 34 #include <wtf/text/StringHash.h> 35 35 36 #if PLATFORM(CG)36 #if USE(CG) 37 37 #include "ImageSourceCG.h" 38 38 #include <ApplicationServices/ApplicationServices.h> … … 62 62 static void initializeSupportedImageMIMETypes() 63 63 { 64 #if PLATFORM(CG)64 #if USE(CG) 65 65 RetainPtr<CFArrayRef> supportedTypes(AdoptCF, CGImageSourceCopyTypeIdentifiers()); 66 66 CFIndex count = CFArrayGetCount(supportedTypes.get()); … … 135 135 supportedImageMIMETypesForEncoding = new HashSet<String>; 136 136 137 #if PLATFORM(CG)137 #if USE(CG) 138 138 #if PLATFORM(MAC) 139 139 RetainPtr<CFArrayRef> supportedTypes(AdoptCF, CGImageDestinationCopyTypeIdentifiers()); -
trunk/Source/WebCore/platform/graphics/BitmapImage.h
r83637 r84101 140 140 #endif 141 141 142 #if PLATFORM(CG)142 #if USE(CG) 143 143 virtual CGImageRef getCGImageRef(); 144 144 virtual CGImageRef getFirstCGImageRefOfSize(const IntSize&); -
trunk/Source/WebCore/platform/graphics/Color.h
r78590 r84101 31 31 #include <wtf/unicode/Unicode.h> 32 32 33 #if PLATFORM(CG)33 #if USE(CG) 34 34 #include "ColorSpace.h" 35 35 typedef struct CGColor* CGColorRef; … … 144 144 #endif 145 145 146 #if PLATFORM(CG)146 #if USE(CG) 147 147 Color(CGColorRef); 148 148 #endif … … 181 181 unsigned premultipliedARGBFromColor(const Color&); 182 182 183 #if PLATFORM(CG)183 #if USE(CG) 184 184 CGColorRef cachedCGColor(const Color&, ColorSpace); 185 185 #endif -
trunk/Source/WebCore/platform/graphics/DashArray.h
r84088 r84101 29 29 #include <wtf/Vector.h> 30 30 31 #if PLATFORM(CG)31 #if USE(CG) 32 32 typedef Vector<CGFloat> DashArray; 33 33 #elif USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/FloatPoint.h
r83818 r84101 32 32 #include <wtf/MathExtras.h> 33 33 34 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)34 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 35 35 typedef struct CGPoint CGPoint; 36 36 #endif … … 110 110 } 111 111 112 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)112 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 113 113 FloatPoint(const CGPoint&); 114 114 operator CGPoint() const; -
trunk/Source/WebCore/platform/graphics/FloatRect.h
r84088 r84101 30 30 #include "FloatPoint.h" 31 31 32 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)32 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 33 33 typedef struct CGRect CGRect; 34 34 #endif … … 138 138 void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3); 139 139 140 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)140 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 141 141 FloatRect(const CGRect&); 142 142 operator CGRect() const; -
trunk/Source/WebCore/platform/graphics/FloatSize.h
r83818 r84101 32 32 #include <wtf/MathExtras.h> 33 33 34 #if PLATFORM(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME)34 #if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME) 35 35 typedef struct CGSize CGSize; 36 36 #endif … … 90 90 } 91 91 92 #if PLATFORM(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME)92 #if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME) 93 93 explicit FloatSize(const CGSize&); // don't do this implicitly since it's lossy 94 94 operator CGSize() const; -
trunk/Source/WebCore/platform/graphics/FontPlatformData.h
r84088 r84101 85 85 #endif 86 86 87 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)87 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 88 88 typedef struct CGFont* CGFontRef; 89 89 #if OS(DARWIN) … … 118 118 , m_font(hashTableDeletedFontValue()) 119 119 #endif 120 #if PLATFORM(CG) && (defined(BUILDING_ON_TIGER) || PLATFORM(WIN))120 #if USE(CG) && (defined(BUILDING_ON_TIGER) || PLATFORM(WIN)) 121 121 , m_cgFont(0) 122 122 #elif USE(CAIRO) … … 140 140 , m_font(0) 141 141 #endif 142 #if PLATFORM(CG) && (defined(BUILDING_ON_TIGER) || PLATFORM(WIN))142 #if USE(CG) && (defined(BUILDING_ON_TIGER) || PLATFORM(WIN)) 143 143 , m_cgFont(0) 144 144 #elif USE(CAIRO) … … 165 165 , m_font(0) 166 166 #endif 167 #if PLATFORM(CG) && (defined(BUILDING_ON_TIGER) || PLATFORM(WIN))167 #if USE(CG) && (defined(BUILDING_ON_TIGER) || PLATFORM(WIN)) 168 168 , m_cgFont(0) 169 169 #elif USE(CAIRO) … … 180 180 FontPlatformData(NSFont*, float size, bool syntheticBold = false, bool syntheticOblique = false, FontOrientation = Horizontal, 181 181 TextOrientation = TextOrientationVerticalRight, FontWidthVariant = RegularWidth); 182 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)182 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 183 183 FontPlatformData(CGFontRef cgFont, float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, 184 184 TextOrientation textOrientation, FontWidthVariant widthVariant) … … 198 198 #if PLATFORM(WIN) 199 199 FontPlatformData(HFONT, float size, bool syntheticBold, bool syntheticOblique, bool useGDI); 200 #if PLATFORM(CG)200 #if USE(CG) 201 201 FontPlatformData(HFONT, CGFontRef, float size, bool syntheticBold, bool syntheticOblique, bool useGDI); 202 202 #endif … … 216 216 #endif 217 217 218 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)218 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 219 219 #if OS(DARWIN) 220 220 #ifndef BUILDING_ON_TIGER … … 253 253 return m_font ? m_font->hash() : 0; 254 254 #elif OS(DARWIN) 255 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)255 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 256 256 ASSERT(m_font || !m_cgFont); 257 257 #endif … … 329 329 #endif 330 330 331 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)331 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 332 332 #if PLATFORM(WIN) 333 333 RetainPtr<CGFontRef> m_cgFont; -
trunk/Source/WebCore/platform/graphics/GlyphBuffer.h
r84088 r84101 35 35 #include <wtf/Vector.h> 36 36 37 #if PLATFORM(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME)37 #if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME) 38 38 #include <ApplicationServices/ApplicationServices.h> 39 39 #endif … … 59 59 // CG uses CGSize instead of FloatSize so that the result of advances() 60 60 // can be passed directly to CGContextShowGlyphsWithAdvances in FontMac.mm 61 #if PLATFORM(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME)61 #if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME) 62 62 typedef CGSize GlyphBufferAdvance; 63 63 #elif OS(WINCE) … … 123 123 float advanceAt(int index) const 124 124 { 125 #if PLATFORM(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME)125 #if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME) 126 126 return m_advances[index].width; 127 127 #elif OS(WINCE) … … 154 154 #endif 155 155 156 #if PLATFORM(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME)156 #if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME) 157 157 CGSize advance = { width, 0 }; 158 158 m_advances.append(advance); … … 193 193 ASSERT(!isEmpty()); 194 194 GlyphBufferAdvance& lastAdvance = m_advances.last(); 195 #if PLATFORM(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME)195 #if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME) 196 196 lastAdvance.width += width; 197 197 #elif OS(WINCE) -
trunk/Source/WebCore/platform/graphics/Gradient.h
r84088 r84101 36 36 #include <wtf/Vector.h> 37 37 38 #if PLATFORM(CG)38 #if USE(CG) 39 39 40 40 typedef struct CGContext* CGContextRef; … … 139 139 void setPlatformGradientSpaceTransform(const AffineTransform& gradientSpaceTransformation); 140 140 141 #if PLATFORM(CG)141 #if USE(CG) 142 142 void paint(CGContextRef); 143 143 void paint(GraphicsContext*); -
trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp
r84088 r84101 149 149 m_state.shadowColor = color; 150 150 m_state.shadowColorSpace = colorSpace; 151 #if PLATFORM(CG)151 #if USE(CG) 152 152 m_state.shadowsUseLegacyRadius = true; 153 153 #endif … … 589 589 } 590 590 591 #if ! PLATFORM(CG)591 #if !USE(CG) 592 592 IntRect GraphicsContext::clipBounds() const 593 593 { … … 622 622 } 623 623 624 #if ! PLATFORM(CG)624 #if !USE(CG) 625 625 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedIntRect& roundedHoleRect, const Color& color, ColorSpace colorSpace) 626 626 { … … 679 679 #endif 680 680 681 #if ! PLATFORM(CG) && !USE(SKIA)681 #if !USE(CG) && !USE(SKIA) 682 682 // Implement this if you want to go ahead and push the drawing mode into your native context 683 683 // immediately. … … 693 693 #endif 694 694 695 #if ! PLATFORM(CG)695 #if !USE(CG) 696 696 void GraphicsContext::setPlatformShouldSmoothFonts(bool) 697 697 { -
trunk/Source/WebCore/platform/graphics/GraphicsContext.h
r84088 r84101 38 38 #include <wtf/PassOwnPtr.h> 39 39 40 #if PLATFORM(CG)40 #if USE(CG) 41 41 typedef struct CGContext PlatformGraphicsContext; 42 42 #elif USE(CAIRO) … … 94 94 #include "DIBPixelData.h" 95 95 typedef struct HDC__* HDC; 96 #if ! PLATFORM(CG)96 #if !USE(CG) 97 97 // UInt8 is defined in CoreFoundation/CFBase.h 98 98 typedef unsigned char UInt8; … … 171 171 , paintingDisabled(false) 172 172 , shadowsIgnoreTransforms(false) 173 #if PLATFORM(CG)173 #if USE(CG) 174 174 // Core Graphics incorrectly renders shadows with radius > 8px (<rdar://problem/8103442>), 175 175 // but we need to preserve this buggy behavior for canvas and -webkit-box-shadow. … … 212 212 bool paintingDisabled : 1; 213 213 bool shadowsIgnoreTransforms : 1; 214 #if PLATFORM(CG)214 #if USE(CG) 215 215 bool shadowsUseLegacyRadius : 1; 216 216 #endif … … 264 264 const GraphicsContextState& state() const; 265 265 266 #if PLATFORM(CG)266 #if USE(CG) 267 267 void applyStrokePattern(); 268 268 void applyFillPattern(); -
trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h
r84088 r84101 77 77 const Platform3DObject NullPlatform3DObject = 0; 78 78 79 #if PLATFORM(CG)79 #if USE(CG) 80 80 #include <CoreGraphics/CGContext.h> 81 81 #endif … … 763 763 void reshape(int width, int height); 764 764 765 #if PLATFORM(CG)765 #if USE(CG) 766 766 void paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight, 767 767 int canvasWidth, int canvasHeight, CGContextRef context); -
trunk/Source/WebCore/platform/graphics/Image.cpp
r73729 r84101 37 37 #include <wtf/StdLibExtras.h> 38 38 39 #if PLATFORM(CG)39 #if USE(CG) 40 40 #include <CoreFoundation/CoreFoundation.h> 41 41 #endif -
trunk/Source/WebCore/platform/graphics/Image.h
r83091 r84101 46 46 #endif 47 47 48 #if PLATFORM(CG)48 #if USE(CG) 49 49 struct CGContext; 50 50 #endif … … 137 137 #endif 138 138 139 #if PLATFORM(CG)139 #if USE(CG) 140 140 virtual CGImageRef getCGImageRef() { return 0; } 141 141 virtual CGImageRef getFirstCGImageRefOfSize(const IntSize&) { return 0; } -
trunk/Source/WebCore/platform/graphics/ImageBuffer.cpp
r70143 r84101 27 27 #include "ImageBuffer.h" 28 28 29 #if ! PLATFORM(CG)29 #if !USE(CG) 30 30 31 31 #include <math.h> … … 70 70 } 71 71 72 #endif // PLATFORM(CG)72 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/ImageBuffer.h
r83786 r84101 94 94 95 95 String toDataURL(const String& mimeType, const double* quality = 0) const; 96 #if ! PLATFORM(CG)96 #if !USE(CG) 97 97 AffineTransform baseTransform() const { return AffineTransform(); } 98 98 void transformColorSpace(ColorSpace srcColorSpace, ColorSpace dstColorSpace); … … 120 120 OwnPtr<GraphicsContext> m_context; 121 121 122 #if ! PLATFORM(CG)122 #if !USE(CG) 123 123 Vector<int> m_linearRgbLUT; 124 124 Vector<int> m_deviceRgbLUT; … … 130 130 }; 131 131 132 #if PLATFORM(CG) || USE(SKIA)132 #if USE(CG) || USE(SKIA) 133 133 String ImageDataToDataURL(const ImageData& input, const String& mimeType, const double* quality); 134 134 #endif -
trunk/Source/WebCore/platform/graphics/ImageBufferData.h
r84088 r84101 24 24 */ 25 25 26 #if PLATFORM(CG)26 #if USE(CG) 27 27 #include "ImageBufferDataCG.h" 28 28 #elif USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/ImageSource.h
r84088 r84101 35 35 class wxBitmap; 36 36 class wxGraphicsBitmap; 37 #elif PLATFORM(CG)37 #elif USE(CG) 38 38 typedef struct CGImageSource* CGImageSourceRef; 39 39 typedef struct CGImage* CGImageRef; … … 63 63 class SharedBuffer; 64 64 65 #if PLATFORM(CG)65 #if USE(CG) 66 66 #if USE(WEBKIT_IMAGE_DECODERS) 67 67 class ImageDecoder; -
trunk/Source/WebCore/platform/graphics/IntPoint.h
r83818 r84101 33 33 #endif 34 34 35 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)35 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 36 36 typedef struct CGPoint CGPoint; 37 37 #endif … … 115 115 } 116 116 117 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)117 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 118 118 explicit IntPoint(const CGPoint&); // don't do this implicitly since it's lossy 119 119 operator CGPoint() const; -
trunk/Source/WebCore/platform/graphics/IntRect.h
r83818 r84101 30 30 #include <wtf/Vector.h> 31 31 32 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)32 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 33 33 typedef struct CGRect CGRect; 34 34 #endif … … 184 184 #endif 185 185 186 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)186 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 187 187 operator CGRect() const; 188 188 #endif … … 230 230 } 231 231 232 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)232 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 233 233 IntRect enclosingIntRect(const CGRect&); 234 234 #endif -
trunk/Source/WebCore/platform/graphics/IntSize.h
r83818 r84101 27 27 #define IntSize_h 28 28 29 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)29 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 30 30 typedef struct CGSize CGSize; 31 31 #endif … … 110 110 } 111 111 112 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)112 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 113 113 explicit IntSize(const CGSize&); // don't do this implicitly since it's lossy 114 114 operator CGSize() const; -
trunk/Source/WebCore/platform/graphics/Path.h
r84088 r84101 32 32 #include <wtf/Forward.h> 33 33 34 #if PLATFORM(CG)34 #if USE(CG) 35 35 typedef struct CGPath PlatformPath; 36 36 #elif PLATFORM(OPENVG) -
trunk/Source/WebCore/platform/graphics/Pattern.h
r84088 r84101 36 36 #include <wtf/RefPtr.h> 37 37 38 #if PLATFORM(CG)38 #if USE(CG) 39 39 typedef struct CGPattern* CGPatternRef; 40 40 typedef CGPatternRef PlatformPatternPtr; -
trunk/Source/WebCore/platform/graphics/SimpleFontData.h
r84088 r84101 116 116 float spaceWidth() const { return m_spaceWidth; } 117 117 118 #if PLATFORM(CG) || USE(CAIRO) || PLATFORM(WX) || USE(SKIA_ON_MAC_CHROME)118 #if USE(CG) || USE(CAIRO) || PLATFORM(WX) || USE(SKIA_ON_MAC_CHROME) 119 119 float syntheticBoldOffset() const { return m_syntheticBoldOffset; } 120 120 #endif … … 253 253 mutable OwnPtr<DerivedFontData> m_derivedFontData; 254 254 255 #if PLATFORM(CG) || USE(CAIRO) || PLATFORM(WX) || USE(SKIA_ON_MAC_CHROME)255 #if USE(CG) || USE(CAIRO) || PLATFORM(WX) || USE(SKIA_ON_MAC_CHROME) 256 256 float m_syntheticBoldOffset; 257 257 #endif -
trunk/Source/WebCore/platform/graphics/cg/ColorCG.cpp
r70143 r84101 27 27 #include "Color.h" 28 28 29 #if PLATFORM(CG)29 #if USE(CG) 30 30 31 31 #include "GraphicsContextCG.h" … … 147 147 } 148 148 149 #endif // PLATFORM(CG)149 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/FloatPointCG.cpp
r83818 r84101 28 28 #include "FloatPoint.h" 29 29 30 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)30 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 31 31 32 32 #include <ApplicationServices/ApplicationServices.h> … … 45 45 } 46 46 47 #endif // PLATFORM(CG)47 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/FloatRectCG.cpp
r83818 r84101 28 28 #include "FloatRect.h" 29 29 30 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)30 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 31 31 32 32 #include <ApplicationServices/ApplicationServices.h> … … 45 45 } 46 46 47 #endif // PLATFORM(CG)47 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/FloatSizeCG.cpp
r83818 r84101 28 28 #include "FloatSize.h" 29 29 30 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)30 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 31 31 32 32 #include <ApplicationServices/ApplicationServices.h> … … 45 45 } 46 46 47 #endif // PLATFORM(CG)47 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/ImageCG.cpp
r83521 r84101 27 27 #include "BitmapImage.h" 28 28 29 #if PLATFORM(CG)29 #if USE(CG) 30 30 31 31 #include "AffineTransform.h" … … 360 360 } 361 361 362 #endif // PLATFORM(CG)362 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/ImageSourceCG.cpp
r79277 r84101 27 27 #include "ImageSource.h" 28 28 29 #if PLATFORM(CG)29 #if USE(CG) 30 30 #include "ImageSourceCG.h" 31 31 … … 357 357 } 358 358 359 #endif // PLATFORM(CG)359 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/IntPointCG.cpp
r83818 r84101 27 27 #include "IntPoint.h" 28 28 29 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)29 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 30 30 31 31 #include <ApplicationServices/ApplicationServices.h> … … 44 44 } 45 45 46 #endif // PLATFORM(CG)46 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/IntRectCG.cpp
r83818 r84101 27 27 #include "IntRect.h" 28 28 29 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)29 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 30 30 31 31 #include <ApplicationServices/ApplicationServices.h> … … 49 49 } 50 50 51 #endif // PLATFORM(CG)51 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/IntSizeCG.cpp
r83818 r84101 27 27 #include "IntSize.h" 28 28 29 #if PLATFORM(CG) || USE(SKIA_ON_MAC_CHROME)29 #if USE(CG) || USE(SKIA_ON_MAC_CHROME) 30 30 31 31 #include <ApplicationServices/ApplicationServices.h> … … 44 44 } 45 45 46 #endif // PLATFORM(CG)46 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/PDFDocumentImage.cpp
r56205 r84101 28 28 #include "PDFDocumentImage.h" 29 29 30 #if PLATFORM(CG)30 #if USE(CG) 31 31 32 32 #include "GraphicsContext.h" … … 189 189 } 190 190 191 #endif // PLATFORM(CG)191 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/PDFDocumentImage.h
r75971 r84101 32 32 #include "GraphicsTypes.h" 33 33 34 #if PLATFORM(CG)34 #if USE(CG) 35 35 36 36 #include <ApplicationServices/ApplicationServices.h> … … 79 79 } 80 80 81 #endif // PLATFORM(CG)81 #endif // USE(CG) 82 82 83 83 #endif // PDFDocumentImage_h -
trunk/Source/WebCore/platform/graphics/cg/PathCG.cpp
r80557 r84101 28 28 #include "Path.h" 29 29 30 #if PLATFORM(CG)30 #if USE(CG) 31 31 32 32 #include "AffineTransform.h" … … 310 310 } 311 311 312 #endif // PLATFORM(CG)312 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/cg/TransformationMatrixCG.cpp
r73540 r84101 28 28 #include "TransformationMatrix.h" 29 29 30 #if PLATFORM(CG)30 #if USE(CG) 31 31 32 32 #include <CoreGraphics/CGAffineTransform.h> … … 67 67 } 68 68 69 #endif // PLATFORM(CG)69 #endif // USE(CG) -
trunk/Source/WebCore/platform/graphics/chromium/ImageLayerChromium.h
r83915 r84101 38 38 #include "PlatformImage.h" 39 39 40 #if PLATFORM(CG)40 #if USE(CG) 41 41 #include <wtf/RetainPtr.h> 42 42 #endif -
trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
r83915 r84101 51 51 #include "NativeImageSkia.h" 52 52 #include "PlatformContextSkia.h" 53 #elif PLATFORM(CG)53 #elif USE(CG) 54 54 #include <CoreGraphics/CGBitmapContext.h> 55 55 #endif -
trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
r83941 r84101 53 53 #include <wtf/Vector.h> 54 54 55 #if PLATFORM(CG)55 #if USE(CG) 56 56 #include <CoreGraphics/CGContext.h> 57 57 #include <wtf/RetainPtr.h> … … 191 191 OwnPtr<PlatformContextSkia> m_rootLayerSkiaContext; 192 192 OwnPtr<GraphicsContext> m_rootLayerGraphicsContext; 193 #elif PLATFORM(CG)193 #elif USE(CG) 194 194 Vector<uint8_t> m_rootLayerBackingStore; 195 195 RetainPtr<CGContextRef> m_rootLayerCGContext; -
trunk/Source/WebCore/platform/graphics/chromium/PlatformCanvas.cpp
r83941 r84101 35 35 #include "SkColorPriv.h" 36 36 #include "skia/ext/platform_canvas.h" 37 #elif PLATFORM(CG)37 #elif USE(CG) 38 38 #include <CoreGraphics/CGBitmapContext.h> 39 39 #endif … … 54 54 #if USE(SKIA) 55 55 m_skiaCanvas = skia::CreateBitmapCanvas(size.width(), size.height(), false); 56 #elif PLATFORM(CG)56 #elif USE(CG) 57 57 size_t bufferSize = size.width() * size.height() * 4; 58 58 m_pixelData = adoptArrayPtr(new uint8_t[bufferSize]); … … 74 74 } else 75 75 m_bitmap = 0; 76 #elif PLATFORM(CG)76 #elif USE(CG) 77 77 if (canvas->m_pixelData) 78 78 m_pixels = &canvas->m_pixelData[0]; … … 96 96 97 97 m_context = adoptPtr(new GraphicsContext(reinterpret_cast<PlatformGraphicsContext*>(m_skiaContext.get()))); 98 #elif PLATFORM(CG)98 #elif USE(CG) 99 99 100 100 m_colorSpace = CGColorSpaceCreateDeviceRGB(); -
trunk/Source/WebCore/platform/graphics/chromium/PlatformCanvas.h
r83941 r84101 32 32 #include <wtf/OwnPtr.h> 33 33 34 #if PLATFORM(CG)34 #if USE(CG) 35 35 #include <CoreGraphics/CGColorSpace.h> 36 36 #include <CoreGraphics/CGContext.h> … … 89 89 #if USE(SKIA) 90 90 OwnPtr<PlatformContextSkia> m_skiaContext; 91 #elif PLATFORM(CG)91 #elif USE(CG) 92 92 RetainPtr<CGColorSpaceRef> m_colorSpace; 93 93 RetainPtr<CGContextRef> m_contextCG; … … 101 101 #if USE(SKIA) 102 102 OwnPtr<SkCanvas> m_skiaCanvas; 103 #elif PLATFORM(CG)103 #elif USE(CG) 104 104 OwnArrayPtr<uint8_t> m_pixelData; 105 105 #endif -
trunk/Source/WebCore/platform/graphics/chromium/PlatformImage.cpp
r80081 r84101 31 31 #include "NativeImageSkia.h" 32 32 #include "PlatformContextSkia.h" 33 #elif PLATFORM(CG)33 #elif USE(CG) 34 34 #include <CoreGraphics/CGBitmapContext.h> 35 35 #include <CoreGraphics/CGContext.h> … … 55 55 IntSize bitmapSize(skiaBitmap->width(), skiaBitmap->height()); 56 56 ASSERT(skiaBitmap); 57 #elif PLATFORM(CG)57 #elif USE(CG) 58 58 // NativeImagePtr is a CGImageRef on Mac OS X. 59 59 int width = CGImageGetWidth(nativeImage); … … 74 74 ASSERT(skiaBitmap->config()== SkBitmap::kARGB_8888_Config); 75 75 skiaBitmap->copyPixelsTo(m_pixelData.get(), bufferSize); 76 #elif PLATFORM(CG)76 #elif USE(CG) 77 77 // FIXME: we should get rid of this temporary copy where possible. 78 78 int tempRowBytes = width * 4; -
trunk/Source/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp
r63709 r84101 71 71 }; 72 72 73 #if ! PLATFORM(CG) || !defined(COREGRAPHICS_INCLUDES_CORESERVICES_HEADER)73 #if !USE(CG) || !defined(COREGRAPHICS_INCLUDES_CORESERVICES_HEADER) 74 74 // Fixed type is not defined on non-CG and Windows platforms. |version| in sfntHeader 75 75 // and headTable and |fontRevision| in headTable are of Fixed, but they're -
trunk/Source/WebCore/platform/graphics/transforms/AffineTransform.h
r84088 r84101 33 33 #include <wtf/FastAllocBase.h> 34 34 35 #if PLATFORM(CG)35 #if USE(CG) 36 36 #include <CoreGraphics/CGAffineTransform.h> 37 37 #elif USE(CAIRO) … … 158 158 } 159 159 160 #if PLATFORM(CG)160 #if USE(CG) 161 161 operator CGAffineTransform() const; 162 162 #elif USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
r84088 r84101 35 35 typedef struct CATransform3D CATransform3D; 36 36 #endif 37 #if PLATFORM(CG)37 #if USE(CG) 38 38 typedef struct CGAffineTransform CGAffineTransform; 39 39 #elif USE(CAIRO) … … 313 313 operator CATransform3D() const; 314 314 #endif 315 #if PLATFORM(CG)315 #if USE(CG) 316 316 TransformationMatrix(const CGAffineTransform&); 317 317 operator CGAffineTransform() const; -
trunk/Source/WebCore/platform/graphics/win/DIBPixelData.h
r82640 r84101 30 30 #include <windows.h> 31 31 32 #if ! PLATFORM(CG)32 #if !USE(CG) 33 33 // UInt8 is defined in CoreFoundation/CFBase.h 34 34 typedef unsigned char UInt8; -
trunk/Source/WebCore/platform/graphics/win/FontCacheWin.cpp
r84088 r84101 37 37 #include <wtf/StdLibExtras.h> 38 38 #include <wtf/text/StringHash.h> 39 #if PLATFORM(CG)39 #if USE(CG) 40 40 #include <ApplicationServices/ApplicationServices.h> 41 41 #include <WebKitSystemInterface/WebKitSystemInterface.h> … … 49 49 void FontCache::platformInit() 50 50 { 51 #if PLATFORM(CG)51 #if USE(CG) 52 52 wkSetUpFontCache(1536 * 1024 * 4); // This size matches Mac. 53 53 #endif … … 472 472 matchData.m_chosen.lfStrikeOut = false; 473 473 matchData.m_chosen.lfCharSet = DEFAULT_CHARSET; 474 #if PLATFORM(CG) || USE(CAIRO)474 #if USE(CG) || USE(CAIRO) 475 475 matchData.m_chosen.lfOutPrecision = OUT_TT_ONLY_PRECIS; 476 476 #else … … 582 582 FontPlatformData* result = new FontPlatformData(hfont, fontDescription.computedPixelSize(), synthesizeBold, synthesizeItalic, useGDI); 583 583 584 #if PLATFORM(CG)584 #if USE(CG) 585 585 bool fontCreationFailed = !result->cgFont(); 586 586 #elif USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp
r84088 r84101 42 42 , m_textOrientation(TextOrientationVerticalRight) 43 43 , m_widthVariant(RegularWidth) 44 #if PLATFORM(CG)44 #if USE(CG) 45 45 , m_cgFont(0) 46 46 #elif USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/win/GraphicsContextWin.cpp
r84088 r84101 27 27 #include "GraphicsContext.h" 28 28 29 #if PLATFORM(CG)29 #if USE(CG) 30 30 #include "GraphicsContextPlatformPrivateCG.h" 31 31 #elif USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp
r76852 r84101 31 31 #include <windows.h> 32 32 33 #if PLATFORM(CG)33 #if USE(CG) 34 34 #include <CoreGraphics/CGColor.h> 35 35 #endif -
trunk/Source/WebCore/platform/graphics/win/SimpleFontDataWin.cpp
r77775 r84101 40 40 #include <wtf/MathExtras.h> 41 41 42 #if PLATFORM(CG)42 #if USE(CG) 43 43 #include <ApplicationServices/ApplicationServices.h> 44 44 #include <WebKitSystemInterface/WebKitSystemInterface.h> -
trunk/Source/WebCore/platform/image-decoders/ImageDecoder.cpp
r79578 r84101 168 168 } 169 169 170 #if ! PLATFORM(CG)170 #if !USE(CG) 171 171 172 172 void ImageFrame::copyReferenceToBitmapData(const ImageFrame& other) -
trunk/Source/WebCore/platform/image-decoders/ImageDecoder.h
r82067 r84101 143 143 144 144 private: 145 #if PLATFORM(CG)145 #if USE(CG) 146 146 typedef RetainPtr<CFMutableDataRef> NativeBackingStore; 147 147 #else -
trunk/Source/WebCore/rendering/RenderObject.h
r84088 r84101 38 38 #include <wtf/UnusedParam.h> 39 39 40 #if PLATFORM(CG) || USE(CAIRO) || PLATFORM(QT)40 #if USE(CG) || USE(CAIRO) || PLATFORM(QT) 41 41 #define HAVE_PATH_BASED_BORDER_RADIUS_DRAWING 1 42 42 #endif -
trunk/Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp
r77240 r84101 279 279 context = filterData->savedContext; 280 280 filterData->savedContext = 0; 281 #if ! PLATFORM(CG)281 #if !USE(CG) 282 282 if (filterData->sourceGraphicBuffer) 283 283 filterData->sourceGraphicBuffer->transformColorSpace(ColorSpaceDeviceRGB, ColorSpaceLinearRGB); … … 297 297 if (!lastEffect->hasResult()) { 298 298 lastEffect->apply(); 299 #if ! PLATFORM(CG)299 #if !USE(CG) 300 300 ImageBuffer* resultImage = lastEffect->asImageBuffer(); 301 301 if (resultImage) -
trunk/Source/WebCore/rendering/svg/RenderSVGResourceGradient.cpp
r76146 r84101 38 38 : RenderSVGResourceContainer(node) 39 39 , m_shouldCollectGradientAttributes(true) 40 #if PLATFORM(CG)40 #if USE(CG) 41 41 , m_savedContext(0) 42 42 #endif … … 74 74 } 75 75 76 #if PLATFORM(CG)76 #if USE(CG) 77 77 static inline bool createMaskAndSwapContextForTextGradient(GraphicsContext*& context, 78 78 GraphicsContext*& savedContext, … … 179 179 // resource, so don't apply it here. For non-CG platforms, we want the text bounding 180 180 // box applied to the gradient space transform now, so the gradient shader can use it. 181 #if PLATFORM(CG)181 #if USE(CG) 182 182 if (boundingBoxMode() && !objectBoundingBox.isEmpty() && !isPaintingText) { 183 183 #else … … 202 202 203 203 if (isPaintingText) { 204 #if PLATFORM(CG)204 #if USE(CG) 205 205 if (!createMaskAndSwapContextForTextGradient(context, m_savedContext, m_imageBuffer, object)) { 206 206 context->restore(); … … 236 236 237 237 if (resourceMode & ApplyToTextMode) { 238 #if PLATFORM(CG)238 #if USE(CG) 239 239 // CG requires special handling for gradient on text 240 240 if (m_savedContext && m_gradient.contains(object)) { -
trunk/Source/WebCore/rendering/svg/RenderSVGResourceGradient.h
r75350 r84101 66 66 HashMap<RenderObject*, GradientData*> m_gradient; 67 67 68 #if PLATFORM(CG)68 #if USE(CG) 69 69 GraphicsContext* m_savedContext; 70 70 OwnPtr<ImageBuffer> m_imageBuffer; -
trunk/Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp
r75350 r84101 155 155 maskImageContext->restore(); 156 156 157 #if ! PLATFORM(CG)157 #if !USE(CG) 158 158 maskerData->maskImage->transformColorSpace(ColorSpaceDeviceRGB, ColorSpaceLinearRGB); 159 159 #endif -
trunk/Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp
r78806 r84101 167 167 context->setTextDrawingMode(TextModeFill); 168 168 169 #if PLATFORM(CG)169 #if USE(CG) 170 170 context->applyFillPattern(); 171 171 #endif … … 173 173 context->setTextDrawingMode(TextModeStroke); 174 174 175 #if PLATFORM(CG)175 #if USE(CG) 176 176 context->applyStrokePattern(); 177 177 #endif -
trunk/Source/WebKit/chromium/ChangeLog
r84079 r84101 1 2011-04-17 Patrick Gansterer <paroga@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Rename PLATFORM(CG) to USE(CG) 6 https://bugs.webkit.org/show_bug.cgi?id=58729 7 8 * src/GraphicsContext3DChromium.cpp: 9 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 10 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 11 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 12 (WebCore::GraphicsContext3DInternal::reshape): 13 * src/GraphicsContext3DInternal.h: 14 * src/PlatformBridge.cpp: 15 * src/WebViewImpl.cpp: 16 (WebKit::WebViewImpl::doPixelReadbackToCanvas): 17 1 18 2011-04-15 John Bates <jbates@google.com> 2 19 -
trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp
r83935 r84101 55 55 #include <wtf/text/CString.h> 56 56 57 #if PLATFORM(CG)57 #if USE(CG) 58 58 #include "GraphicsContext.h" 59 59 #include "WebGLRenderingContext.h" … … 85 85 , m_layerComposited(false) 86 86 #if USE(SKIA) 87 #elif PLATFORM(CG)87 #elif USE(CG) 88 88 , m_renderOutput(0) 89 89 #else … … 95 95 GraphicsContext3DInternal::~GraphicsContext3DInternal() 96 96 { 97 #if PLATFORM(CG)97 #if USE(CG) 98 98 if (m_renderOutput) 99 99 delete[] m_renderOutput; … … 211 211 SkAutoLockPixels bitmapLock(*readbackBitmap); 212 212 pixels = static_cast<unsigned char*>(readbackBitmap->getPixels()); 213 #elif PLATFORM(CG)213 #elif USE(CG) 214 214 if (m_renderOutput) 215 215 pixels = m_renderOutput; … … 239 239 canvas.drawBitmapRect(m_resizingBitmap, 0, dst); 240 240 } 241 #elif PLATFORM(CG)241 #elif USE(CG) 242 242 if (m_renderOutput && context->is3d()) { 243 243 WebGLRenderingContext* webGLContext = static_cast<WebGLRenderingContext*>(context); … … 279 279 m_impl->reshape(width, height); 280 280 281 #if PLATFORM(CG)281 #if USE(CG) 282 282 // Need to reallocate the client-side backing store. 283 283 // FIXME: make this more efficient. … … 288 288 int rowBytes = width * 4; 289 289 m_renderOutput = new unsigned char[height * rowBytes]; 290 #endif // PLATFORM(CG)290 #endif // USE(CG) 291 291 } 292 292 -
trunk/Source/WebKit/chromium/src/GraphicsContext3DInternal.h
r83762 r84101 299 299 #endif 300 300 301 #if PLATFORM(CG)301 #if USE(CG) 302 302 unsigned char* m_renderOutput; 303 303 #endif -
trunk/Source/WebKit/chromium/src/PlatformBridge.cpp
r83494 r84101 62 62 #include "WebWorkerClientImpl.h" 63 63 64 #if PLATFORM(CG)64 #if USE(CG) 65 65 #include <CoreGraphics/CGContext.h> 66 66 #endif -
trunk/Source/WebKit/chromium/src/WebViewImpl.cpp
r83820 r84101 127 127 #include <wtf/RefPtr.h> 128 128 129 #if PLATFORM(CG)129 #if USE(CG) 130 130 #include <CoreGraphics/CGBitmapContext.h> 131 131 #include <CoreGraphics/CGContext.h> … … 1040 1040 GraphicsContext gc(reinterpret_cast<PlatformGraphicsContext*>(&context)); 1041 1041 int bitmapHeight = canvas->getDevice()->accessBitmap(false).height(); 1042 #elif PLATFORM(CG)1042 #elif USE(CG) 1043 1043 GraphicsContext gc(canvas); 1044 1044 int bitmapHeight = CGBitmapContextGetHeight(reinterpret_cast<CGContextRef>(canvas)); -
trunk/Source/WebKit/win/ChangeLog
r84094 r84101 1 2011-04-17 Patrick Gansterer <paroga@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Rename PLATFORM(CG) to USE(CG) 6 https://bugs.webkit.org/show_bug.cgi?id=58729 7 8 * WebFrame.cpp: 9 (WebFrame::spoolPages): 10 * WebFrame.h: 11 * WebPreferences.cpp: 12 (WebPreferences::setFontSmoothing): 13 (WebPreferences::setFontSmoothingContrast): 14 * WebView.cpp: 15 (systemParameterChanged): 16 1 17 2011-04-16 Sam Weinig <sam@webkit.org> 2 18 -
trunk/Source/WebKit/win/WebFrame.cpp
r84088 r84101 105 105 #include <wtf/MathExtras.h> 106 106 107 #if PLATFORM(CG)107 #if USE(CG) 108 108 #include <CoreGraphics/CoreGraphics.h> 109 109 #elif USE(CAIRO) … … 112 112 #endif 113 113 114 #if PLATFORM(CG)114 #if USE(CG) 115 115 // CG SPI used for printing 116 116 extern "C" { … … 2114 2114 } 2115 2115 2116 #if PLATFORM(CG)2116 #if USE(CG) 2117 2117 void WebFrame::drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, float headerHeight) 2118 2118 { … … 2321 2321 /* [retval][out] */ void* ctx) 2322 2322 { 2323 #if PLATFORM(CG)2323 #if USE(CG) 2324 2324 if (!printDC || !ctx) { 2325 2325 ASSERT_NOT_REACHED(); … … 2370 2370 2371 2371 UINT pageCount = (UINT) m_pageRects.size(); 2372 #if PLATFORM(CG)2372 #if USE(CG) 2373 2373 PlatformGraphicsContext* pctx = (PlatformGraphicsContext*)ctx; 2374 2374 #endif -
trunk/Source/WebKit/win/WebFrame.h
r84088 r84101 60 60 typedef struct OpaqueJSValue* JSObjectRef; 61 61 62 #if PLATFORM(CG)62 #if USE(CG) 63 63 typedef struct CGContext PlatformGraphicsContext; 64 64 #elif USE(CAIRO) -
trunk/Source/WebKit/win/WebPreferences.cpp
r84094 r84101 47 47 #include <wtf/text/WTFString.h> 48 48 49 #if PLATFORM(CG)49 #if USE(CG) 50 50 #include <CoreGraphics/CoreGraphics.h> 51 51 #include <WebKitSystemInterface/WebKitSystemInterface.h> … … 1102 1102 if (smoothingType == FontSmoothingTypeWindows) 1103 1103 smoothingType = FontSmoothingTypeMedium; 1104 #if PLATFORM(CG)1104 #if USE(CG) 1105 1105 wkSetFontSmoothingLevel((int)smoothingType); 1106 1106 #endif … … 1119 1119 { 1120 1120 setFloatValue(CFSTR(WebKitFontSmoothingContrastPreferenceKey), contrast); 1121 #if PLATFORM(CG)1121 #if USE(CG) 1122 1122 wkSetFontSmoothingContrast(contrast); 1123 1123 #endif -
trunk/Source/WebKit/win/WebView.cpp
r83852 r84101 139 139 #endif 140 140 141 #if PLATFORM(CG)141 #if USE(CG) 142 142 #include <CoreGraphics/CGContext.h> 143 143 #endif … … 3196 3196 static void systemParameterChanged(WPARAM parameter) 3197 3197 { 3198 #if PLATFORM(CG)3198 #if USE(CG) 3199 3199 if (parameter == SPI_SETFONTSMOOTHING || parameter == SPI_SETFONTSMOOTHINGTYPE || parameter == SPI_SETFONTSMOOTHINGCONTRAST || parameter == SPI_SETFONTSMOOTHINGORIENTATION) 3200 3200 wkSystemFontSmoothingChanged(); -
trunk/Source/WebKit2/ChangeLog
r84095 r84101 1 2011-04-17 Patrick Gansterer <paroga@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Rename PLATFORM(CG) to USE(CG) 6 https://bugs.webkit.org/show_bug.cgi?id=58729 7 8 * Shared/ShareableBitmap.h: 9 * Shared/WebCoreArgumentCoders.cpp: 10 * Shared/WebCoreArgumentCoders.h: 11 * Shared/WebGraphicsContext.cpp: 12 (WebKit::WebGraphicsContext::WebGraphicsContext): 13 * Shared/WebGraphicsContext.h: 14 * Shared/win/PlatformCertificateInfo.cpp: 15 (WebKit::PlatformCertificateInfo::PlatformCertificateInfo): 16 * UIProcess/win/WebView.cpp: 17 (WebKit::WebView::setFindIndicator): 18 * WebProcess/WebPage/WebPage.cpp: 19 (WebKit::WebPage::drawRectToPDF): 20 (WebKit::WebPage::drawPagesToPDF): 21 * WebProcess/WebPage/win/WebPageWin.cpp: 22 (WebKit::WebPage::platformPreferencesDidChange): 23 * config.h: 24 1 25 2011-04-16 Anders Carlsson <andersca@apple.com> 2 26 -
trunk/Source/WebKit2/Shared/ShareableBitmap.h
r82442 r84101 34 34 #include <wtf/RefPtr.h> 35 35 36 #if PLATFORM(CG)36 #if USE(CG) 37 37 #include <wtf/RetainPtr.h> 38 38 #endif … … 99 99 bool isBackedBySharedMemory() const { return m_sharedMemory; } 100 100 101 #if PLATFORM(CG)101 #if USE(CG) 102 102 // This creates a copied CGImageRef (most likely a copy-on-write) of the shareable bitmap. 103 103 RetainPtr<CGImageRef> makeCGImageCopy(); … … 114 114 static size_t numBytesForSize(const WebCore::IntSize& size) { return size.width() * size.height() * 4; } 115 115 116 #if PLATFORM(CG)116 #if USE(CG) 117 117 static void releaseBitmapContextData(void* typelessBitmap, void* typelessData); 118 118 static void releaseDataProviderData(void* typelessBitmap, const void* typelessData, size_t); -
trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp
r82442 r84101 34 34 // For now, these are CG-only. Once other platforms have createImage functions, 35 35 // we can compile these for non-CG builds. 36 #if PLATFORM(CG)36 #if USE(CG) 37 37 38 38 void encodeImage(ArgumentEncoder* encoder, Image* image) -
trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.h
r82717 r84101 195 195 { 196 196 WebCore::Cursor::Type type = cursor.type(); 197 #if ! PLATFORM(CG)197 #if !USE(CG) 198 198 // FIXME: Currently we only have the createImage function implemented for CG. 199 199 // Once we implement it for other platforms we can remove this conditional, … … 203 203 #endif 204 204 encoder->encode(static_cast<uint32_t>(type)); 205 #if PLATFORM(CG)205 #if USE(CG) 206 206 if (type != WebCore::Cursor::Custom) 207 207 return; … … 226 226 } 227 227 228 #if ! PLATFORM(CG)228 #if !USE(CG) 229 229 return false; 230 230 #else -
trunk/Source/WebKit2/Shared/WebGraphicsContext.cpp
r82962 r84101 36 36 37 37 WebGraphicsContext::WebGraphicsContext(GraphicsContext* graphicsContext) 38 #if PLATFORM(CG)38 #if USE(CG) 39 39 : m_platformContext(graphicsContext->platformContext()) 40 40 #elif PLATFORM(GTK) -
trunk/Source/WebKit2/Shared/WebGraphicsContext.h
r78069 r84101 31 31 #include <wtf/PassRefPtr.h> 32 32 33 #if PLATFORM(CG)33 #if USE(CG) 34 34 #include <wtf/RetainPtr.h> 35 35 #elif PLATFORM(GTK) … … 48 48 } 49 49 50 #if PLATFORM(CG)50 #if USE(CG) 51 51 CGContextRef platformContext() { return m_platformContext.get(); } 52 52 #elif PLATFORM(GTK) … … 60 60 virtual Type type() const { return APIType; } 61 61 62 #if PLATFORM(CG)62 #if USE(CG) 63 63 RetainPtr<CGContextRef> m_platformContext; 64 64 #elif PLATFORM(GTK) -
trunk/Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp
r82146 r84101 31 31 #include <WebCore/ResourceResponse.h> 32 32 33 #if PLATFORM(CG)33 #if USE(CG) 34 34 #include <WebKitSystemInterface/WebKitSystemInterface.h> 35 35 #endif … … 49 49 return; 50 50 51 #if PLATFORM(CG)51 #if USE(CG) 52 52 CFDictionaryRef certificateInfo = wkGetSSLCertificateInfo(cfResponse); 53 53 if (!certificateInfo) -
trunk/Source/WebKit2/UIProcess/win/WebView.cpp
r84064 r84101 46 46 #include <WebCore/Cursor.h> 47 47 #include <WebCore/FloatRect.h> 48 #if PLATFORM(CG)48 #if USE(CG) 49 49 #include <WebCore/GraphicsContextCG.h> 50 50 #endif … … 1407 1407 hbmp = CreateDIBSection(0, &bitmapInfo, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0); 1408 1408 HBITMAP hbmpOld = static_cast<HBITMAP>(SelectObject(hdc, hbmp)); 1409 #if PLATFORM(CG)1409 #if USE(CG) 1410 1410 RetainPtr<CGContextRef> context(AdoptCF, CGBitmapContextCreate(bits, width, height, 1411 1411 8, width * sizeof(RGBQUAD), deviceRGBColorSpaceRef(), kCGBitmapByteOrder32Little | kCGImageAlphaPremultipliedFirst)); -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r84042 r84101 2103 2103 ASSERT(coreFrame->document()->printing()); 2104 2104 2105 #if PLATFORM(CG)2105 #if USE(CG) 2106 2106 // FIXME: Use CGDataConsumerCreate with callbacks to avoid copying the data. 2107 2107 RetainPtr<CGDataConsumerRef> pdfDataConsumer(AdoptCF, CGDataConsumerCreateWithCFData(pdfPageData.get())); … … 2135 2135 ASSERT(coreFrame->document()->printing()); 2136 2136 2137 #if PLATFORM(CG)2137 #if USE(CG) 2138 2138 // FIXME: Use CGDataConsumerCreate with callbacks to avoid copying the data. 2139 2139 RetainPtr<CGDataConsumerRef> pdfDataConsumer(AdoptCF, CGDataConsumerCreateWithCFData(pdfPageData.get())); -
trunk/Source/WebKit2/WebProcess/WebPage/win/WebPageWin.cpp
r83460 r84101 44 44 #include <WebCore/ResourceHandle.h> 45 45 #include <WebCore/Settings.h> 46 #if PLATFORM(CG)46 #if USE(CG) 47 47 #include <WebKitSystemInterface/WebKitSystemInterface.h> 48 48 #endif … … 68 68 FontSmoothingLevel fontSmoothingLevel = static_cast<FontSmoothingLevel>(store.getUInt32ValueForKey(WebPreferencesKey::fontSmoothingLevelKey())); 69 69 70 #if PLATFORM(CG)70 #if USE(CG) 71 71 FontSmoothingLevel adjustedLevel = fontSmoothingLevel; 72 72 if (adjustedLevel == FontSmoothingLevelWindows) -
trunk/Source/WebKit2/config.h
r82883 r84101 126 126 #include <windows.h> 127 127 128 #if PLATFORM(CG)128 #if USE(CG) 129 129 #include <CoreGraphics/CoreGraphics.h> 130 130 #endif -
trunk/Tools/ChangeLog
r84088 r84101 1 2011-04-17 Patrick Gansterer <paroga@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Rename PLATFORM(CG) to USE(CG) 6 https://bugs.webkit.org/show_bug.cgi?id=58729 7 8 * DumpRenderTree/PixelDumpSupport.cpp: 9 * DumpRenderTree/chromium/WebViewHost.cpp: 10 (WebViewHost::paintRect): 11 * DumpRenderTree/config.h: 12 * DumpRenderTree/win/PixelDumpSupportWin.cpp: 13 (createBitmapContextFromWebView): 14 * TestWebKitAPI/PlatformWebView.h: 15 * WebKitTestRunner/config.h: 16 * WebKitTestRunner/win/TestInvocationWin.cpp: 17 1 18 2011-04-16 Patrick Gansterer <paroga@webkit.org> 2 19 -
trunk/Tools/DumpRenderTree/PixelDumpSupport.cpp
r84088 r84101 38 38 #include <wtf/Vector.h> 39 39 40 #if PLATFORM(CG)40 #if USE(CG) 41 41 #include "PixelDumpSupportCG.h" 42 42 #elif USE(CAIRO) -
trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp
r83946 r84101 1470 1470 ASSERT(canvas()); 1471 1471 m_isPainting = true; 1472 #if PLATFORM(CG)1472 #if USE(CG) 1473 1473 webWidget()->paint(skia::BeginPlatformPaint(canvas()), rect); 1474 1474 skia::EndPlatformPaint(canvas()); -
trunk/Tools/DumpRenderTree/config.h
r84088 r84101 78 78 #define WTF_USE_CURL 1 79 79 #else 80 #define WTF_ PLATFORM_CG 180 #define WTF_USE_CG 1 81 81 #define WTF_USE_CFNETWORK 1 82 82 #endif -
trunk/Tools/DumpRenderTree/win/PixelDumpSupportWin.cpp
r84088 r84101 29 29 #include "config.h" 30 30 31 #if PLATFORM(CG)31 #if USE(CG) 32 32 #include "PixelDumpSupportCG.h" 33 33 #elif USE(CAIRO) … … 37 37 #include "DumpRenderTree.h" 38 38 39 #if PLATFORM(CG)39 #if USE(CG) 40 40 // Note: Must be included *after* DumpRenderTree.h to avoid compile error. 41 41 #include <CoreGraphics/CGBitmapContext.h> … … 71 71 ASSERT(info.bmBitsPixel == 32); 72 72 73 #if PLATFORM(CG)73 #if USE(CG) 74 74 RetainPtr<CGColorSpaceRef> colorSpace(AdoptCF, CGColorSpaceCreateDeviceRGB()); 75 75 CGContextRef context = CGBitmapContextCreate(info.bmBits, info.bmWidth, info.bmHeight, 8, -
trunk/Tools/TestWebKitAPI/PlatformWebView.h
r83793 r84101 29 29 #include <wtf/Platform.h> 30 30 31 #if PLATFORM(CG)31 #if USE(CG) 32 32 #include <CoreGraphics/CGGeometry.h> 33 33 #endif -
trunk/Tools/WebKitTestRunner/config.h
r84088 r84101 61 61 #define WTF_USE_CURL 1 62 62 #else 63 #define WTF_ PLATFORM_CG 163 #define WTF_USE_CG 1 64 64 #define WTF_USE_CFNETWORK 1 65 65 #endif -
trunk/Tools/WebKitTestRunner/win/TestInvocationWin.cpp
r81494 r84101 29 29 namespace WTR { 30 30 31 #if ! PLATFORM(CG)31 #if !USE(CG) 32 32 void TestInvocation::dumpPixelsAndCompareWithExpected(WKImageRef) 33 33 {
Note: See TracChangeset
for help on using the changeset viewer.