Use IOSurfaces for CoreImage operations where possible
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 May 2018 00:26:56 +0000 (00:26 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 May 2018 00:26:56 +0000 (00:26 +0000)
commitbc79701c6881777f8976b044153c695fc03c36b1
treef512e744043e66c656567cbb75569b83cdc8d8d5
parent82286a0bf64ec9dfe45afd4d667daa93edb692c1
Use IOSurfaces for CoreImage operations where possible
https://bugs.webkit.org/show_bug.cgi?id=185230
<rdar://problem/39926929>

Reviewed by Jon Lee.

On iOS hardware, we can use IOSurfaces as a rendering destination
for CoreImage, which means we're keeping data on the GPU
for rendering.

As a drive-by fix, I used a convenience method for Gaussian blurs.

* rendering/RenderThemeIOS.mm:
(WebCore::RenderThemeIOS::paintSystemPreviewBadge):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderThemeIOS.h
Source/WebCore/rendering/RenderThemeIOS.mm