/external/webkit/Source/WebCore/platform/graphics/chromium/ |
PlatformImage.cpp | 84 CGColorSpaceRef colorSpace = CGImageGetColorSpace(nativeImage); 85 CGColorSpaceModel colorSpaceModel = CGColorSpaceGetModel(colorSpace); 95 colorSpace = colorSpaceReleaser.get(); 100 colorSpace,
|
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGResourceSolidColor.cpp | 54 ColorSpace colorSpace = style ? style->colorSpace() : ColorSpaceDeviceRGB; 58 context->setFillColor(m_color, colorSpace); 65 context->setStrokeColor(m_color, colorSpace);
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GradientCG.cpp | 67 CGColorSpaceRef colorSpace = deviceRGBColorSpaceRef(); 70 m_gradient = CGShadingCreateRadial(colorSpace, m_p0, m_r0, m_p1, m_r1, colorFunction.get(), true, true); 72 m_gradient = CGShadingCreateAxial(colorSpace, m_p0, m_p1, colorFunction.get(), true, true);
|
ImageBufferCG.cpp | 100 ImageBuffer::ImageBuffer(const IntSize& size, ColorSpace imageColorSpace, RenderingMode renderingMode, bool& success) 200 void ImageBuffer::draw(GraphicsContext* destContext, ColorSpace styleColorSpace, const FloatRect& destRect, const FloatRect& srcRect, 214 ColorSpace colorSpace = (destContext == context()) ? ColorSpaceDeviceRGB : styleColorSpace; 215 destContext->drawImage(copy.get(), colorSpace, destRect, srcRect, op, useLowQualityScale); 220 const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator op, const FloatRect& destRect)
|
/external/webkit/Tools/WebKitTestRunner/cg/ |
TestInvocationCG.cpp | 56 CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); 57 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host); 58 CGColorSpaceRelease(colorSpace);
|
/external/opencv/otherlibs/highgui/ |
grfmt_imageio.cpp | 115 CGColorSpaceRef colorSpace = CGImageGetColorSpace( imageRef ); 116 if( !colorSpace ) 119 m_iscolor = ( CGColorSpaceGetNumberOfComponents( colorSpace ) > 1 ); 137 CGColorSpaceRef colorSpace = NULL; 142 // appropriate colorspace is set 145 colorSpace = CGColorSpaceCreateDeviceGray(); 151 colorSpace = CGColorSpaceCreateDeviceRGB(); 155 if( !colorSpace ) 161 CGColorSpaceRelease( colorSpace ); 170 colorSpace, /* color space * [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
MediaPlayerPrivateQuickTimeWin.cpp | 860 static CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); 873 RetainPtr<CGImageRef> frameImage(AdoptCF, CGImageCreate(width, height, 8, bitsPerPixel, rowBytes, colorSpace,
|
MediaPlayerPrivateQuickTimeVisualContext.cpp | 818 CGColorSpaceRef colorSpace = 0; 845 // Colorspace should be device, so that Quartz does not have to do an extra render. 846 colorSpace = CGColorSpaceCreateDeviceRGB(); 847 require(colorSpace, Bail); 855 image = CGImageCreate(buffer.width(), buffer.height(), bitsPerComponent, bitsPerPixel, buffer.bytesPerRow(), colorSpace, alphaInfo, provider, 0, false, kCGRenderingIntentDefault); 858 // Once the image is created we can release our reference to the provider and the colorspace, they are retained by the image 861 if (colorSpace) 862 CGColorSpaceRelease(colorSpace); [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderFrameSet.cpp | 93 ColorSpace colorSpace = style()->colorSpace(); 94 context->fillRect(borderRect, frameSet()->hasBorderColor() ? style()->visitedDependentColor(CSSPropertyBorderLeftColor) : borderFillColor(), colorSpace); 99 context->fillRect(IntRect(borderRect.location(), IntSize(1, height())), borderStartEdgeColor(), colorSpace); 100 context->fillRect(IntRect(IntPoint(borderRect.maxX() - 1, borderRect.y()), IntSize(1, height())), borderEndEdgeColor(), colorSpace); 113 ColorSpace colorSpace = style()->colorSpace(); 114 context->fillRect(borderRect, frameSet()->hasBorderColor() ? style()->visitedDependentColor(CSSPropertyBorderLeftColor) : borderFillColor(), colorSpace); [all...] |
RenderListBox.cpp | 387 ColorSpace colorSpace = itemStyle->colorSpace(); 388 paintInfo.context->setFillColor(textColor, colorSpace); 427 ColorSpace colorSpace = element->renderStyle() ? element->renderStyle()->colorSpace() : style()->colorSpace(); 430 paintInfo.context->fillRect(itemRect, backColor, colorSpace);
|
InlineTextBox.cpp | 319 void updateGraphicsContext(GraphicsContext* context, const Color& fillColor, const Color& strokeColor, float strokeThickness, ColorSpace colorSpace) 330 if (mode & TextModeFill && (fillColor != context->fillColor() || colorSpace != context->fillColorSpace())) 331 context->setFillColor(fillColor, colorSpace); 335 context->setStrokeColor(strokeColor, colorSpace); 393 ColorSpace fillColorSpace = context->fillColorSpace(); 678 updateGraphicsContext(context, textFillColor, textStrokeColor, textStrokeWidth, styleToUse->colorSpace()); 686 updateGraphicsContext(context, emphasisMarkColor, textStrokeColor, textStrokeWidth, styleToUse->colorSpace()); 713 updateGraphicsContext(context, selectionFillColor, selectionStrokeColor, selectionStrokeWidth, styleToUse->colorSpace()); 716 updateGraphicsContext(context, selectionEmphasisMarkColor, textStrokeColor, textStrokeWidth, styleToUse->colorSpace()); [all...] |
RenderBoxModelObject.cpp | 621 context->fillRoundedRect(border, bgColor, style()->colorSpace()); 623 context->fillRect(borderRect, bgColor, style()->colorSpace()); 742 context->fillRect(rect, baseColor, style()->colorSpace()); 749 context->fillRect(rect, bgColor, style()->colorSpace()); 767 context->drawTiledImage(image.get(), style()->colorSpace(), destRect, phase, tileSize, compositeOp, useLowQualityScaling); [all...] |
/external/webkit/Source/WebCore/editing/ |
SelectionController.cpp | [all...] |
/external/webkit/Source/WebCore/html/canvas/ |
CanvasRenderingContext2D.cpp | [all...] |
/external/webkit/Source/WebCore/platform/graphics/ca/ |
GraphicsLayerCA.cpp | 684 CGColorSpaceRef colorSpace = CGImageGetColorSpace(m_pendingContentsImage.get()); 687 if (colorSpace && CFEqual(colorSpace, deviceRGB)) { [all...] |
/external/webkit/Source/WebCore/rendering/style/ |
RenderStyle.h | 34 #include "ColorSpace.h" 662 ColorSpace colorSpace() const { return static_cast<ColorSpace>(rareInheritedData->colorSpace); } [all...] |