Skip to content

Commit

Permalink
Expose more serialized type metadata to IPC test API
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=271341
rdar://125116221

Reviewed by Sihui Liu.

* Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.messages.in:
* Source/WebKit/GPUProcess/media/RemoteSourceBufferProxy.messages.in:
* Source/WebKit/Scripts/webkit/messages.py:
(types_that_must_be_moved):
(serialized_identifiers):
(headers_for_type):
* Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in:
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTree.serialization.in:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.messages.in:
* Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.messages.in:
* Source/WebKit/UIProcess/WebPageProxy.messages.in:
* Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.messages.in:
* Source/WebKit/WebProcess/Network/NetworkProcessConnection.messages.in:
* Source/WebKit/WebProcess/Network/WebResourceLoader.messages.in:
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemoteProperties.serialization.in:
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.messages.in:
* Source/WebKit/WebProcess/cocoa/VideoPresentationManager.messages.in:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm:

Canonical link: https://commits.webkit.org/276461@main
  • Loading branch information
achristensen07 committed Mar 21, 2024
1 parent 679ba4c commit 5043f9e
Show file tree
Hide file tree
Showing 16 changed files with 66 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ messages -> RemoteMediaPlayerProxy {
SetPreload(enum:uint8_t WebCore::MediaPlayerPreload preload)
SetPrivateBrowsingMode(bool privateMode)
SetPreservesPitch(bool preservesPitch)
SetPitchCorrectionAlgorithm(WebCore::MediaPlayer::PitchCorrectionAlgorithm algorithm)
SetPitchCorrectionAlgorithm(enum:uint8_t WebCore::MediaPlayerPitchCorrectionAlgorithm algorithm)

PrepareForRendering()
SetPageIsVisible(bool visible, String sceneIdentifier)
Expand All @@ -62,7 +62,7 @@ messages -> RemoteMediaPlayerProxy {
VideoFullscreenStandbyChanged(bool standby)
#endif

SetBufferingPolicy(WebCore::MediaPlayer::BufferingPolicy policy)
SetBufferingPolicy(enum:uint8_t WebCore::MediaPlayerBufferingPolicy policy)
SetPresentationSize(WebCore::IntSize size)

#if PLATFORM(COCOA)
Expand Down
12 changes: 10 additions & 2 deletions Source/WebKit/Scripts/webkit/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def types_that_must_be_moved():
'WebKit::WebIDBResult',
'WebKit::LoadParameters',
'WebCore::ShareableBitmapHandle',
'WebCore::ShareableResource::Handle',
'WebCore::ShareableResourceHandle',
'WebCore::SharedMemory::Handle',
'WebKit::SharedVideoFrame',
'WebKit::SharedVideoFrame::Buffer',
Expand Down Expand Up @@ -303,6 +303,8 @@ def forward_declarations_for_namespace(namespace, kind_and_types):
def serialized_identifiers():
return [
'IPC::AsyncReplyID',
'WebCore::AttributedStringTextTableBlockID',
'WebCore::AttributedStringTextTableID',
'WebCore::BackgroundFetchRecordIdentifier',
'WebCore::BroadcastChannelIdentifier',
'WebCore::DictationContext',
Expand All @@ -311,6 +313,7 @@ def serialized_identifiers():
'WebCore::FileSystemHandleIdentifier',
'WebCore::FileSystemSyncAccessHandleIdentifier',
'WebCore::ImageDecoderIdentifier',
'WebCore::InbandGenericCueIdentifier',
'WebCore::LayerHostingContextIdentifier',
'WebCore::LibWebRTCSocketIdentifier',
'WebCore::MediaKeySystemRequestIdentifier',
Expand Down Expand Up @@ -782,6 +785,8 @@ def headers_for_type(type):
'WebCore::AlternativeTextType': ['<WebCore/AlternativeTextClient.h>'],
'WebCore::ApplyTrackingPrevention': ['<WebCore/NetworkStorageSession.h>'],
'WebCore::AttachmentAssociatedElementType': ['<WebCore/AttachmentAssociatedElement.h>'],
'WebCore::AttributedStringTextTableID': ['<WebCore/AttributedString.h>'],
'WebCore::AttributedStringTextTableBlockID': ['<WebCore/AttributedString.h>'],
'WebCore::AutocorrectionResponse': ['<WebCore/AlternativeTextClient.h>'],
'WebCore::AutoplayEventFlags': ['<WebCore/AutoplayEvent.h>'],
'WebCore::BackForwardItemIdentifier': ['<WebCore/ProcessQualified.h>', '<WebCore/BackForwardItemIdentifier.h>', '<wtf/ObjectIdentifier.h>'],
Expand Down Expand Up @@ -838,6 +843,7 @@ def headers_for_type(type):
'WebCore::LineCap': ['<WebCore/GraphicsTypes.h>'],
'WebCore::LineJoin': ['<WebCore/GraphicsTypes.h>'],
'WebCore::LockBackForwardList': ['<WebCore/FrameLoaderTypes.h>'],
'WebCore::MediaPlayerBufferingPolicy': ['<WebCore/MediaPlayerEnums.h>'],
'WebCore::MediaPlayerMediaEngineIdentifier': ['<WebCore/MediaPlayerEnums.h>'],
'WebCore::MediaPlayerPitchCorrectionAlgorithm': ['<WebCore/MediaPlayerEnums.h>'],
'WebCore::MediaPlayerPreload': ['<WebCore/MediaPlayerEnums.h>'],
Expand Down Expand Up @@ -871,7 +877,7 @@ def headers_for_type(type):
'WebCore::PhotoCapabilitiesOrError': ['<WebCore/RealtimeMediaSource.h>'],
'WebCore::PlatformTextTrackData': ['<WebCore/PlatformTextTrack.h>'],
'WebCore::PlatformWheelEventPhase': ['<WebCore/PlatformWheelEvent.h>'],
'WebCore::PlaybackSessionModel::PlaybackState': ['<WebCore/PlaybackSessionModel.h>'],
'WebCore::PlaybackSessionModelPlaybackState': ['<WebCore/PlaybackSessionModel.h>'],
'WebCore::PluginInfo': ['<WebCore/PluginData.h>'],
'WebCore::PluginLoadClientPolicy': ['<WebCore/PluginData.h>'],
'WebCore::PolicyAction': ['<WebCore/FrameLoaderTypes.h>'],
Expand Down Expand Up @@ -910,6 +916,7 @@ def headers_for_type(type):
'WebCore::ShapeDetection::DetectedFace': ['<WebCore/DetectedFaceInterface.h>'],
'WebCore::ShapeDetection::DetectedText': ['<WebCore/DetectedTextInterface.h>'],
'WebCore::ShapeDetection::FaceDetectorOptions': ['<WebCore/FaceDetectorOptionsInterface.h>'],
'WebCore::ShareableResourceHandle': ['<WebCore/ShareableResource.h>'],
'WebCore::ShareDataWithParsedURL': ['<WebCore/ShareData.h>'],
'WebCore::ShouldContinuePolicyCheck': ['<WebCore/FrameLoaderTypes.h>'],
'WebCore::ShouldNotifyWhenResolved': ['<WebCore/ServiceWorkerTypes.h>'],
Expand Down Expand Up @@ -982,6 +989,7 @@ def headers_for_type(type):
'WebCore::WebGPU::VertexFormat': ['<WebCore/WebGPUVertexFormat.h>'],
'WebCore::WebGPU::VertexStepMode': ['<WebCore/WebGPUVertexStepMode.h>'],
'WebCore::WheelEventProcessingSteps': ['<WebCore/ScrollingCoordinatorTypes.h>'],
'WebCore::WheelEventTestMonitorDeferReason': ['<WebCore/WheelEventTestMonitor.h>'],
'WebCore::WheelScrollGestureState': ['<WebCore/PlatformWheelEvent.h>'],
'WebCore::WillContinueLoading': ['<WebCore/FrameLoaderTypes.h>'],
'WebCore::WillInternallyHandleFailure': ['<WebCore/FrameLoaderTypes.h>'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
#include "WebPageProxyIdentifier.h"
#include "WebTransportSession.h"
#include "WebURLSchemeHandlerIdentifier.h"
#include <WebCore/AttributedString.h>
#include <WebCore/BackgroundFetchRecordIdentifier.h>
#include <WebCore/BroadcastChannelIdentifier.h>
#include <WebCore/DictationContext.h>
Expand All @@ -111,6 +112,7 @@
#include <WebCore/FileSystemSyncAccessHandleIdentifier.h>
#include <WebCore/IDBDatabaseConnectionIdentifier.h>
#include <WebCore/ImageDecoderIdentifier.h>
#include <WebCore/InbandGenericCueIdentifier.h>
#include <WebCore/LayerHostingContextIdentifier.h>
#include <WebCore/LibWebRTCSocketIdentifier.h>
#include <WebCore/MediaKeySystemRequestIdentifier.h>
Expand Down Expand Up @@ -452,6 +454,8 @@ std::optional<JSC::JSValue> jsValueForReplyArguments(JSC::JSGlobalObject* global
Vector<ASCIILiteral> serializedIdentifiers()
{
static_assert(sizeof(uint64_t) == sizeof(IPC::AsyncReplyID));
static_assert(sizeof(uint64_t) == sizeof(WebCore::AttributedStringTextTableBlockID));
static_assert(sizeof(uint64_t) == sizeof(WebCore::AttributedStringTextTableID));
static_assert(sizeof(uint64_t) == sizeof(WebCore::BackgroundFetchRecordIdentifier));
static_assert(sizeof(uint64_t) == sizeof(WebCore::BroadcastChannelIdentifier));
static_assert(sizeof(uint64_t) == sizeof(WebCore::DictationContext));
Expand All @@ -460,6 +464,7 @@ Vector<ASCIILiteral> serializedIdentifiers()
static_assert(sizeof(uint64_t) == sizeof(WebCore::FileSystemHandleIdentifier));
static_assert(sizeof(uint64_t) == sizeof(WebCore::FileSystemSyncAccessHandleIdentifier));
static_assert(sizeof(uint64_t) == sizeof(WebCore::ImageDecoderIdentifier));
static_assert(sizeof(uint64_t) == sizeof(WebCore::InbandGenericCueIdentifier));
static_assert(sizeof(uint64_t) == sizeof(WebCore::LayerHostingContextIdentifier));
static_assert(sizeof(uint64_t) == sizeof(WebCore::LibWebRTCSocketIdentifier));
static_assert(sizeof(uint64_t) == sizeof(WebCore::MediaKeySystemRequestIdentifier));
Expand Down Expand Up @@ -570,6 +575,8 @@ Vector<ASCIILiteral> serializedIdentifiers()
static_assert(sizeof(uint64_t) == sizeof(WebKit::WebURLSchemeHandlerIdentifier));
return {
"IPC::AsyncReplyID"_s,
"WebCore::AttributedStringTextTableBlockID"_s,
"WebCore::AttributedStringTextTableID"_s,
"WebCore::BackgroundFetchRecordIdentifier"_s,
"WebCore::BroadcastChannelIdentifier"_s,
"WebCore::DictationContext"_s,
Expand All @@ -578,6 +585,7 @@ Vector<ASCIILiteral> serializedIdentifiers()
"WebCore::FileSystemHandleIdentifier"_s,
"WebCore::FileSystemSyncAccessHandleIdentifier"_s,
"WebCore::ImageDecoderIdentifier"_s,
"WebCore::InbandGenericCueIdentifier"_s,
"WebCore::LayerHostingContextIdentifier"_s,
"WebCore::LibWebRTCSocketIdentifier"_s,
"WebCore::MediaKeySystemRequestIdentifier"_s,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ header: <WebCore/ResourceRequest.h>
Vector<std::optional<WebCore::AttributedString::TableBlockAndTableIDPair>> tableBlockAndTableIDs
Vector<WebCore::AttributedString::TextListID> listIDs
}
using WebCore::AttributedString::TableBlockAndTableIDPair = std::pair<WebCore::AttributedStringTextTableBlockID, WebCore::AttributedStringTextTableID>

[Nested] struct WebCore::AttributedString::AttributeValue {
#if ENABLE(MULTI_REPRESENTATION_HEIC)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ headers: "LayerProperties.h" "PlatformCALayerRemote.h"

[Nested] struct WebKit::RemoteLayerTreeTransaction::LayerCreationProperties {
WebCore::PlatformLayerIdentifier layerID;
WebCore::PlatformCALayer::LayerType type;
WebCore::PlatformCALayerLayerType type;
std::optional<WebKit::RemoteLayerTreeTransaction::LayerCreationProperties::VideoElementData> videoElementData;
#if ENABLE(MODEL_ELEMENT)
std::variant<WebKit::RemoteLayerTreeTransaction::LayerCreationProperties::NoAdditionalData, WebKit::RemoteLayerTreeTransaction::LayerCreationProperties::CustomData, Ref<WebCore::Model>, WebCore::LayerHostingContextIdentifier> additionalData;
Expand Down Expand Up @@ -243,8 +243,8 @@ headers: "LayerProperties.h" "PlatformCALayerRemote.h"
[OptionalTupleBit=WebKit::LayerChange::BackgroundColorChanged] WebCore::Color backgroundColor;
[OptionalTupleBit=WebKit::LayerChange::BorderColorChanged] WebCore::Color borderColor;
[OptionalTupleBit=WebKit::LayerChange::CustomAppearanceChanged] WebCore::GraphicsLayer::CustomAppearance customAppearance;
[OptionalTupleBit=WebKit::LayerChange::MinificationFilterChanged] WebCore::PlatformCALayer::FilterType minificationFilter;
[OptionalTupleBit=WebKit::LayerChange::MagnificationFilterChanged] WebCore::PlatformCALayer::FilterType magnificationFilter;
[OptionalTupleBit=WebKit::LayerChange::MinificationFilterChanged] WebCore::PlatformCALayerFilterType minificationFilter;
[OptionalTupleBit=WebKit::LayerChange::MagnificationFilterChanged] WebCore::PlatformCALayerFilterType magnificationFilter;
[OptionalTupleBit=WebKit::LayerChange::BlendModeChanged] WebCore::BlendMode blendMode;
[OptionalTupleBit=WebKit::LayerChange::WindRuleChanged] WebCore::WindRule windRule;
[OptionalTupleBit=WebKit::LayerChange::VideoGravityChanged] WebCore::MediaPlayerVideoGravity videoGravity;
Expand Down
28 changes: 28 additions & 0 deletions Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Original file line number Diff line number Diff line change
Expand Up @@ -4070,6 +4070,7 @@ enum class WebCore::CDMSessionType : uint8_t {
PersistentLicense
};
using WebCore::CDMInstanceSession::LicenseType = WebCore::CDMSessionType;
using WebCore::CDMInstanceSession::Message = std::pair<WebCore::CDMMessageType, Ref<WebCore::SharedBuffer>>

struct WebCore::CDMRestrictions {
bool distinctiveIdentifierDenied;
Expand Down Expand Up @@ -7389,6 +7390,8 @@ header: <WebCore/SourceBufferPrivateClient.h>
size_t numMediaSamples;
};

using WebCore::SourceBufferPrivate::SamplesPromise::Result = Expected<Vector<String>, int>

#endif

header: <WebCore/Font.h>
Expand Down Expand Up @@ -7914,3 +7917,28 @@ using WebCore::Glyph = unsigned short

enum class WebCore::ContentExtensionDefaultEnablement : bool
using WebCore::ContentExtensionEnablement = std::pair<WebCore::ContentExtensionDefaultEnablement, HashSet<String>>;

#if USE(CG)
using WebCore::DisplayList::Item = std::variant<WebCore::DisplayList::ApplyDeviceScaleFactor, WebCore::DisplayList::BeginTransparencyLayer, WebCore::DisplayList::ClearRect, WebCore::DisplayList::ClearDropShadow, WebCore::DisplayList::Clip, WebCore::DisplayList::ClipRoundedRect, WebCore::DisplayList::ClipOut, WebCore::DisplayList::ClipOutRoundedRect, WebCore::DisplayList::ClipOutToPath, WebCore::DisplayList::ClipPath, WebCore::DisplayList::ClipToImageBuffer, WebCore::DisplayList::ConcatenateCTM, WebCore::DisplayList::DrawControlPart, WebCore::DisplayList::DrawDotsForDocumentMarker, WebCore::DisplayList::DrawEllipse, WebCore::DisplayList::DrawFilteredImageBuffer, WebCore::DisplayList::DrawFocusRingPath, WebCore::DisplayList::DrawFocusRingRects, WebCore::DisplayList::DrawGlyphs, WebCore::DisplayList::DrawDecomposedGlyphs, WebCore::DisplayList::DrawDisplayListItems, WebCore::DisplayList::DrawImageBuffer, WebCore::DisplayList::DrawLine, WebCore::DisplayList::DrawLinesForText, WebCore::DisplayList::DrawNativeImage, WebCore::DisplayList::DrawPath, WebCore::DisplayList::DrawPattern, WebCore::DisplayList::DrawRect, WebCore::DisplayList::DrawSystemImage, WebCore::DisplayList::EndTransparencyLayer, WebCore::DisplayList::FillCompositedRect, WebCore::DisplayList::FillEllipse, WebCore::DisplayList::FillPathSegment, WebCore::DisplayList::FillPath, WebCore::DisplayList::FillRect, WebCore::DisplayList::FillRectWithColor, WebCore::DisplayList::FillRectWithGradient, WebCore::DisplayList::FillRectWithGradientAndSpaceTransform, WebCore::DisplayList::FillRectWithRoundedHole, WebCore::DisplayList::FillRoundedRect, WebCore::DisplayList::ResetClip, WebCore::DisplayList::Restore, WebCore::DisplayList::Rotate, WebCore::DisplayList::Save, WebCore::DisplayList::Scale, WebCore::DisplayList::SetCTM, WebCore::DisplayList::SetInlineFillColor, WebCore::DisplayList::SetInlineStroke, WebCore::DisplayList::SetLineCap, WebCore::DisplayList::SetLineDash, WebCore::DisplayList::SetLineJoin, WebCore::DisplayList::SetMiterLimit, WebCore::DisplayList::SetState, WebCore::DisplayList::StrokeEllipse, WebCore::DisplayList::StrokeLine, WebCore::DisplayList::StrokePathSegment, WebCore::DisplayList::StrokePath, WebCore::DisplayList::StrokeRect, WebCore::DisplayList::Translate, WebCore::DisplayList::FillLine, WebCore::DisplayList::FillArc, WebCore::DisplayList::FillClosedArc, WebCore::DisplayList::FillQuadCurve, WebCore::DisplayList::FillBezierCurve, WebCore::DisplayList::StrokeArc, WebCore::DisplayList::StrokeClosedArc, WebCore::DisplayList::StrokeQuadCurve, WebCore::DisplayList::StrokeBezierCurve, WebCore::DisplayList::PaintFrameForMedia, WebCore::DisplayList::ApplyFillPattern, WebCore::DisplayList::ApplyStrokePattern>;
#endif
#if ENABLE(VIDEO) && !USE(CG)
using WebCore::DisplayList::Item = std::variant<WebCore::DisplayList::ApplyDeviceScaleFactor, WebCore::DisplayList::BeginTransparencyLayer, WebCore::DisplayList::ClearRect, WebCore::DisplayList::ClearDropShadow, WebCore::DisplayList::Clip, WebCore::DisplayList::ClipRoundedRect, WebCore::DisplayList::ClipOut, WebCore::DisplayList::ClipOutRoundedRect, WebCore::DisplayList::ClipOutToPath, WebCore::DisplayList::ClipPath, WebCore::DisplayList::ClipToImageBuffer, WebCore::DisplayList::ConcatenateCTM, WebCore::DisplayList::DrawControlPart, WebCore::DisplayList::DrawDotsForDocumentMarker, WebCore::DisplayList::DrawEllipse, WebCore::DisplayList::DrawFilteredImageBuffer, WebCore::DisplayList::DrawFocusRingPath, WebCore::DisplayList::DrawFocusRingRects, WebCore::DisplayList::DrawGlyphs, WebCore::DisplayList::DrawDecomposedGlyphs, WebCore::DisplayList::DrawDisplayListItems, WebCore::DisplayList::DrawImageBuffer, WebCore::DisplayList::DrawLine, WebCore::DisplayList::DrawLinesForText, WebCore::DisplayList::DrawNativeImage, WebCore::DisplayList::DrawPath, WebCore::DisplayList::DrawPattern, WebCore::DisplayList::DrawRect, WebCore::DisplayList::DrawSystemImage, WebCore::DisplayList::EndTransparencyLayer, WebCore::DisplayList::FillCompositedRect, WebCore::DisplayList::FillEllipse, WebCore::DisplayList::FillPathSegment, WebCore::DisplayList::FillPath, WebCore::DisplayList::FillRect, WebCore::DisplayList::FillRectWithColor, WebCore::DisplayList::FillRectWithGradient, WebCore::DisplayList::FillRectWithGradientAndSpaceTransform, WebCore::DisplayList::FillRectWithRoundedHole, WebCore::DisplayList::FillRoundedRect, WebCore::DisplayList::ResetClip, WebCore::DisplayList::Restore, WebCore::DisplayList::Rotate, WebCore::DisplayList::Save, WebCore::DisplayList::Scale, WebCore::DisplayList::SetCTM, WebCore::DisplayList::SetInlineFillColor, WebCore::DisplayList::SetInlineStroke, WebCore::DisplayList::SetLineCap, WebCore::DisplayList::SetLineDash, WebCore::DisplayList::SetLineJoin, WebCore::DisplayList::SetMiterLimit, WebCore::DisplayList::SetState, WebCore::DisplayList::StrokeEllipse, WebCore::DisplayList::StrokeLine, WebCore::DisplayList::StrokePathSegment, WebCore::DisplayList::StrokePath, WebCore::DisplayList::StrokeRect, WebCore::DisplayList::Translate, WebCore::DisplayList::PaintFrameForMedia>;
#endif
#if !ENABLE(VIDEO) && !USE(CG)
using WebCore::DisplayList::Item = std::variant<WebCore::DisplayList::ApplyDeviceScaleFactor, WebCore::DisplayList::BeginTransparencyLayer, WebCore::DisplayList::ClearRect, WebCore::DisplayList::ClearDropShadow, WebCore::DisplayList::Clip, WebCore::DisplayList::ClipRoundedRect, WebCore::DisplayList::ClipOut, WebCore::DisplayList::ClipOutRoundedRect, WebCore::DisplayList::ClipOutToPath, WebCore::DisplayList::ClipPath, WebCore::DisplayList::ClipToImageBuffer, WebCore::DisplayList::ConcatenateCTM, WebCore::DisplayList::DrawControlPart, WebCore::DisplayList::DrawDotsForDocumentMarker, WebCore::DisplayList::DrawEllipse, WebCore::DisplayList::DrawFilteredImageBuffer, WebCore::DisplayList::DrawFocusRingPath, WebCore::DisplayList::DrawFocusRingRects, WebCore::DisplayList::DrawGlyphs, WebCore::DisplayList::DrawDecomposedGlyphs, WebCore::DisplayList::DrawDisplayListItems, WebCore::DisplayList::DrawImageBuffer, WebCore::DisplayList::DrawLine, WebCore::DisplayList::DrawLinesForText, WebCore::DisplayList::DrawNativeImage, WebCore::DisplayList::DrawPath, WebCore::DisplayList::DrawPattern, WebCore::DisplayList::DrawRect, WebCore::DisplayList::DrawSystemImage, WebCore::DisplayList::EndTransparencyLayer, WebCore::DisplayList::FillCompositedRect, WebCore::DisplayList::FillEllipse, WebCore::DisplayList::FillPathSegment, WebCore::DisplayList::FillPath, WebCore::DisplayList::FillRect, WebCore::DisplayList::FillRectWithColor, WebCore::DisplayList::FillRectWithGradient, WebCore::DisplayList::FillRectWithGradientAndSpaceTransform, WebCore::DisplayList::FillRectWithRoundedHole, WebCore::DisplayList::FillRoundedRect, WebCore::DisplayList::ResetClip, WebCore::DisplayList::Restore, WebCore::DisplayList::Rotate, WebCore::DisplayList::Save, WebCore::DisplayList::Scale, WebCore::DisplayList::SetCTM, WebCore::DisplayList::SetInlineFillColor, WebCore::DisplayList::SetInlineStroke, WebCore::DisplayList::SetLineCap, WebCore::DisplayList::SetLineDash, WebCore::DisplayList::SetLineJoin, WebCore::DisplayList::SetMiterLimit, WebCore::DisplayList::SetState, WebCore::DisplayList::StrokeEllipse, WebCore::DisplayList::StrokeLine, WebCore::DisplayList::StrokePathSegment, WebCore::DisplayList::StrokePath, WebCore::DisplayList::StrokeRect, WebCore::DisplayList::Translate>;
#endif

#if ENABLE(WEBGL)
header: <WebCore/GraphicsContextGL.h>
#endif
#if PLATFORM(COCOA) && ENABLE(WEBGL)
using WebCore::GraphicsContextGL::EGLImageSource = std::variant<WebCore::GraphicsContextGLEGLImageSourceIOSurfaceHandle, WebCore::GraphicsContextGLEGLImageSourceMTLSharedTextureHandle>
#endif
#if !PLATFORM(COCOA) && ENABLE(WEBGL)
using WebCore::GraphicsContextGL::EGLImageSource = int
#endif

using WebCore::DOMCacheEngine::CacheInfosOrError = Expected<WebCore::DOMCacheEngine::CacheInfos, WebCore::DOMCacheEngine::Error>;

using WebCore::MediaPlayerEnums::VideoFullscreenMode = uint32_t
using WebCore::SVGFilterExpression = Vector<WebCore::SVGFilterExpressionTerm>;
Loading

0 comments on commit 5043f9e

Please sign in to comment.