GPU Process: Sandbox violations under IOSurface::maximumSize in the Web Content process
Created attachment 415282 [details] Patch
<rdar://problem/71603808>
Comment on attachment 415282 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415282&action=review > Source/WebCore/platform/graphics/cocoa/IOSurface.mm:248 > + static WTF::Optional<IntSize> maximumSize; > + return maximumSize; Can we assert that this is only called in the main thread?
Created attachment 415287 [details] Patch
Committed r270392: <https://trac.webkit.org/changeset/270392> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415287 [details].
Comment on attachment 415287 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415287&action=review > Source/WebKit/ChangeLog:17 > + Fetch the maximum allowed size of an IOSurface on the current hardware It will never change when switching between integrated and discrete?
I hope not, since we don’t recreate all existing surfaces when that happens. But it’s a good point.