Home
last modified time | relevance | path

Searched refs:currentContext (Results 1 – 25 of 25) sorted by relevance

/external/webkit/WebCore/platform/mac/
DLocalCurrentGraphicsContext.mm33 if (graphicsContext->platformContext() == [[NSGraphicsContext currentContext] graphicsPort]) {
38 m_savedNSGraphicsContext = [[NSGraphicsContext currentContext] retain];
DWidgetMac.mm187 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
188 if (currentContext == [[view window] graphicsContext] || ![currentContext isDrawingToScreen]) {
213 ASSERT(cgContext == [currentContext graphicsPort]);
/external/webkit/WebCore/platform/graphics/mac/
DGraphicsContextMac.mm140 // FIXME: This code should not use NSGraphicsContext currentContext
146 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
147 CGContextRef context = (CGContextRef)[currentContext graphicsPort];
DFontMacATSUI.mm360 …// Sometimes [[NSGraphicsContext currentContext] graphicsPort] may return the wrong (or no!) conte…
361 …aphicsContext->platformContext() : (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
/external/webkit/WebKit/mac/WebInspector/
DWebNodeHighlightView.mm72 ASSERT([[NSGraphicsContext currentContext] isFlipped]);
74 …GraphicsContext context((PlatformGraphicsContext*)[[NSGraphicsContext currentContext] graphicsPort…
/external/webkit/WebKitTools/DumpRenderTree/mac/
DEventSendingController.mm299 context:[NSGraphicsContext currentContext]
353 context:[NSGraphicsContext currentContext]
406 context:[NSGraphicsContext currentContext]
436 context:[NSGraphicsContext currentContext]
539 context:[NSGraphicsContext currentContext]
552 context:[NSGraphicsContext currentContext]
DPixelDumpSupportMac.mm237 RetainPtr<NSGraphicsContext> savedContext = [NSGraphicsContext currentContext];
/external/webkit/WebCore/bindings/v8/
DV8NPUtils.cpp72 … WebCore::DOMWindow* window = WebCore::V8Proxy::retrieveWindow(WebCore::V8Proxy::currentContext()); in convertV8ObjectToNPVariant()
DV8Proxy.cpp579 DOMWindow* window = retrieveWindow(currentContext()); in retrieve()
864 DOMWindow* originWindow = retrieveWindow(currentContext()); in isEnabled()
1175 v8::Local<v8::Context> V8Proxy::currentContext() in isEnabled() function in WebCore::V8Proxy
DV8Proxy.h294 static v8::Local<v8::Context> currentContext();
DV8DOMWrapper.cpp1470 v8::Handle<v8::Context> currentContext = v8::Context::GetCurrent(); in convertWindowToV8Object() local
1471 v8::Handle<v8::Object> currentGlobal = currentContext->Global(); in convertWindowToV8Object()
/external/webkit/WebKit/mac/Misc/
DWebKitNSStringExtras.mm78 NSGraphicsContext *nsContext = [NSGraphicsContext currentContext];
120 …CGContextSetShouldSmoothFonts(static_cast<CGContextRef>([[NSGraphicsContext currentContext] graphi…
140 … Font webCoreFont(FontPlatformData(font), ![[NSGraphicsContext currentContext] isDrawingToScreen]);
DWebStringTruncator.mm62 currentRenderer = Font(f, ![[NSGraphicsContext currentContext] isDrawingToScreen]);
/external/webkit/WebKit/mac/Plugins/
DWebNetscapePluginView.mm387 … CGContextRef currentContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
388 if (currentContext && WKCGContextIsBitmapContext(currentContext)) {
393 void* offscreenData = CGBitmapContextGetData(currentContext);
399 offscreenBounds.right = CGBitmapContextGetWidth(currentContext);
400 offscreenBounds.bottom = CGBitmapContextGetHeight(currentContext);
403 getQDPixelFormatForBitmapContext(currentContext), &offscreenBounds, 0, 0, 0,
404 … static_cast<char*>(offscreenData), CGBitmapContextGetBytesPerRow(currentContext));
418 … // Generate a QD origin based on the current affine transform for currentContext.
419 CGAffineTransform offscreenMatrix = CGContextGetCTM(currentContext);
437 …getNPRect(CGRectOffset(CGContextGetClipBoundingBox(currentContext), -origin.x, origin.y), window.c…
[all …]
/external/webkit/WebKit/mac/Plugins/Hosted/
DWebHostedNetscapePluginView.mm334 …ARendererRender(_softwareRenderer, (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort]…
336 …_proxy->print(reinterpret_cast<CGContextRef>([[NSGraphicsContext currentContext] graphicsPort]), […
/external/webkit/WebKit/mac/WebView/
DWebView.mm4128 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
4129 [currentContext saveGraphicsState];
4132 [currentContext restoreGraphicsState];
4139 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
4140 [currentContext saveGraphicsState];
4145 [currentContext restoreGraphicsState];
4151 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
4152 [currentContext saveGraphicsState];
4155 [currentContext restoreGraphicsState];
4162 NSGraphicsContext *currentContext = [NSGraphicsContext currentContext];
[all …]
DWebDynamicScrollBarsView.mm202 if (!inUpdateScrollers && [[NSGraphicsContext currentContext] isDrawingToScreen])
DWebFrame.mm521 …mContext = static_cast<PlatformGraphicsContext*>([[NSGraphicsContext currentContext] graphicsPort]…
522 ASSERT([[NSGraphicsContext currentContext] isFlipped]);
/external/webkit/WebKitExamplePlugins/NetscapeCocoaPlugin/
Dmain.m199 NSGraphicsContext *oldContext = [[NSGraphicsContext currentContext] retain];
/external/webkit/WebKitExamplePlugins/NetscapeInputMethodPlugin/
Dmain.m212 NSGraphicsContext *oldContext = [[NSGraphicsContext currentContext] retain];
/external/webkit/WebCore/page/mac/
DFrameMac.mm292 CGContextRef context = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
/external/webkit/WebCore/
DChangeLog-2005-12-194585 They now properly update the NSGrapicsContext currentContext, when
18689 currentContext and setStrokeColorAndLineWidthFromCurrentPen.
19713 (QPainter::currentContext): Assert that painting is not disabled.
DChangeLog-2006-05-101972 … (WebCore::GraphicsContext::drawRect): Rewrote to not rely on [NSGraphicsContext currentContext].
26891 (KRenderingDevice::currentContext): check isEmpty, return 0
26999 (KRenderingDevice::currentContext):
DChangeLog-2006-12-3128555 (WebCore::KRenderingDevice::currentContext):
31613 …l up into AppKit controls (and thus depend on the [NSGraphicsContext currentContext] being set cor…
DChangeLog-2005-08-2343672 (QPainter::currentContext):