Searched refs:resolutionScale (Results 1 - 6 of 6) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cg/
H A DImageBufferDataCG.cpp119 PassRefPtr<Uint8ClampedArray> ImageBufferData::getData(const IntRect& rect, const IntSize& size, bool accelerateRendering, bool unmultiplied, float resolutionScale) const
131 endx *= ceilf(resolutionScale);
133 endy *= resolutionScale;
145 destw = min<int>(destw, ceilf(size.width() / resolutionScale) - originx);
146 originx *= resolutionScale;
159 desth = min<int>(desth, ceilf(size.height() / resolutionScale) - originy);
160 originy *= resolutionScale;
192 if (resolutionScale != 1) {
193 vImage_AffineTransform scaleTransform = { 1 / resolutionScale, 0, 0, 1 / resolutionScale,
354 putData(Uint8ClampedArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, const IntSize& size, bool accelerateRendering, bool unmultiplied, float resolutionScale) argument
[all...]
H A DImageBufferDataCG.h61 PassRefPtr<Uint8ClampedArray> getData(const IntRect&, const IntSize&, bool accelerateRendering, bool unmultiplied, float resolutionScale) const;
62 void putData(Uint8ClampedArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, const IntSize&, bool accelerateRendering, bool unmultiplied, float resolutionScale);
H A DImageBufferCG.cpp108 ImageBuffer::ImageBuffer(const IntSize& size, float resolutionScale, ColorSpace imageColorSpace, RenderingMode renderingMode, bool& success) argument
111 , m_resolutionScale(resolutionScale)
113 float scaledWidth = ceilf(resolutionScale * size.width());
114 float scaledHeight = ceilf(resolutionScale * size.height());
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/
H A DImageBuffer.h82 static PassOwnPtr<ImageBuffer> create(const IntSize& size, float resolutionScale = 1, ColorSpace colorSpace = ColorSpaceDeviceRGB, RenderingMode renderingMode = Unaccelerated)
85 OwnPtr<ImageBuffer> buf = adoptPtr(new ImageBuffer(size, resolutionScale, colorSpace, renderingMode, success));
91 static PassOwnPtr<ImageBuffer> createCompatibleBuffer(const IntSize&, float resolutionScale, ColorSpace, const GraphicsContext*, bool hasAlpha);
158 ImageBuffer(const IntSize&, float resolutionScale, ColorSpace, RenderingMode, bool& success);
H A DImageBuffer.cpp113 PassOwnPtr<ImageBuffer> ImageBuffer::createCompatibleBuffer(const IntSize& size, float resolutionScale, ColorSpace colorSpace, const GraphicsContext* context, bool) argument
115 return create(size, resolutionScale, colorSpace, context->isAcceleratedContext() ? Accelerated : Unaccelerated);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/wince/
H A DImageBufferWinCE.cpp73 ImageBuffer::ImageBuffer(const IntSize& size, float resolutionScale, ColorSpace colorSpace, RenderingMode, bool& success) argument
79 UNUSED_PARAM(resolutionScale);

Completed in 126 milliseconds