Searched defs:platformContext (Results 1 - 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGraphicsContextPlatformPrivate.h43 GraphicsContextPlatformPrivate(PlatformContextSkia* platformContext) argument
44 : m_context(platformContext) { }
H A DImageSkia.cpp70 static ResamplingMode computeResamplingMode(PlatformContextSkia* platformContext, const NativeImageSkia& bitmap, int srcWidth, int srcHeight, float destWidth, float destHeight) argument
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) argument
264 paint.setAlpha(platformContext->getNormalizedAlpha());
265 paint.setLooper(platformContext->getDrawLooper());
267 SkCanvas* canvas = platformContext->canvas();
273 resampling = platformContext
[all...]
H A DSkiaFontWin.cpp260 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(); local
361 TextDrawingModeFlags textMode = platformContext->getTextDrawingMode();
365 platformContext->setupPaintForFilling(&paint);
367 if (!platformContext
279 skiaDrawText(HFONT hfont, HDC dc, PlatformContextSkia* platformContext, const SkPoint& point, SkPaint* paint, const WORD* glyphs, const int* advances, const GOFFSET* offsets, int numGlyphs) argument
[all...]
H A DGraphicsContextSkia.cpp226 setPaintingDisabled(!gc || !platformContext()->canvas());
234 PlatformGraphicsContext* GraphicsContext::platformContext() const function in class:WebCore::GraphicsContext
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()
[all...]
/external/webkit/Source/WebKit2/Shared/
H A DWebGraphicsContext.h51 CGContextRef platformContext() { return m_platformContext.get(); } function in class:WebKit::WebGraphicsContext
53 cairo_t* platformContext() { return m_platformContext.get(); } function in class:WebKit::WebGraphicsContext
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DFontCairo.cpp78 cairo_t* context = graphicsContext->platformContext()->cr();
111 PlatformContextCairo* platformContext = context->platformContext(); local
114 cairo_t* cr = platformContext->cr();
H A DGraphicsContextPlatformPrivateCairo.h53 : platformContext(newPlatformContext)
101 PlatformContextCairo* platformContext; member in class:WebCore::GraphicsContextPlatformPrivate
120 GraphicsContextPlatformPrivateToplevel(PlatformContextCairo* platformContext) argument
121 : GraphicsContextPlatformPrivate(platformContext)
127 delete platformContext;
H A DGraphicsContextCairo.cpp152 cairo_t* cairoContext = context->platformContext()->cr();
209 void GraphicsContext::platformInit(PlatformContextCairo* platformContext) argument
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 function in class:WebCore::GraphicsContext
233 return m_data->platformContext;
238 platformContext()->save();
252 platformContext()
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DTransparencyWin.h148 PlatformGraphicsContext* platformContext() const { return m_drawContext ? m_drawContext->platformContext() : 0; } function in class:WebCore::TransparencyWin
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DGraphicsContextHaiku.cpp75 PlatformGraphicsContext* GraphicsContext::platformContext() const function in class:WebCore::GraphicsContext
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DGraphicsContextOpenVG.cpp62 PlatformGraphicsContext* GraphicsContext::platformContext() const function in class:WebCore::GraphicsContext
/external/webkit/Source/WebCore/platform/graphics/texmap/
H A DTextureMapperNode.cpp434 PlatformGraphicsContext* platformContext = m_texture->beginPaintMedia(); local
435 GraphicsContext context(platformContext);
/external/webkit/Source/WebKit/chromium/src/
H A DWebMediaPlayerClientImpl.cpp443 // Since we're accessing platformContext() directly we have to manually
447 PlatformGraphicsContext* platformContext = context->platformContext(); local
448 WebCanvas* canvas = platformContext->canvas();
450 canvas->saveLayerAlpha(0, platformContext->getNormalizedAlpha());
456 m_webMediaPlayer->paint(context->platformContext(), rect);
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp136 PlatformGraphicsContext* GraphicsContext::platformContext() const function in class:WebCore::GraphicsContext
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGraphicsContextAndroid.cpp912 return new KRenderingDeviceContextQuartz(platformContext());
1013 PlatformGraphicsContext* GraphicsContext::platformContext() const function in class:WebCore::GraphicsContext
1173 CGContextRef context = platformContext();
1300 return gc->platformContext()->mCanvas;
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContextCG.cpp131 CGContextRef GraphicsContext::platformContext() const function in class:WebCore::GraphicsContext
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/platform/graphics/qt/
H A DGraphicsContextQt.cpp285 PlatformGraphicsContext* GraphicsContext::platformContext() const function in class:WebCore::GraphicsContext
292 const QTransform& matrix = platformContext()->combinedTransform();
909 QPainter* painter = platformContext();

Completed in 3336 milliseconds