/external/webkit/Source/WebKit2/Shared/API/c/cg/ |
WKGraphicsContextCG.cpp | 37 return toImpl(graphicsContextRef)->platformContext();
|
WKImageCG.cpp | 47 CGContextDrawImage(graphicsContext->platformContext(), CGRectMake(0, 0, imageSize.width(), imageSize.height()), imageRef);
|
/external/webkit/Source/WebKit2/Shared/API/c/gtk/ |
WKGraphicsContextGtk.cpp | 37 return toImpl(graphicsContextRef)->platformContext();
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
GraphicsContextPlatformPrivate.h | 43 GraphicsContextPlatformPrivate(PlatformContextSkia* platformContext) 44 : m_context(platformContext) { } 49 // Non-owning pointer to the PlatformContext.
|
GraphicsContextSkia.cpp | 226 setPaintingDisabled(!gc || !platformContext()->canvas()); 234 PlatformGraphicsContext* GraphicsContext::platformContext() const 247 if (platformContext()->useGPU()) 248 platformContext()->gpuCanvas()->save(); 251 platformContext()->save(); 259 if (platformContext()->useGPU()) 260 platformContext()->gpuCanvas()->restore(); 263 platformContext()->restore(); 275 platformContext()->canvas()->saveLayerAlpha( 286 platformContext()->canvas()->restore() [all...] |
ImageSkia.cpp | 70 static ResamplingMode computeResamplingMode(PlatformContextSkia* platformContext, const NativeImageSkia& bitmap, int srcWidth, int srcHeight, float destWidth, float destHeight) 72 if (platformContext->hasImageResamplingHint()) { 75 platformContext->getImageResamplingHint(&srcSize, &dstSize); 148 if (platformContext->interpolationQuality() == InterpolationHigh 149 && !(platformContext->canvas()->getTotalMatrix().getType() & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask))) 259 static void paintSkBitmap(PlatformContextSkia* platformContext, const NativeImageSkia& bitmap, const SkIRect& srcRect, const SkRect& destRect, const SkXfermode::Mode& compOp) 264 paint.setAlpha(platformContext->getNormalizedAlpha()); 265 paint.setLooper(platformContext->getDrawLooper()); 267 SkCanvas* canvas = platformContext->canvas(); 273 resampling = platformContext->printing() ? RESAMPLE_NONE [all...] |
SkiaFontWin.cpp | 260 if (context->platformContext()->getTextDrawingMode() != TextModeFill) 271 if (!context->platformContext()->isNativeFontRenderingAllowed()) 281 PlatformContextSkia* platformContext, 289 SkCanvas* canvas = platformContext->canvas(); 290 if (!platformContext->isNativeFontRenderingAllowed()) { 360 PlatformContextSkia* platformContext = context->platformContext(); 361 TextDrawingModeFlags textMode = platformContext->getTextDrawingMode(); 365 platformContext->setupPaintForFilling(&paint); 367 if (!platformContext->isNativeFontRenderingAllowed()) [all...] |
ImageBufferSkia.cpp | 58 // PlatformContext doesn't actually need to use the object, and this makes all 78 m_context->platformContext()->setDrawingToImageBuffer(true); 108 m_context->platformContext()->syncSoftwareCanvas(); 114 context->platformContext()->beginLayerClippedToImage(rect, this); 120 if (m_data.m_platformContext.useGPU() && context->platformContext()->useGPU()) { 121 if (context->platformContext()->canAccelerate()) { 129 context->platformContext()->prepareForHardwareDraw(); 130 context->platformContext()->gpuCanvas()->drawTexturedRect(sourceTexture, m_size, srcRectFlipped, destRectNormalized, styleColorSpace, op); 149 const SkBitmap& bitmap = *context()->platformContext()->bitmap(); 259 context()->platformContext()->syncSoftwareCanvas() [all...] |
/external/webkit/Source/WebKit2/Shared/ |
WebGraphicsContext.cpp | 39 : m_platformContext(graphicsContext->platformContext()) 41 : m_platformContext(graphicsContext->platformContext()->cr())
|
WebGraphicsContext.h | 51 CGContextRef platformContext() { return m_platformContext.get(); } 53 cairo_t* platformContext() { return m_platformContext.get(); }
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContextPlatformPrivateCairo.h | 53 : platformContext(newPlatformContext) 101 PlatformContextCairo* platformContext; 120 GraphicsContextPlatformPrivateToplevel(PlatformContextCairo* platformContext) 121 : GraphicsContextPlatformPrivate(platformContext) 127 delete platformContext;
|
GraphicsContextCairo.cpp | 152 cairo_t* cairoContext = context->platformContext()->cr(); 209 void GraphicsContext::platformInit(PlatformContextCairo* platformContext) 211 m_data = new GraphicsContextPlatformPrivate(platformContext); 212 if (platformContext) 213 m_data->syncContext(platformContext->cr()); 225 cairo_t* cr = platformContext()->cr(); 231 PlatformContextCairo* GraphicsContext::platformContext() const 233 return m_data->platformContext; 238 platformContext()->save(); 252 platformContext()->restore() [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
LocalCurrentGraphicsContext.mm | 33 if (graphicsContext->platformContext() == [[NSGraphicsContext currentContext] graphicsPort]) { 39 NSGraphicsContext* newContext = [NSGraphicsContext graphicsContextWithGraphicsPort:graphicsContext->platformContext() flipped:YES];
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
PDFDocumentImage.cpp | 113 CGContextTranslateCTM(context->platformContext(), floorf(-min(zero, min(rx.x, ry.x))), floorf(-min(zero, min(rx.y, ry.y)))); 116 CGContextRotateCTM(context->platformContext(), -m_rotation); 119 CGContextTranslateCTM(context->platformContext(), m_mediaBox.x() - m_cropBox.x(), m_mediaBox.y() - m_cropBox.y()); 171 CGContextTranslateCTM(context->platformContext(), dstRect.x() - srcRect.x() * hScale, dstRect.y() - srcRect.y() * vScale); 172 CGContextScaleCTM(context->platformContext(), hScale, vScale); 173 CGContextScaleCTM(context->platformContext(), 1, -1); 174 CGContextTranslateCTM(context->platformContext(), 0, -srcRect.height()); 175 CGContextClipToRect(context->platformContext(), CGRectIntegral(srcRect)); 180 CGContextTranslateCTM(context->platformContext(), -m_mediaBox.x(), -m_mediaBox.y()); 181 CGContextDrawPDFPage(context->platformContext(), CGPDFDocumentGetPage(m_document, m_currentPage + 1)) [all...] |
GraphicsContextCG.cpp | 131 CGContextRef GraphicsContext::platformContext() const 142 CGContextSaveGState(platformContext()); 150 CGContextRestoreGState(platformContext()); 163 CGContextRef context = platformContext(); 238 CGContextRef context = platformContext(); 319 CGContextRef context = platformContext(); 420 CGContextRef context = platformContext(); 441 CGContextRef context = platformContext(); 456 CGContextRef cgContext = platformContext(); 471 CGContextRef cgContext = platformContext(); [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderMediaControls.cpp | 112 wkDrawMediaUIPart(WKMediaUIPartFullscreenButton, themeStyle, paintInfo.context->platformContext(), r, determineState(o)); 118 wkDrawMediaUIPart(captionsVisible ? WKMediaUIPartHideClosedCaptionsButton : WKMediaUIPartShowClosedCaptionsButton, themeStyle, paintInfo.context->platformContext(), r, determineState(o)); 125 wkDrawMediaUIPart(audioEnabled ? WKMediaUIPartMuteButton : WKMediaUIPartUnMuteButton, themeStyle, paintInfo.context->platformContext(), r, determineState(o)); 132 wkDrawMediaUIPart(canPlay ? WKMediaUIPartPlayButton : WKMediaUIPartPauseButton, themeStyle, paintInfo.context->platformContext(), r, determineState(o)); 136 wkDrawMediaUIPart(WKMediaUIPartRewindButton, themeStyle, paintInfo.context->platformContext(), r, determineState(o)); 139 wkDrawMediaUIPart(WKMediaUIPartSeekBackButton, themeStyle, paintInfo.context->platformContext(), r, determineState(o)); 142 wkDrawMediaUIPart(WKMediaUIPartSeekForwardButton, themeStyle, paintInfo.context->platformContext(), r, determineState(o)); 147 wkDrawMediaSliderTrack(themeStyle, paintInfo.context->platformContext(), unzoomedRect, mediaElement->percentLoaded() * mediaElement->duration(), mediaElement->currentTime(), mediaElement->duration(), determineState(o)); 152 wkDrawMediaUIPart(WKMediaUIPartTimelineSliderThumb, themeStyle, paintInfo.context->platformContext(), r, determineState(o)); 155 wkDrawMediaUIPart(WKMediaUIPartVolumeSliderContainer, themeStyle, paintInfo.context->platformContext(), r, determineState(o)) [all...] |
/external/webkit/Source/WebKit/android/jni/ |
WebFrameView.cpp | 64 SkCanvas* canvas = ctx->platformContext()->mCanvas; 72 // to handle the case where platformContext() is null. However, we still 74 SkCanvas* canvas = ctx->platformContext() ? ctx->platformContext()->mCanvas : NULL;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
FontLinux.cpp | 113 gc->platformContext()->prepareForSoftwareDraw(); 115 SkCanvas* canvas = gc->platformContext()->canvas(); 116 TextDrawingModeFlags textMode = gc->platformContext()->getTextDrawingMode(); 121 gc->platformContext()->setupPaintForFilling(&paint); 123 adjustTextRenderMode(&paint, gc->platformContext()); 140 && gc->platformContext()->getStrokeStyle() != NoStroke 141 && gc->platformContext()->getStrokeThickness() > 0) { 144 gc->platformContext()->setupPaintForStroking(&paint, 0, 0); 146 adjustTextRenderMode(&paint, gc->platformContext()); 189 SkCanvas* canvas = gc->platformContext()->canvas() [all...] |
TransparencyWin.h | 148 PlatformGraphicsContext* platformContext() const { return m_drawContext ? m_drawContext->platformContext() : 0; }
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
StillImageHaiku.cpp | 74 context->platformContext()->DrawBitmap(&m_bitmap, sourceRect, destRect);
|
ImageHaiku.cpp | 116 ctxt->platformContext()->SetDrawingMode(B_OP_ALPHA); 117 ctxt->platformContext()->DrawBitmapAsync(image, srcRect, dstRect); 149 context->platformContext()->SetDrawingMode(B_OP_ALPHA); 151 context->platformContext()->SetDrawingMode(B_OP_COPY); 159 context->platformContext()->DrawBitmapAsync(image, bTileRect, bDstRect);
|
GradientHaiku.cpp | 69 context->platformContext()->FillRect(rect, *platformGradient());
|
/external/webkit/Source/WebCore/platform/gtk/ |
ScrollbarThemeGtk3.cpp | 81 gtk_render_background(m_context, context->platformContext()->cr(), 83 gtk_render_frame(m_context, context->platformContext()->cr(), 95 gtk_render_frame(m_context, context->platformContext()->cr(), scrollbar->x(), scrollbar->y(), scrollbar->width(), scrollbar->height()); 114 gtk_render_slider(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.height(), 140 gtk_render_background(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.height()); 141 gtk_render_frame(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.height()); 166 gtk_render_arrow(m_context, context->platformContext()->cr(), angle, arrowPoint.x(), arrowPoint.y(), arrowSize);
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
IconQt.cpp | 62 QPainter *p = static_cast<QPainter*>(ctx->platformContext());
|
/external/webkit/Source/WebKit2/Shared/qt/ |
ShareableBitmapQt.cpp | 53 QPainter* painter = context.platformContext();
|