-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove WebGLLoadPolicy code #5792
Remove WebGLLoadPolicy code #5792
Conversation
EWS run on previous version of this PR (hash d8867c7) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like most of the commit is missing, there's lots of files in the message that aren't actually changed here.
Very weird! Not sure why the |
d8867c7
to
1a8b75b
Compare
EWS run on previous version of this PR (hash 1a8b75b) |
1a8b75b
to
226e110
Compare
EWS run on current version of this PR (hash 226e110) |
EWS run on previous version of this PR (hash 226e110) |
@@ -510,30 +509,14 @@ std::unique_ptr<WebGLRenderingContextBase> WebGLRenderingContextBase::create(Can | |||
|
|||
// The FrameLoaderClient might block creation of a new WebGL context despite the page settings; in | |||
// particular, if WebGL contexts were lost one or more times via the GL_ARB_robustness extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment can probably go too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I will remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no! I have had dreams about removing this. What do I do now?
This can't land until the code in Safari that uses it is removed. |
226e110
to
e68005f
Compare
Commit message contains (OOPS!), blocking PR #5792 |
EWS run on previous version of this PR (hash e68005f) |
Where is the OOPS? The commit message doesn't have it. |
Oh. It's there, just after the changelog. |
e68005f
to
48ae15c
Compare
EWS run on current version of this PR (hash 48ae15c) |
Going unsafe. I checked the test failure locally. |
https://bugs.webkit.org/show_bug.cgi?id=247039 rdar://101569935 Reviewed by Kimmo Kinnunen. We don't use the WebGLLoadPolicy mechanism any more. Remove all the code. * LayoutTests/fast/canvas/webgl/useWhilePending-expected.txt: Removed. * LayoutTests/fast/canvas/webgl/useWhilePending.html: Removed. * Source/WebCore/html/canvas/WebGL2RenderingContext.cpp: Lots of removal for isContextLostOrPending(). * Source/WebCore/html/canvas/WebGLRenderingContext.cpp: * Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::isContextLostOrPending): Deleted. * Source/WebCore/html/canvas/WebGLRenderingContextBase.h: * Source/WebCore/loader/FrameLoaderClient.h: * Source/WebCore/loader/FrameLoaderTypes.h: * Source/WebCore/page/Settings.yaml: * Source/WebKit/Scripts/webkit/messages.py: (headers_for_type): * Source/WebKit/UIProcess/API/APINavigationClient.h: (API::NavigationClient::webGLLoadPolicy const): Deleted. (API::NavigationClient::resolveWebGLLoadPolicy const): Deleted. * Source/WebKit/UIProcess/API/C/WKAPICast.h: (WebKit::toWebGLLoadPolicy): Deleted. * Source/WebKit/UIProcess/API/C/WKPage.cpp: (WKPageSetPageLoaderClient): * Source/WebKit/UIProcess/API/C/WKPageLoaderClient.h: * Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h: * Source/WebKit/UIProcess/Cocoa/NavigationState.h: * Source/WebKit/UIProcess/Cocoa/NavigationState.mm: (WebKit::NavigationState::setNavigationDelegate): (WebKit::toWebCoreWebGLLoadPolicy): Deleted. (WebKit::NavigationState::NavigationClient::webGLLoadPolicy const): Deleted. (WebKit::NavigationState::NavigationClient::resolveWebGLLoadPolicy const): Deleted. * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::webGLPolicyForURL): Deleted. (WebKit::WebPageProxy::resolveWebGLPolicyForURL): Deleted. * Source/WebKit/UIProcess/WebPageProxy.h: * Source/WebKit/UIProcess/WebPageProxy.messages.in: * Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::webGLPolicyForURL const): Deleted. (WebKit::WebFrameLoaderClient::resolveWebGLPolicyForURL const): Deleted. * Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.h: * Source/WebKit/WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::webGLPolicyForURL): Deleted. (WebKit::WebPage::resolveWebGLPolicyForURL): Deleted. * Source/WebKit/WebProcess/WebPage/WebPage.h: * Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::webGLPolicyForURL): Deleted. (WebKit::WebPage::resolveWebGLPolicyForURL): Deleted. * Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.h: * Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm: (shouldBlockWebGL): Deleted. (WebFrameLoaderClient::webGLPolicyForURL const): Deleted. (WebFrameLoaderClient::resolveWebGLPolicyForURL const): Deleted. * Tools/TestWebKitAPI/SourcesCocoa.txt: * Tools/TestWebKitAPI/Tests/WebKitCocoa/WebGLPolicy.mm: Removed. Canonical link: https://commits.webkit.org/256114@main
48ae15c
to
82d2d64
Compare
Committed 256114@main (82d2d64): https://commits.webkit.org/256114@main Reviewed commits have been landed. Closing PR #5792 and removing active labels. |
82d2d64
48ae15c
π π§ͺ winπ mac-debugπ gtkπ wincairoπ§ͺ ios-wk2π§ͺ gtk-wk2π§ͺ api-iosπ§ͺ api-macπ§ͺ api-gtkπ§ͺ mac-wk1π tv-simπ§ͺ mac-wk2π π§ͺ mergeπ§ͺ mac-AS-debug-wk2π§ͺ mac-wk2-stress