Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 143e04df42bbcc533981678f616037385497041e
https://github.com/WebKit/WebKit/commit/143e04df42bbcc533981678f616037385497041e
Author: Said Abou-Hallawa <[email protected]>
Date: 2023-04-06 (Thu, 06 Apr 2023)
Changed paths:
M Source/WebCore/platform/graphics/GraphicsContext.cpp
M Source/WebCore/platform/graphics/GraphicsContext.h
M Source/WebCore/platform/graphics/NullGraphicsContext.h
Log Message:
-----------
Devirtualize GraphicsContext::drawConsumingImageBuffer()
https://bugs.webkit.org/show_bug.cgi?id=251809
rdar://105092612
Reviewed by Tim Horton.
The method will be resolved to ImageBuffer::drawConsuming() which will draw
a NativeImage via GraphicsContext::drawNativeImage() which is virtual.
* Source/WebCore/platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::drawRaisedEllipse):
(WebCore::NullGraphicsContext::drawConsumingImageBuffer): Deleted.
* Source/WebCore/platform/graphics/GraphicsContext.h:
(WebCore::GraphicsContext::drawConsumingImageBuffer):
* Source/WebCore/platform/graphics/NullGraphicsContext.h:
(WebCore::NullGraphicsContext::drawImageBuffer):
(WebCore::NullGraphicsContext::drawConsumingImageBuffer): Deleted.
Canonical link: https://commits.webkit.org/262695@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes