Most of copyRectFromOneSurfaceToAnother callers passed CAIRO_OPERATOR_SOURCE not to blend. BackingStoreBackendCairoImpl::scroll had copyRectFromOneSurfaceToAnother with the default cairoOperator CAIRO_OPERATOR_OVER, but scrolling should use CAIRO_OPERATOR_SOURCE because there is no need to blend and it can have a performance benefit. copyRectFromOneSurfaceToAnother callers; - https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.cpp?rev=254496#L68 - https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.cpp?rev=254496#L69 - https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextGLCairo.cpp?rev=254496#L72 - https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp?rev=254496#L489 - https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp?rev=254496#L653
Created attachment 387624 [details] patch to remove cairoOperator from copyRectFromOneSurfaceToAnother
Comment on attachment 387624 [details] patch to remove cairoOperator from copyRectFromOneSurfaceToAnother Clearing flags on attachment: 387624 Committed r254502: <https://trac.webkit.org/changeset/254502>
All reviewed patches have been landed. Closing bug.
<rdar://problem/58562059>
Thanks for your reviews!