WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-165773-20161212142330.patch (text/plain), 2.84 KB, created by
Alex Christensen
on 2016-12-12 14:24:18 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Alex Christensen
Created:
2016-12-12 14:24:18 PST
Size:
2.84 KB
patch
obsolete
>Index: Source/WebKit/mac/ChangeLog >=================================================================== >--- Source/WebKit/mac/ChangeLog (revision 209727) >+++ Source/WebKit/mac/ChangeLog (working copy) >@@ -1,3 +1,17 @@ >+2016-12-12 Alex Christensen <achristensen@webkit.org> >+ >+ Remove unused workaround for Silverlight >+ https://bugs.webkit.org/show_bug.cgi?id=165773 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * Plugins/WebNetscapePluginView.mm: >+ (-[WebNetscapePluginView _workaroundSilverlightFullscreenBug:]): Deleted. >+ This code was introduced in January 2010. Microsoft fixed their bug shortly thereafter. >+ This code is not even called any more. >+ I need this to be removed because this is the only non-WebGL code that needs to link against >+ the OpenGL framework, and I'm changing how that is done to link only through ANGLE instead. >+ > 2016-12-10 Filip Pizlo <fpizlo@apple.com> > > The DOM should have an advancing wavefront opaque root barrier >Index: Source/WebKit/mac/Plugins/WebNetscapePluginView.mm >=================================================================== >--- Source/WebKit/mac/Plugins/WebNetscapePluginView.mm (revision 209558) >+++ Source/WebKit/mac/Plugins/WebNetscapePluginView.mm (working copy) >@@ -2235,37 +2235,6 @@ - (BOOL)_shouldCancelSrcStream > return NO; > } > >-// Work around Silverlight full screen performance issue by maintaining an accelerated GL pixel format. >-// We can safely remove it at some point in the future when both: >-// 1) Microsoft releases a genuine fix for 7288546. >-// 2) Enough Silverlight users update to the new Silverlight. >-// For now, we'll distinguish older broken versions of Silverlight by asking the plug-in if it resolved its full screen badness. >-- (void)_workaroundSilverlightFullscreenBug:(BOOL)initializedPlugin >-{ >- ASSERT(_isSilverlight); >- NPBool isFullscreenPerformanceIssueFixed = 0; >- NPPluginFuncs *pluginFuncs = [_pluginPackage.get() pluginFuncs]; >- if (pluginFuncs->getvalue && pluginFuncs->getvalue(plugin, static_cast<NPPVariable>(WKNVSilverlightFullscreenPerformanceIssueFixed), &isFullscreenPerformanceIssueFixed) == NPERR_NO_ERROR && isFullscreenPerformanceIssueFixed) >- return; >- >- static CGLPixelFormatObj pixelFormatObject = 0; >- static unsigned refCount = 0; >- >- if (initializedPlugin) { >- refCount++; >- if (refCount == 1) { >- const CGLPixelFormatAttribute attributes[] = { kCGLPFAAccelerated, static_cast<CGLPixelFormatAttribute>(0) }; >- GLint npix; >- CGLChoosePixelFormat(attributes, &pixelFormatObject, &npix); >- } >- } else { >- ASSERT(pixelFormatObject); >- refCount--; >- if (!refCount) >- CGLReleasePixelFormat(pixelFormatObject); >- } >-} >- > - (NPError)_createPlugin > { > plugin = (NPP)calloc(1, sizeof(NPP_t));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 165773
:
296950
|
296956
|
296960