Commit efa77d03 authored by kdecker@apple.com's avatar kdecker@apple.com
Browse files

Reviewed by Simon Fraser.

        Third step of:
        <rdar://problem/6398111> Integrate hardware layers with out-of-process plug-ins layer hosting mechanism

        * Plugins/WebNetscapePluginView.mm:
        (-[WebNetscapePluginView getVariable:value:]): Add case for WKNVSupportsCompositingCoreAnimationPluginsBool.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5bf1902b
2010-01-06 Kevin Decker <kdecker@apple.com>
Reviewed by Simon Fraser.
Third step of:
<rdar://problem/6398111> Integrate hardware layers with out-of-process plug-ins layer hosting mechanism
* Plugins/WebNetscapePluginView.mm:
(-[WebNetscapePluginView getVariable:value:]): Add case for WKNVSupportsCompositingCoreAnimationPluginsBool.
2010-01-06 Kevin Decker <kdecker@apple.com>
 
Reviewed by Simon Fraser.
......
......@@ -81,6 +81,7 @@
#define LoginWindowDidSwitchFromUserNotification @"WebLoginWindowDidSwitchFromUserNotification"
#define LoginWindowDidSwitchToUserNotification @"WebLoginWindowDidSwitchToUserNotification"
#define WKNVSupportsCompositingCoreAnimationPluginsBool 74656 /* TRUE if the browser supports hardware compositing of Core Animation plug-ins */
using namespace WebCore;
using namespace WebKit;
......@@ -2063,6 +2064,13 @@ static inline void getNPRect(const NSRect& nr, NPRect& npr)
*(WKNBrowserContainerCheckFuncs **)value = browserContainerCheckFuncs();
return NPERR_NO_ERROR;
}
#if USE(ACCELERATED_COMPOSITING)
case WKNVSupportsCompositingCoreAnimationPluginsBool:
{
*(NPBool *)value = [[[self webView] preferences] acceleratedCompositingEnabled];
return NPERR_NO_ERROR;
}
#endif
default:
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment